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
Raw Normal View History

2020-11-11 22:49:55 +00:00
#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):
2020-11-12 21:23:25 +00:00
#if(!service["private"] == "true"):
#inline("card")
#else:
#if(loggedIn):
#inline("card")
2020-11-11 22:49:55 +00:00
#endif
2020-11-12 21:23:25 +00:00
#endif
2020-11-11 22:49:55 +00:00
#endfor
</div>
#endfor
</div>
#enddefine
#inline("base")