Release 0.9.0
This commit is contained in:
1
bot/modules/webserver/templates/frontpage/footer.html
Normal file
1
bot/modules/webserver/templates/frontpage/footer.html
Normal file
@@ -0,0 +1 @@
|
||||
<p>© this page was created in 2019 by <a href="http://chrani.net/">ecv</a> for the <a href="https://notjustfor.me/chrani-bot">chrani-bot</a> webinterface</p>
|
||||
14
bot/modules/webserver/templates/frontpage/header.html
Normal file
14
bot/modules/webserver/templates/frontpage/header.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<div id="header_widgets">
|
||||
<div id="login_logout_widget" class="widget">
|
||||
<div>
|
||||
{% if current_user.is_authenticated %}
|
||||
<a href="/logout" title="{{ current_user.id }}">log out</a>
|
||||
{%- else %}
|
||||
<a href="/login">log in</a>
|
||||
{%- endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hgroup>
|
||||
<h1>{{ title }}</h1>
|
||||
</hgroup>
|
||||
36
bot/modules/webserver/templates/frontpage/index.html
Normal file
36
bot/modules/webserver/templates/frontpage/index.html
Normal file
@@ -0,0 +1,36 @@
|
||||
{%- set not_configured_message = "You should not see this on a configured bot" -%}
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
<link rel="stylesheet" type="text/css" href="/static/reset.css" />
|
||||
<link rel="shortcut icon" href="/static/favicon.ico">
|
||||
<link rel="stylesheet" type="text/css" href="/static/style.css" />
|
||||
<link rel="stylesheet" type="text/css" href="/static/lcars/000-style.css" />
|
||||
<title>{{ title }}</title>
|
||||
<script src="/static/jquery-3.4.1.min.js"></script>
|
||||
{% if current_user.is_authenticated == True %}
|
||||
<script src="https://cdn.socket.io/4.5.4/socket.io.min.js"></script>
|
||||
<script src="/static/system.js"></script>
|
||||
{% endif %}
|
||||
{%- if head -%}{{ head }}{%- endif -%}
|
||||
</head>
|
||||
<body{%- if instance_token %} data-instance-identifier="{{ instance_token }}"{% endif %}>
|
||||
<header>
|
||||
<div>
|
||||
{{ header }}
|
||||
</div>
|
||||
</header>
|
||||
<main>
|
||||
<div>
|
||||
{{ main }}
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
<div>
|
||||
{{ footer }}
|
||||
</div>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user