Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Video AG Infrastruktur
website
Commits
66c8b8a9
Commit
66c8b8a9
authored
Oct 16, 2016
by
Andreas Valder
Browse files
made all buttons look the same. closes
#157
parent
068f8f22
Changes
3
Hide whitespace changes
Inline
Side-by-side
templates/base.html
View file @
66c8b8a9
...
...
@@ -86,7 +86,7 @@
{
html
:
true
,
title
:
'
Login für Moderatoren
'
,
content
:
'
<form method="post" action="{{url_for(
'
login
'
, ref=request.values.get(
'
ref
'
, request.url))}}"><input autofocus placeholder="User" name="user" type="text"
><br
><input placeholder="Password" name="password" type="password"><br><input type="submit" value="Login"></form>
'
content
:
'
<form method="post" action="{{url_for(
'
login
'
, ref=request.values.get(
'
ref
'
, request.url))}}"><input autofocus placeholder="User" name="user" type="text"
class="form-control"
><input placeholder="Password" name="password" type="password"
class="form-control"
><br><input type="submit" value="Login"
class="btn btn-default"
></form>
'
}
)
</script>
...
...
templates/lecture.html
View file @
66c8b8a9
...
...
@@ -93,7 +93,7 @@ $(function() {
var
m
=
zeropad
(
Math
.
trunc
((
timestamp
%
3600
)
/
60
),
2
);
var
s
=
zeropad
(
Math
.
trunc
(
timestamp
%
60
),
2
);
var
timeasstring
=
h
+
'
:
'
+
m
+
'
:
'
+
s
;
return
'
<form method="post" data-url="{{ url_for(
'
suggest_chapter
'
, lectureid=lecture.id) }}" onSubmit="return hintchapterclick(this);"><input placeholder="00:00.000" name="time" type="text" value="
'
+
timeasstring
+
'
"><br><input placeholder="Kapitel" name="text" type="texz"><br><input type="submit" value="Vorschlagen"></form>
'
;
return
'
<form method="post" data-url="{{ url_for(
'
suggest_chapter
'
, lectureid=lecture.id) }}" onSubmit="return hintchapterclick(this);"><input
class="form-control"
placeholder="00:00.000" name="time" type="text" value="
'
+
timeasstring
+
'
"><br><input
class="form-control"
placeholder="Kapitel" name="text" type="texz"><br><input type="submit"
class="btn btn-default"
value="Vorschlagen"></form>
'
;
}
})
...
...
templates/login.html
View file @
66c8b8a9
...
...
@@ -4,14 +4,14 @@
<div
class=
"panel-heading"
>
<h1
class=
"panel-title"
>
Login für Moderatoren
</h1>
</div>
<div
class=
"panel-body"
>
<div
class=
"panel-body
input-group
"
>
<form
method=
"post"
action=
"login"
>
<input
placeholder=
"User"
name=
"user"
type=
"text"
><br>
<input
placeholder=
"Password"
name=
"password"
type=
"password"
><br>
<input
class=
"form-control"
placeholder=
"User"
name=
"user"
type=
"text"
><br>
<input
class=
"form-control"
placeholder=
"Password"
name=
"password"
type=
"password"
><br>
{% if 'ref' in request.values %}
<input
type=
"hidden"
name=
"ref"
value=
"{{ request.values.ref|e }}"
>
{% endif %}
<input
type=
"submit"
value=
"Login"
>
<input
class=
"btn btn-default"
type=
"submit"
value=
"Login"
>
</form>
</div>
</div>
...
...
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