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
8f44b983
Commit
8f44b983
authored
Apr 15, 2020
by
Vladislav Rykov
Browse files
index changed, css added
parent
8c3e6609
Changes
4
Hide whitespace changes
Inline
Side-by-side
static/custom.css
0 → 100644
View file @
8f44b983
.list-group
{
list-style
:
decimal
inside
;
}
.list-group-item
{
display
:
list-item
;
}
templates/app.html
View file @
8f44b983
...
@@ -27,9 +27,9 @@
...
@@ -27,9 +27,9 @@
{% if devs %}
{% if devs %}
<h3><center>
Devices:
</center></h3>
<h3><center>
Devices:
</center></h3>
<ol
class=
"list-group"
style=
"list-style: decimal inside;"
>
<ol
class=
"list-group"
>
{% for dev in devs %}
{% for dev in devs %}
<a
href=
"/dev?id={{ dev[1] }}"
><li
class=
"list-group-item"
style=
"display:list-item;"
><strong>
{{ dev[0] }}
</strong></li></a>
<a
href=
"/dev?id={{ dev[1] }}"
><li
class=
"list-group-item"
><strong>
{{ dev[0] }}
</strong></li></a>
{% endfor %}
{% endfor %}
</ol>
</ol>
{% else %}
{% else %}
...
...
templates/index.html
View file @
8f44b983
...
@@ -8,12 +8,17 @@
...
@@ -8,12 +8,17 @@
<div
class=
"col-md-6 col-md-offset-3"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<h2>
Welcome, {{session['name']}}!
</h2>
<h2>
Welcome, {{session['name']}}!
</h2>
{% if session['name'] %}
{% if session['name'] %}
<br>
<h4>
Explore your applications or create a new one.
</h4>
<h4>
Explore your applications or create a new one.
</h4>
<ol>
{% if apps %}
<br>
<ol
class=
"list-group"
>
{% for app in apps %}
{% for app in apps %}
<li>
<a
href=
"/app?appkey={{ app[1] }}"
>
{{ app[0] }}
</
a
></li>
<a
href=
"/app?appkey={{ app[1] }}"
>
<li
class=
"list-group-item"
><strong>
{{ app[0] }}
</
strong
></li>
</a>
{% endfor %}
{% endfor %}
</ol>
</ol>
{% endif %}
<br>
<a
href=
"/new-app"
><button
class=
"btn btn-primary"
type=
"submit"
>
New Application
</button></a>
<a
href=
"/new-app"
><button
class=
"btn btn-primary"
type=
"submit"
>
New Application
</button></a>
{% else %}
{% else %}
<p>
Log in, please
</p>
<p>
Log in, please
</p>
...
...
templates/layout.html
View file @
8f44b983
...
@@ -6,6 +6,7 @@
...
@@ -6,6 +6,7 @@
<title>
{% block title %} {% endblock %}
</title>
<title>
{% block title %} {% endblock %}
</title>
<meta
name=
"viewport"
content=
"with-device-width, initial-scale-1"
/>
<meta
name=
"viewport"
content=
"with-device-width, initial-scale-1"
/>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"static/custom.css"
/>
</head>
</head>
<body>
<body>
<nav
class=
"navbar navbar-inverse"
>
<nav
class=
"navbar navbar-inverse"
>
...
...
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