dark theme

This commit is contained in:
Paul Schneider 2021-09-12 20:45:43 +01:00
commit 386eec262d
13 changed files with 7929 additions and 97 deletions

View 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>
}
}
}