@@ -5,7 +5,7 @@ app=Flask(__name__) | |||||
@app.route("/") | @app.route("/") | ||||
def home(): | def home(): | ||||
app.route('/') | app.route('/') | ||||
return render_template("home.html") | |||||
return render_template("index.html") | |||||
def home2(name): | def home2(name): | ||||
# app.route('/home2/<name>') | # app.route('/home2/<name>') | ||||
@@ -1,8 +1,12 @@ | |||||
html { | |||||
background: #000; | |||||
} | |||||
body { | body { | ||||
margin: 0; | margin: 0; | ||||
padding: 0; | padding: 0; | ||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||||
color: #060; | |||||
color: #fff; | |||||
} | } | ||||
/* | /* | ||||
@@ -10,7 +14,6 @@ body { | |||||
*/ | */ | ||||
header { | header { | ||||
background-color: #DFB887; | |||||
height: 35px; | height: 35px; | ||||
width: 100%; | width: 100%; | ||||
opacity: .9; | opacity: .9; | ||||
@@ -0,0 +1,14 @@ | |||||
{%extends "layout.html"%} | |||||
{%block content %} | |||||
<div class="home_blurb"> | |||||
<p>lingy.in is a public unix / tilde instance for lainchan users</p> | |||||
<p><b>thread: </b><a href="https://lainchan.org/tech/res/34563.html">https://lainchan.org/tech/res/34563.html</a></p> | |||||
<p>request an account</p> | |||||
<p>users</p> | |||||
<ol> | |||||
<li>gashapwn</li> | |||||
<li>china probably</li> | |||||
</ol> | |||||
</div> | |||||
{%endblock%} |
@@ -3,7 +3,7 @@ | |||||
<title>userreq</title> | <title>userreq</title> | ||||
<link rel="stylesheet" href="{{url_for('static',filename='main.css')}}"> | <link rel="stylesheet" href="{{url_for('static',filename='main.css')}}"> | ||||
</head> | </head> | ||||
<h1>userreq</h1> | |||||
<h1>铃音</h1> | |||||
<body> | <body> | ||||
<div class="container"> | <div class="container"> | ||||
{%block content%} | {%block content%} | ||||