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
310b22f1
Commit
310b22f1
authored
Apr 15, 2020
by
Vladislav Rykov
Browse files
config device view changed
parent
5364a515
Changes
3
Hide whitespace changes
Inline
Side-by-side
templates/dev-conf.html
View file @
310b22f1
...
@@ -6,16 +6,19 @@
...
@@ -6,16 +6,19 @@
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<p>
Device name : {{ devname }}
<h2>
Configure Device: {{ devname }}
</h2>
<br><br>
<form
action=
"dev-conf"
method=
"post"
>
<form
action=
"dev-conf"
method=
"post"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label>
Config ID:
</label><br>
<label>
Config ID:
</label><br>
<input
type=
"text"
id=
"confid"
name=
"confid"
><br
>
<input
type=
"text"
class=
"form-control"
id=
"confid"
name=
"confid"
required
></textarea
>
</div>
</div>
<br>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label>
Argument:
</label><br>
<label>
Argument:
</label><br>
<
input
type=
"text"
id=
"arg"
name=
"arg"
><br
>
<
textarea
type=
"text"
class=
"form-control"
id=
"arg"
name=
"arg"
rows=
"2"
reqiured
></textarea
>
</div>
</div>
<br><br>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<button
type=
"submit"
class=
"btn btn-primary"
>
Configure
</button>
<button
type=
"submit"
class=
"btn btn-primary"
>
Configure
</button>
</div>
</div>
...
...
templates/dev.html
View file @
310b22f1
...
@@ -31,7 +31,8 @@
...
@@ -31,7 +31,8 @@
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
<br><br>
<center>
<center>
<a
href=
"/dev-data"
><button
type=
"submit"
class=
"btn btn-primary"
>
Data
</button></a>
<a
href=
"/dev-data"
><button
type=
"submit"
class=
"btn btn-primary"
>
Data
</button></a>
<a
href=
"/dev-conf"
><button
type=
"submit"
class=
"btn btn-primary"
>
Configure
</button></a>
<a
href=
"/dev-conf"
><button
type=
"submit"
class=
"btn btn-primary"
>
Configure
</button></a>
...
...
templates/new-app.html
View file @
310b22f1
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<div
class=
"col-md-6 col-md-offset-3"
>
<h2>
New
a
pplication
</h2>
<h2>
New
A
pplication
</h2>
<br><br>
<br><br>
<form
action=
"app"
method=
"post"
>
<form
action=
"app"
method=
"post"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label>
Name:
</label><br>
<label>
Name:
</label><br>
<input
type=
"text"
class=
"form-control"
id=
"appname"
name=
"appname"
><br>
<input
type=
"text"
class=
"form-control"
id=
"appname"
name=
"appname"
required
><br>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label>
Description:
</label><br>
<label>
Description:
</label><br>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
</div>
</div>
<br>
<br>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<button
type=
"submit"
class=
"btn btn-primary"
>
Create
</button>
<button
type=
"submit"
class=
"btn btn-primary"
>
Create
Application
</button>
</div>
</div>
{% if feedback %}
{% if feedback %}
...
...
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