forked from brmlab/brmbar-github
rework server to use flask, new items
This commit is contained in:
parent
99893f58a0
commit
bd828a71e8
8 changed files with 84 additions and 35 deletions
5
server/templates/admin.html
Normal file
5
server/templates/admin.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Admin{% endblock %}
|
||||
{% block content %}
|
||||
admin
|
||||
{% endblock %}
|
15
server/templates/base.html
Normal file
15
server/templates/base.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>BrmBar: {% block title %}{% endblock %}</title>
|
||||
<link rel="icon" type="image/png" href="/static/favicon.png">
|
||||
</head>
|
||||
<body>
|
||||
<h1><img src="/static/favicon.png" valign="middle" /> BrmBar: {{ self.title() }}</h1>
|
||||
<div id="menu">
|
||||
<a href="/">home</a> | <a href="/stats/">stats</a> | <a href="/log/">log</a> | <a href="/admin/">admin</a>
|
||||
</div>
|
||||
<div id="content">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
5
server/templates/index.html
Normal file
5
server/templates/index.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Welcome{% endblock %}
|
||||
{% block content %}
|
||||
welcome
|
||||
{% endblock %}
|
5
server/templates/log.html
Normal file
5
server/templates/log.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Log{% endblock %}
|
||||
{% block content %}
|
||||
log
|
||||
{% endblock %}
|
5
server/templates/stats.html
Normal file
5
server/templates/stats.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Stats{% endblock %}
|
||||
{% block content %}
|
||||
stats
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue