my-apps.html
HTML document, ASCII text
1{% extends "default.html" %} 2{% block title %}My Apps | Echo Tracker{% endblock %} 3{% set active = "my" %} 4{% block content %} 5<main> 6<h1>My Apps</h1> 7{% if session.get("username") %} 8<a class="button" style="width:100%; margin: 1em 0;" tabindex="0" href="/new-app"> 9<iconify-icon icon="mdi:plus"></iconify-icon> 10Create an app 11</a> 12{% endif %} 13<!-- 14<div class="app-card"> 15<h2>Application Name</h2> 16<p class="app-info app-info-ok"> 17Operational 18</p> 19<div class="app-uptime"> 20<div class="uptime-bar uptime-bar-ok"></div> 21<div class="uptime-bar uptime-bar-down"></div> 22<div class="uptime-bar uptime-bar-broken"></div> 23<div class="uptime-bar uptime-bar-broken"></div> 24<div class="uptime-bar uptime-bar-ok"></div> 25<div class="uptime-bar uptime-bar-ok"></div> 26<div class="uptime-bar uptime-bar-ok"></div> 27<div class="uptime-bar uptime-bar-broken"></div> 28<div class="uptime-bar uptime-bar-broken"></div> 29<div class="uptime-bar uptime-bar-broken"></div> 30<div class="uptime-bar uptime-bar-ok"></div> 31<div class="uptime-bar uptime-bar-ok"></div> 32<div class="uptime-bar uptime-bar-ok"></div> 33<div class="uptime-bar uptime-bar-ok"></div> 34<div class="uptime-bar uptime-bar-ok"></div> 35<div class="uptime-bar uptime-bar-ok"></div> 36<div class="uptime-bar uptime-bar-ok"></div> 37<div class="uptime-bar uptime-bar-ok"></div> 38<div class="uptime-bar uptime-bar-down"></div> 39<div class="uptime-bar uptime-bar-down"></div> 40<div class="uptime-bar uptime-bar-ok"></div> 41<div class="uptime-bar uptime-bar-ok"></div> 42<div class="uptime-bar uptime-bar-ok"></div> 43<div class="uptime-bar uptime-bar-ok"></div> 44</div> 45</div> 46--> 47{% for app in apps %} 48<a href="/app/{{ app.id }}" class="quiet-link"> 49<div class="app-card"> 50<h2>{{ app.name }}</h2> 51</div> 52</a> 53{% endfor %} 54</main> 55{% endblock %}