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
319f061c
Commit
319f061c
authored
Jul 02, 2019
by
Robert Czechowski
Browse files
Update jwinf template for test contest
parent
7b69274d
Pipeline
#143
passed with stages
in 15 minutes and 29 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tasks/jwinf
2
/wrapper.html
→
tasks/jwinf/wrapper.html
View file @
319f061c
File moved
templates/default/task.hbs
View file @
319f061c
...
...
@@ -51,11 +51,13 @@ font-size:10pt;
#bar
>
#hamburger
,
#bar
>
#menu
,
#bar
>
#time
{
background
:
#608a00
;
font-weight
:
bold
;
padding-left
:
20px
;
padding-right
:
20px
;
}
#bar
>
div
.highlight
{
background
:
#f4f9e8
;
color
:
black
;
color
:
#334900
;
}
iframe
{
...
...
@@ -63,7 +65,7 @@ width: 100vw;border: 0px;height: calc(100vh - 45px);
}
a
{
color
:
#
ddd
;
color
:
#
eee
;
text-decoration
:
none
;
}
</style>
...
...
templates/jwinf/contest.hbs
View file @
319f061c
...
...
@@ -5,6 +5,13 @@
<title>
Jugendwettbewerb Informatik: Programmieren – einfacher als du denkst!
</title>
<link
rel=
"stylesheet"
href=
"/static/lib/bulma/bulma-0.7.5.css"
>
<link
rel=
"icon"
href=
"/static/images/favicon.png"
type=
"image/png"
>
<style>
ul
{
list-style-type
:
none
;
font-size
:
x-large
;
margin-left
:
20px
;
}
</style>
</head>
<body
style=
"background-color: white;"
>
<div
class=
"container"
>
...
...
@@ -69,12 +76,15 @@
</p>
{{#
each
contest
.
tasks
}}
<
p
style=
"margin: 10px;"
>
<
div
style=
"margin: 10px;"
>
{{
name
}}
:
{{#
each
subtasks
}}
<li><a
href=
"/task/
{{
id
}}
"
>
{{
linktext
}}
</a></li>
{{/
each
}}
</p>
<ul>
{{#
each
subtasks
}}
<li><a
href=
"/task/
{{
id
}}
"
>
{{
linktext
}}
</a></li>
{{/
each
}}
</ul>
</div>
{{/
each
}}
{{else}}
...
...
templates/jwinf/index.hbs
View file @
319f061c
...
...
@@ -89,7 +89,7 @@
</a>
</div>
<div
class=
"column is-4 is-offset-0"
>
<a
href=
"/contest/
2
"
>
<a
href=
"/contest/
3
"
>
<div
class=
"notification"
style=
"background-color:#e5f0f8"
>
<h3
class=
"title is-4"
>
Jugendwettbewerb Informatik
</h3>
<h4
class=
"subtitle is-5"
>
Probewettbewerb
</h4>
...
...
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