dark theme
This commit is contained in:
parent
45d6c22d1e
commit
386eec262d
13 changed files with 7929 additions and 97 deletions
17
src/isnd/Views/Home/Features.cshtml
Normal file
17
src/isnd/Views/Home/Features.cshtml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
@model HomeIndexViewModel
|
||||
@{
|
||||
foreach (string leashed in new string[] { "pkg-push", "pkg-get",
|
||||
"pkg-autocomplete","pkg-search","pkg-catalog"})
|
||||
{
|
||||
if (Model.UnleashClient.IsEnabled(leashed))
|
||||
{
|
||||
//do some magic
|
||||
<p>@leashed</p>
|
||||
}
|
||||
else
|
||||
{
|
||||
//do old boring stuff
|
||||
<p>No @leashed (disabled)</p>
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue