Browse Source

home page with place holder text

tags/release-00
gashapwn 3 years ago
parent
commit
a60b5267a7
4 changed files with 21 additions and 4 deletions
  1. +1
    -1
      app.py
  2. +5
    -2
      static/main.css
  3. +14
    -0
      templates/index.html
  4. +1
    -1
      templates/layout.html

+ 1
- 1
app.py View File

@@ -5,7 +5,7 @@ app=Flask(__name__)
@app.route("/")
def home():
app.route('/')
return render_template("home.html")
return render_template("index.html")

def home2(name):
# app.route('/home2/<name>')


+ 5
- 2
static/main.css View File

@@ -1,8 +1,12 @@
html {
background: #000;
}

body {
margin: 0;
padding: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #060;
color: #fff;
}

/*
@@ -10,7 +14,6 @@ body {
*/

header {
background-color: #DFB887;
height: 35px;
width: 100%;
opacity: .9;


+ 14
- 0
templates/index.html View File

@@ -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%}

+ 1
- 1
templates/layout.html View File

@@ -3,7 +3,7 @@
<title>userreq</title>
<link rel="stylesheet" href="{{url_for('static',filename='main.css')}}">
</head>
<h1>userreq</h1>
<h1>铃音</h1>
<body>
<div class="container">
{%block content%}


Loading…
Cancel
Save