Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladislav Rykov
THSO.server
Commits
345294e8
Commit
345294e8
authored
Apr 15, 2020
by
Vladislav Rykov
Browse files
index view changed
parent
36a35323
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/index.html
View file @
345294e8
...
...
@@ -6,8 +6,8 @@
<div
class=
"row"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<h2>
Welcome, {{session['name']}}!
</h2>
{% if session['name'] %}
<h2>
Welcome, {{session['name']}}!
</h2>
<br>
<h4>
Explore your applications or create a new one.
</h4>
{% if apps %}
...
...
@@ -21,7 +21,9 @@
<br>
<a
href=
"/new-app"
><button
class=
"btn btn-primary"
type=
"submit"
>
New Application
</button></a>
{% else %}
<p>
Log in, please
</p>
<h2>
Log in, please
</h2>
<br>
<a
href=
"/login"
><button
class=
"btn btn-primary btn-lg"
>
Login
</button></a>
{% endif %}
{% if feedback %}
<p
class=
"text-danger float-right"
>
{{ feedback }}
</p>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment