This repository has been archived on 2021-03-29. You can view files and clone it, but cannot push or open issues or pull requests.
statusboard/Resources/Views/home.leaf

22 lines
701 B
Plaintext

#let(homeStatus = "active")
#let(pageTitle = "Home")
#define(body):
<div class="container">
<div class="page-header"><h1 class="page-title">Status</h1></div>
#for((node,services) in config.services):
<h6>#(node)</h6>
<div class="row row-cards row-deck">
#for(service in services):
#if(!service["private"] == "true"):
#inline("card")
#else:
#if(loggedIn):
#inline("card")
#endif
#endif
#endfor
</div>
#endfor
</div>
#enddefine
#inline("base")