Change names to make more sense
This commit is contained in:
parent
c4e3a70a85
commit
b8e148357f
4 changed files with 6 additions and 6 deletions
|
@ -14,16 +14,16 @@ app = Flask(__name__)
|
|||
|
||||
@app.route('/')
|
||||
def home():
|
||||
return render_template('index.j2', instanceName="nyxask.nixos.internal", instanceBranding=instanceBranding)
|
||||
return render_template('index.j2', instanceLocation=instanceLocation, instanceBranding=instanceBranding)
|
||||
|
||||
|
||||
@app.route('/auth/login/')
|
||||
def login():
|
||||
return render_template('login.j2', instanceName="nyxask.nixos.internal", instanceBranding=instanceBranding)
|
||||
return render_template('login.j2', instanceLocation=instanceLocation, instanceBranding=instanceBranding)
|
||||
|
||||
@app.route('/auth/register/')
|
||||
def register():
|
||||
return render_template('register.j2', instanceName="nyxask.nixos.internal", instanceBranding=instanceBranding)
|
||||
return render_template('register.j2', instanceLocation=instanceLocation, instanceBranding=instanceBranding)
|
||||
|
||||
@app.route('/assets/css/index.css')
|
||||
def index_css():
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
{{ header_home() }}
|
||||
<div style="text-align:center">
|
||||
<h1>
|
||||
Hi from {{ instanceName }}'s Nyxask!
|
||||
Hi from {{ instanceLocation }}'s Nyxask!
|
||||
</h1>
|
||||
<label for="name">Name (optional):</label>
|
||||
<input
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
{{ header_login() }}
|
||||
<div style="text-align:center">
|
||||
<h1>
|
||||
Login to {{ instanceName }}'s Nyxask!
|
||||
Login to {{ instanceLocation }}'s Nyxask!
|
||||
</h1>
|
||||
<label for="name">Username: </label>
|
||||
<input
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
{{ header_login() }}
|
||||
<div style="text-align:center">
|
||||
<h1>
|
||||
Register at {{ instanceBranding }}
|
||||
Register at {{ instanceLocation }}
|
||||
</h1>
|
||||
<label>
|
||||
<input
|
||||
|
|
Loading…
Add table
Reference in a new issue