mirror of
https://github.com/caronc/apprise-api.git
synced 2024-12-14 10:50:49 +01:00
97 lines
4.1 KiB
HTML
97 lines
4.1 KiB
HTML
{% 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-->
|
|
<link rel="stylesheet" href="{% get_static_prefix %}css/{{request.theme|safe}}/materialize.min.css" />
|
|
<!--material-design-icons-->
|
|
<link rel="stylesheet" href="{% static 'iconfont/material-icons.css' %}">
|
|
<!--common-->
|
|
<link rel="stylesheet" href="{% static 'css/base.css' %}" />
|
|
<!--highlightjs-->
|
|
<link rel="stylesheet" href="{% get_static_prefix %}css/{{request.theme|safe}}/highlight.min.css">
|
|
<link rel="shortcut icon" type="image/png" href="{% static 'favicon.ico' %}" />
|
|
<!--materialize-->
|
|
<script src="{% static 'js/materialize.min.js' %}"></script>
|
|
<!--sweetalert2-->
|
|
<script src="{% static 'js/sweetalert2.all.min.js' %}"></script>
|
|
<!--highlightjs-->
|
|
<script src="{% static 'js/highlight.pack.js' %}"></script>
|
|
<title>{% block title %}{% trans "Apprise API" %}{% endblock %}</title>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="content">
|
|
<!-- Title -->
|
|
<div class="nav row nav-color z-depth-2">
|
|
<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>
|
|
<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>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- Page Layout here -->
|
|
<div class="row">
|
|
|
|
<div class="col s3" style="width:20em">
|
|
{% if STATEFUL_MODE != 'disabled' %}
|
|
<ul class="collection z-depth-1">
|
|
<a class="collection-item" href="{% url 'config' DEFAULT_CONFIG_ID %}"><i class="material-icons">settings</i>
|
|
{% trans "Configuration Manager" %}</a>
|
|
<a class="collection-item" href="{% url 'config' UNIQUE_CONFIG_ID %}"><i class="material-icons">refresh</i>
|
|
{% trans "New Configuration" %}</a>
|
|
</ul>
|
|
{% endif %}
|
|
<ul class="collection z-depth-1">
|
|
<a class="collection-item" href="{% url 'details' %}"><i class="material-icons">settings</i>
|
|
{% trans "Apprise Details" %}</a>
|
|
<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
|
|
class="material-icons">local_library</i> {% trans "Configuration Help" %}</a>
|
|
<a class="collection-item" target="_blank" href="https://github.com/caronc/apprise/wiki/Troubleshooting"><i
|
|
class="material-icons">build</i> {% trans "Troubleshooting" %}</a>
|
|
<a class="collection-item" target="_blank" href="https://github.com/caronc/apprise/wiki/CLI_Usage"><i
|
|
class="material-icons">lightbulb_outline</i> {% trans "Using the CLI" %}</a>
|
|
</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
|
|
class="material-icons" style="color: maroon;">free_breakfast</i> <strong>{% trans "Buy Developer A Coffee" %}</strong></a>
|
|
<a class="collection-item" target="_blank" href="https://github.com/sponsors/caronc"><i
|
|
class="material-icons" style="color: red;">favorite</i> <strong>{% trans "Sponsor Apprise Development" %}</strong></a>
|
|
</ul>
|
|
{% block menu %}{% endblock %}
|
|
</div>
|
|
|
|
<div class="col s9">
|
|
{% block body %}{% endblock %}
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', function () {
|
|
// Materialize Init
|
|
M.AutoInit();
|
|
// highlightjs
|
|
hljs.initHighlightingOnLoad();
|
|
{% block onload %} {% endblock %}
|
|
});
|
|
{% block jsfooter %} {% endblock %}
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|