1
0
mirror of https://github.com/fHDHR/fHDHR_NextPVR.git synced 2025-12-06 06:26:57 -05:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Deathbybandaid
051fb87add
Merge pull request #129 from deathbybandaid/dev
Move API Notifications
2021-01-12 16:24:44 -05:00
deathbybandaid
796a5e9eec Move API Notifications 2021-01-12 16:21:32 -05:00

View File

@ -8,11 +8,16 @@
</head> </head>
<body> <body>
<h1 style="text-align: center;"> <h1 class="center" style="text-align:center">
<span style="text-decoration: underline;"><strong><em>{{ fhdhr.config.dict["fhdhr"]["friendlyname"] }}</em></strong> <span style="text-decoration: underline;"><strong><em>{{ fhdhr.config.dict["fhdhr"]["friendlyname"] }}</em></strong>
</span> </span>
<img class="pull-left" src="/favicon.ico" alt="fHDHR Logo" width="100" height="100"> <img class="pull-left" src="/favicon.ico" alt="fHDHR Logo" width="100" height="100">
</h1> </h1>
{% set retmessage = request.args.get('retmessage', default=None) %}
{% if retmessage %}
<p></p>
<p class="pull-left" style="font-size:1em">{{ retmessage }}</p>
{% endif %}
<br><br> <br><br>
<p></p> <p></p>
@ -51,9 +56,8 @@
<a><input type="submit" value="Basic"></a> <a><input type="submit" value="Basic"></a>
{% endif %} {% endif %}
</form> </form>
</div>
<hr align="center" width="100%"> <hr align="center" width="100%">
</div>
{% if fhdhr.config.dict["web_ui"]["cluster_bar"] %} {% if fhdhr.config.dict["web_ui"]["cluster_bar"] %}
{% set locations = fhdhr.device.cluster.get_cluster_dicts_web() %} {% set locations = fhdhr.device.cluster.get_cluster_dicts_web() %}
@ -62,16 +66,11 @@
{% for location in locations %} {% for location in locations %}
<button onclick="location.href='{{ location["base_url"] }}'" type="button">{{ location["name"] }}</button> <button onclick="location.href='{{ location["base_url"] }}'" type="button">{{ location["name"] }}</button>
{% endfor %} {% endfor %}
</div>
<hr align="center" width="100%"> <hr align="center" width="100%">
</div>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% set retmessage = request.args.get('retmessage', default=None) %}
{% if retmessage %}
<p>{{ retmessage }}</p>
{% endif %}
{% block content %}{% endblock %} {% block content %}{% endblock %}
</body> </body>
</html> </html>