apprise-api/apprise_api/api/templates/base.html

97 lines
4.1 KiB
HTML
Raw Normal View History

2019-10-27 04:53:40 +01:00
{% load static %}
{% load i18n %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!--materialize-->
2023-09-03 01:14:08 +02:00
<link rel="stylesheet" href="{% get_static_prefix %}css/{{request.theme|safe}}/materialize.min.css" />
<!--material-design-icons-->
2019-10-27 04:53:40 +01:00
<link rel="stylesheet" href="{% static 'iconfont/material-icons.css' %}">
<!--common-->
2019-10-28 00:41:02 +01:00
<link rel="stylesheet" href="{% static 'css/base.css' %}" />
2023-09-03 01:14:08 +02:00
<!--highlightjs-->
<link rel="stylesheet" href="{% get_static_prefix %}css/{{request.theme|safe}}/highlight.min.css">
2019-10-27 04:53:40 +01:00
<link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico' %}" />
<!--materialize-->
2019-10-27 04:53:40 +01:00
<script src="{% static 'js/materialize.min.js' %}"></script>
<!--sweetalert2-->
2020-01-12 01:15:51 +01:00
<script src="{% static 'js/sweetalert2.all.min.js' %}"></script>
<!--highlightjs-->
<script src="{% static 'js/highlight.pack.js' %}"></script>
2019-10-27 04:53:40 +01:00
<title>{% block title %}{% trans "Apprise API" %}{% endblock %}</title>
</head>
<body>
<div class="content">
2019-10-28 00:41:02 +01:00
<!-- Title -->
2023-09-03 01:14:08 +02:00
<div class="nav row nav-color z-depth-2">
2019-10-28 00:41:02 +01:00
<div class="col s12">
<a href="{% url 'welcome' %}">
<img class="left" src="{% static "logo.png" %}" alt="{% trans "Apprise Logo" %}" />
</a>
<h1>{% trans "Apprise API" %}</h1>
2023-09-03 01:14:08 +02:00
<ul>
<li>APPRISE v{{APPRISE_VERSION}}</li>
<li class="theme"><a href="{{ request.path }}?theme={{request.next_theme}}"><i class="material-icons">invert_colors</i></a></li>
2023-09-03 01:14:08 +02:00
</ul>
2019-10-28 00:41:02 +01:00
</div>
2019-10-27 04:53:40 +01:00
</div>
2019-10-28 00:41:02 +01:00
<!-- Page Layout here -->
<div class="row">
2019-10-27 04:53:40 +01:00
2023-05-15 23:10:15 +02:00
<div class="col s3" style="width:20em">
{% if STATEFUL_MODE != 'disabled' %}
2019-10-28 00:41:02 +01:00
<ul class="collection z-depth-1">
<a class="collection-item" href="{% url 'config' DEFAULT_CONFIG_ID %}"><i class="material-icons">settings</i>
2019-10-28 00:41:02 +01:00
{% trans "Configuration Manager" %}</a>
<a class="collection-item" href="{% url 'config' UNIQUE_CONFIG_ID %}"><i class="material-icons">refresh</i>
{% trans "New Configuration" %}</a>
2019-10-28 00:41:02 +01:00
</ul>
{% endif %}
2019-10-28 00:41:02 +01:00
<ul class="collection z-depth-1">
2023-09-03 01:14:08 +02:00
<a class="collection-item" href="{% url 'details' %}"><i class="material-icons">settings</i>
{% trans "Apprise Details" %}</a>
2019-10-28 00:41:02 +01:00
<a class="collection-item" target="_blank"
href="https://github.com/caronc/apprise/wiki#notification-services">📣
{% trans "Notification Services" %}</a>
<a class="collection-item" target="_blank" href="https://github.com/caronc/apprise/wiki/config"><i
2023-09-03 01:14:08 +02:00
class="material-icons">local_library</i> {% trans "Configuration Help" %}</a>
2019-10-28 00:41:02 +01:00
<a class="collection-item" target="_blank" href="https://github.com/caronc/apprise/wiki/Troubleshooting"><i
2023-09-03 01:14:08 +02:00
class="material-icons">build</i> {% trans "Troubleshooting" %}</a>
2019-10-28 00:41:02 +01:00
<a class="collection-item" target="_blank" href="https://github.com/caronc/apprise/wiki/CLI_Usage"><i
2023-09-03 01:14:08 +02:00
class="material-icons">lightbulb_outline</i> {% trans "Using the CLI" %}</a>
2019-10-28 00:41:02 +01:00
</ul>
<ul class="collection z-depth-1">
<a class="collection-item" target="_blank"
href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=MHANV39UZNQ5E"><i
2023-09-03 01:14:08 +02:00
class="material-icons" style="color: maroon;">free_breakfast</i> <strong>{% trans "Buy Developer A Coffee" %}</strong></a>
2019-10-28 00:41:02 +01:00
<a class="collection-item" target="_blank" href="https://github.com/sponsors/caronc"><i
2023-09-03 01:14:08 +02:00
class="material-icons" style="color: red;">favorite</i> <strong>{% trans "Sponsor Apprise Development" %}</strong></a>
2019-10-28 00:41:02 +01:00
</ul>
{% block menu %}{% endblock %}
</div>
2019-10-27 04:53:40 +01:00
2019-10-28 00:41:02 +01:00
<div class="col s9">
{% block body %}{% endblock %}
</div>
2019-10-27 04:53:40 +01:00
2019-10-28 00:41:02 +01:00
</div>
2019-10-27 04:53:40 +01:00
</div>
2019-10-28 00:41:02 +01:00
<script>
document.addEventListener('DOMContentLoaded', function () {
// Materialize Init
2019-10-28 00:41:02 +01:00
M.AutoInit();
// highlightjs
hljs.initHighlightingOnLoad();
2019-10-28 00:41:02 +01:00
{% block onload %} {% endblock %}
});
{% block jsfooter %} {% endblock %}
</script>
2019-10-27 04:53:40 +01:00
</body>
2019-10-28 00:41:02 +01:00
</html>