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
Martin Mareš
Postal Owl
Commits
5f6c83af
Commit
5f6c83af
authored
Sep 29, 2021
by
Martin Mareš
Browse files
A common footer on all pages, including login
parent
47ed65e3
Changes
4
Hide whitespace changes
Inline
Side-by-side
static/owl.css
View file @
5f6c83af
...
...
@@ -68,6 +68,14 @@ h1 {
margin-bottom
:
3ex
;
}
/* Footer */
footer
{
margin-top
:
4ex
;
border-top
:
1px
solid
black
;
padding-top
:
0.5ex
;
}
/* Flashing messages */
.flash
{
...
...
templates/base.html
View file @
5f6c83af
...
...
@@ -3,7 +3,7 @@
<head>
<title>
The Postal Owl
</title>
<link
rel=
"icon"
type=
"image/png"
href=
'{{ url_for('
static
',
filename=
'favicon.png'
)
}}'
>
<link
rel=
stylesheet
href=
"{{ url_for('static', filename='owl.css') }}?v=1
4
"
type=
'text/css'
media=
all
>
<link
rel=
stylesheet
href=
"{{ url_for('static', filename='owl.css') }}?v=1
5
"
type=
'text/css'
media=
all
>
{% if need_js %}
<link
rel=
"stylesheet"
href=
'{{ url_for('
static
',
filename=
'github.css'
)
}}'
>
<link
rel=
"stylesheet"
href=
'{{ url_for('
static
',
filename=
'katex.min.css'
)
}}'
>
...
...
@@ -38,5 +38,9 @@
{% endif %}
{% endwith %}
{% block body %}{% endblock %}
<footer>
<p>
The Owl is maintained by
<a
href=
'https://mj.ucw.cz/'
>
Martin Mareš
</a>
.
Send all suggestions, bug reports, and requests for new courses to
<a
href=
'mailto:mj@ucw.cz'
>
mj@ucw.cz
</a>
.
</footer>
</body>
</html>
templates/login.html
View file @
5f6c83af
...
...
@@ -17,7 +17,4 @@
Login by access key: {{ form.key(size=64) }}
<input
type=
submit
value=
'Go!'
>
</form>
<p>
If you have problems with logging in, please clear your cookies and tell Martin Mareš
if it helped.
{% endblock %}
templates/main.html
View file @
5f6c83af
...
...
@@ -41,7 +41,4 @@
<tr><td>
2021-03-08
<td>
We now support grading of solutions by other students.
<tr><td>
2021-02-19
<td>
The Owl has a
<a
href=
'{{ url_for('
manual
')
}}'
>
manual
</a>
.
</table>
<p>
The Owl was written by
<a
href=
'https://mj.ucw.cz/'
>
Martin Mareš
</a>
.
Send all suggestions and bug reports to
<a
href=
'mailto:mj@ucw.cz'
>
mj@ucw.cz
</a>
.
{% endblock %}
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