Compare commits
No commits in common. "a54b0a4b53a36c2376708c9c24f662efdd4e96ce" and "d91eaf17d7761bf7017f10f8dbf483e3d2e26f0e" have entirely different histories.
a54b0a4b53
...
d91eaf17d7
4
app.py
4
app.py
@ -214,10 +214,6 @@ def signup():
|
||||
def get_site_name():
|
||||
return {"site_name": conf_obj["site_name"]}
|
||||
|
||||
@app.context_processor
|
||||
def get_admin_email():
|
||||
return {"admin_email": conf_obj["admin_email"]}
|
||||
|
||||
def check_pwd_for_conf():
|
||||
pwd_file_list = list(map(
|
||||
lambda path : path.split("/")[-1],
|
||||
|
@ -1,6 +1,5 @@
|
||||
{
|
||||
"site_name": "tildezero.xyz",
|
||||
"admin_email": "admin@example.com",
|
||||
"listen_ip": "127.0.0.1",
|
||||
"shell": {
|
||||
"SHELL_BASH": "/usr/local/bin/bash",
|
||||
|
@ -17,6 +17,6 @@
|
||||
|
||||
{% if page_name == "home" %}
|
||||
<div style="min-height: 300px;"></div>
|
||||
<footer>admin: <a href="email:{{ admin_email }}">{{ admin_email }}</a></footer>
|
||||
<footer>admin: <a href="email:gashapwn@protonmail.com">gashapwn@protonmail.com</a></footer>
|
||||
{% endif %}
|
||||
</html>
|
||||
|
@ -1,4 +1,4 @@
|
||||
{%extends "main_layout.html"%}
|
||||
{%extends "layout.html"%}
|
||||
|
||||
{%block content%}
|
||||
<h3>submission successful</h3>
|
||||
@ -14,7 +14,8 @@ this page will be updated with your username once approved
|
||||
</p>
|
||||
{% endif %}
|
||||
<p>
|
||||
if you have questions, email {{ admin_email }}
|
||||
if you have questions, email gashapwn@protonmail.com
|
||||
or DM gashapwn on IRC at irc.lainchan.org
|
||||
<p>
|
||||
|
||||
{%endblock%}
|
||||
|
Loading…
Reference in New Issue
Block a user