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
4040f3f9
Commit
4040f3f9
authored
Apr 16, 2020
by
Vladislav Rykov
Browse files
views validation added
parent
3609c6ca
Changes
5
Hide whitespace changes
Inline
Side-by-side
templates/add-dev.html
View file @
4040f3f9
...
...
@@ -11,16 +11,16 @@
<form
action=
"dev"
method=
"post"
>
<div
class=
"form-group"
>
<label>
Name:
</label><br>
<input
type=
"text"
class=
"form-control"
id=
"devname"
name=
"devname"
required
><br>
<input
type=
"text"
class=
"form-control"
id=
"devname"
maxlength=
"30"
name=
"devname"
required
><br>
</div>
<div
class=
"form-group"
>
<label>
Description:
</label><br>
<textarea
id=
"devdesc"
class=
"form-control"
name=
"devdesc"
cols=
"40"
rows=
"5"
></textarea>
<textarea
id=
"devdesc"
class=
"form-control"
name=
"devdesc"
maxlength=
"200"
cols=
"40"
rows=
"5"
></textarea>
</div>
<br>
<div
class=
"form-group"
>
<label>
dev_id: {{ free_ids }}
</label><br>
<input
type=
"
text
"
class=
"form-control"
id=
"devid"
name=
"devid"
required
><br>
<input
type=
"
number"
size=
"3"
min=
"1"
max=
"255
"
class=
"form-control"
id=
"devid"
name=
"devid"
required
><br>
</div>
<br>
<div
class=
"form-group"
>
...
...
templates/dev-conf.html
View file @
4040f3f9
...
...
@@ -11,12 +11,12 @@
<form
action=
"dev-conf"
method=
"post"
>
<div
class=
"form-group"
>
<label>
Config ID:
</label><br>
<input
type=
"
text
"
class=
"form-control"
id=
"confid"
name=
"confid"
required
></textarea>
<input
type=
"
number"
size=
"3"
min=
"0"
max=
"255
"
class=
"form-control"
id=
"confid"
name=
"confid"
required
></textarea>
</div>
<br>
<div
class=
"form-group"
>
<label>
Argument:
</label><br>
<textarea
type=
"text"
class=
"form-control"
id=
"arg"
name=
"arg"
rows=
"2"
reqiured
></textarea>
<textarea
type=
"text"
maxlength=
"50"
class=
"form-control"
id=
"arg"
name=
"arg"
rows=
"2"
reqiured
></textarea>
</div>
<br><br>
<div
class=
"form-group"
>
...
...
templates/login.html
View file @
4040f3f9
...
...
@@ -13,7 +13,7 @@
<label>
Username:
</label><br>
<div
class=
"input-group"
>
<div
class=
"input-group-addon"
>
@
</div>
<input
type=
"text"
class=
"form-control"
id=
"username"
name=
"username"
required
>
<input
type=
"text"
maxlength=
"30"
class=
"form-control"
id=
"username"
name=
"username"
required
>
</div>
</div>
<br>
...
...
templates/new-app.html
View file @
4040f3f9
...
...
@@ -11,11 +11,11 @@
<form
action=
"app"
method=
"post"
>
<div
class=
"form-group"
>
<label>
Name:
</label><br>
<input
type=
"text"
class=
"form-control"
id=
"appname"
name=
"appname"
required
><br>
<input
type=
"text"
maxlength=
"30"
class=
"form-control"
id=
"appname"
name=
"appname"
required
><br>
</div>
<div
class=
"form-group"
>
<label>
Description:
</label><br>
<textarea
id=
"appdesc"
class=
"form-control"
name=
"appdesc"
rows=
"5"
></textarea>
<textarea
id=
"appdesc"
maxlength=
"200"
class=
"form-control"
name=
"appdesc"
rows=
"5"
></textarea>
</div>
<br>
<div
class=
"form-group"
>
...
...
templates/signup.html
View file @
4040f3f9
...
...
@@ -13,7 +13,7 @@
<label>
Username:
</label><br>
<div
class=
"input-group"
>
<div
class=
"input-group-addon"
>
@
</div>
<input
type=
"text"
class=
"form-control"
id=
"username"
name=
"username"
required
><br>
<input
type=
"text"
maxlength=
"30"
class=
"form-control"
id=
"username"
name=
"username"
required
><br>
</div>
</div>
<br>
...
...
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