Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bwinf
medal
Commits
8c301bb5
Commit
8c301bb5
authored
Feb 19, 2019
by
Robert Czechowski
Committed by
Robert Czechowski
Apr 09, 2019
Browse files
Task display: Nicer looking links
parent
8badb477
Pipeline
#78
failed with stage
in 1 minute and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
templates/task.hbs
View file @
8c301bb5
...
...
@@ -25,7 +25,7 @@ display:block;
padding
:
0px
;
}
#bar
>
#
nav
{
#bar
>
.
nav
{
float
:
right
;
}
#bar
>
#time
{
...
...
@@ -61,13 +61,18 @@ color:black;
iframe
{
width
:
100vw
;
border
:
0px
;
height
:
calc
(
100vh
-
45px
);
}
a
{
color
:
#ddd
;
text-decoration
:
none
;
}
</style>
</head><body
style=
""
>
<div
id=
"bar"
>
<div
id=
"menu"
>
☰
<a
href=
"/contest/
{{
contestid
}}
"
>
{{
contestname
}}
JwInf 2018
</a>
<a
href=
"/contest/
{{
contestid
}}
"
>
{{
contestname
}}
JwInf 2018
</a>
</div>
<div>
{{
name
}}
...
...
@@ -117,14 +122,14 @@ Verbleibende Zeit
</script>
</div>
<div
id
=
"nav"
>
<div
class
=
"nav"
>
<a
href=
"/contest/
{{
contestid
}}
"
>
🡅 Übersicht
</a>
</div>
<div
id
=
"nav"
>
🡆
<div
class
=
"nav"
>
<a
href=
"7"
>
🡆
</a>
</div>
<div
id
=
"nav"
>
🡄
<div
class
=
"nav"
>
<a
href=
"9"
>
🡄
</a>
</div>
<script>
...
...
@@ -152,16 +157,18 @@ var fullscreen = false;
function
toggleFullscreen
(
element
)
{
if
(
fullscreen
)
{
exitFullscreen
();
fullscreen
=
false
;
}
fullscreen
=
false
;
document
.
getElementById
(
"
tgfs
"
).
innerText
=
"
⇱
"
;
}
else
{
enterFullscreen
(
element
);
fullscreen
=
true
;
document
.
getElementById
(
"
tgfs
"
).
innerText
=
"
⇲
"
;
}
}
</script>
<div
id
=
"nav"
onclick=
"toggleFullscreen(document.documentElement);"
>
⇱
Vollbild
<div
class
=
"nav"
onclick=
"toggleFullscreen(document.documentElement);"
>
<a
href=
"javascript:;"
><span
id=
"tgfs"
>
⇱
</span>
Vollbild
</a>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
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