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
b5f9b93d
Commit
b5f9b93d
authored
Apr 23, 2020
by
Vladislav Rykov
Browse files
back arrow navigation added
parent
ba8a0b63
Changes
8
Show whitespace changes
Inline
Side-by-side
app/app/__pycache__/views.cpython-35.pyc
View file @
b5f9b93d
No preview for this file type
app/app/static/css/custom.css
View file @
b5f9b93d
...
...
@@ -5,3 +5,41 @@
.list-group-item
{
display
:
list-item
;
}
.clickback
{
position
:
relative
;
/*width: 100;*/
/*height: 100;*/
background
:
#eee
;
color
:
#000
;
/*padding: 30px;*/
opacity
:
.1
}
.clickback
:hover
{
cursor
:
hand
;
cursor
:
pointer
;
opacity
:
.6
;
}
.backlink
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
top
:
0
;
left
:
0
;
text-decoration
:
none
;
/* Makes sure the link doesn't get underlined */
z-index
:
10
;
/* raises anchor tag above everything else in div */
background-color
:
white
;
/*workaround to make clickable in IE */
opacity
:
0
;
/*workaround to make clickable in IE */
filter
:
alpha
(
opacity
=
0
);
/*workaround to make clickable in IE */
}
.glyphicon.glyphicon-arrow-left
{
font-size
:
50px
;
}
app/app/templates/public/add-dev.html
View file @
b5f9b93d
...
...
@@ -5,7 +5,13 @@
{% block content %}
<div
class=
"row"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<div
class=
"col-md-3"
>
<div
class=
"clickback"
>
<span
class=
"glyphicon glyphicon-arrow-left"
></span>
<p><a
class=
"backlink"
onclick=
"history.back(-1)"
></a></p>
</div>
</div>
<div
class=
"col-md-6"
>
<h2>
Add New Device
</h2>
<br><br>
<form
action=
"dev"
method=
"post"
>
...
...
app/app/templates/public/app.html
View file @
b5f9b93d
...
...
@@ -5,7 +5,14 @@
{% block content %}
<div
class=
"row"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<div
class=
"col-md-3"
>
<div
class=
"clickback"
>
<span
class=
"glyphicon glyphicon-arrow-left"
></span>
<p><a
class=
"backlink"
onclick=
"history.back(-1)"
></a></p>
</div>
</div>
<div
class=
"col-md-6"
>
<div
class=
"panel panel-primary"
>
<div
class=
"panel-heading"
>
<h2><center>
{{ app[0] }}
</center></h2>
...
...
app/app/templates/public/dev-conf.html
View file @
b5f9b93d
...
...
@@ -5,7 +5,13 @@
{% block content %}
<div
class=
"row"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<div
class=
"col-md-3"
>
<div
class=
"clickback"
>
<span
class=
"glyphicon glyphicon-arrow-left"
></span>
<p><a
class=
"backlink"
onclick=
"history.back(-1)"
></a></p>
</div>
</div>
<div
class=
"col-md-6"
>
<h2>
Configure Device: {{ devname }}
</h2>
<br><br>
<form
action=
"dev-conf"
method=
"post"
>
...
...
app/app/templates/public/dev-data.html
View file @
b5f9b93d
...
...
@@ -5,7 +5,13 @@
{% block content %}
<div
class=
"row"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<div
class=
"col-md-3"
>
<div
class=
"clickback"
>
<span
class=
"glyphicon glyphicon-arrow-left"
></span>
<p><a
class=
"backlink"
onclick=
"history.back(-1)"
></a></p>
</div>
</div>
<div
class=
"col-md-6"
>
<div
class=
"panel panel-success"
>
<div
class=
"panel-heading"
>
<h2><center>
{{ devname }} data
</center></h2>
...
...
app/app/templates/public/dev.html
View file @
b5f9b93d
...
...
@@ -5,7 +5,13 @@
{% block content %}
<div
class=
"row"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<div
class=
"col-md-3"
>
<div
class=
"clickback"
>
<span
class=
"glyphicon glyphicon-arrow-left"
></span>
<p><a
class=
"backlink"
onclick=
"history.back(-1)"
></a></p>
</div>
</div>
<div
class=
"col-md-6"
>
<div
class=
"panel panel-info"
>
<div
class=
"panel-heading"
>
<center><h2>
{{ dev[0] }}
</h2></center>
...
...
app/app/templates/public/new-app.html
View file @
b5f9b93d
...
...
@@ -5,7 +5,13 @@
{% block content %}
<div
class=
"row"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<div
class=
"col-md-3"
>
<div
class=
"clickback"
>
<span
class=
"glyphicon glyphicon-arrow-left"
></span>
<p><a
class=
"backlink"
onclick=
"history.back(-1)"
></a></p>
</div>
</div>
<div
class=
"col-md-6"
>
<h2>
New Application
</h2>
<br><br>
<form
action=
"app"
method=
"post"
>
...
...
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