Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
medal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
39
Issues
39
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bwinf
medal
Commits
fac0cfce
Commit
fac0cfce
authored
Jul 07, 2020
by
Robert Czechowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Template jwinf: Tweak layout after enhancing mobile friendlyness, change colour of buttons
parent
2180d9e8
Pipeline
#693
passed with stages
in 28 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
templates/jwinf/base.hbs
templates/jwinf/base.hbs
+7
-10
No files found.
templates/jwinf/base.hbs
View file @
fac0cfce
...
...
@@ -19,8 +19,7 @@
<body
style=
"background-color:
{{#if
server_message
}}
#fbebeb
{{else}}
white
{{/if}}
;"
>
<div
class=
"container"
style=
"padding: 1.5rem;"
>
<div
class=
"columns"
>
<div
class=
"column is-two-thirds"
>
<p>
<p>
<div
class=
"column is-7"
>
{{#if
firstlogin
}}
<img
style=
"float:left; margin-right: 10px;"
src=
"/static/images/klein.png"
>
{{else}}
...
...
@@ -31,15 +30,14 @@
<h1
class=
"title"
>
Jugendwettbewerb Informatik
</h1>
<h2
class=
"subtitle"
>
Programmieren – leichter, als du denkst!
</h2>
</div>
<div
class=
"column is-one-third"
>
<div
class=
"column is-5"
>
{{#if
logged_in
}}
{{#if
firstlogin
}}{{else}}
<div
class=
"columns"
style=
"margin-bottom: 0px;"
>
<div
class=
"column is-
three-fifths
"
>
<div
class=
"column is-
8
"
>
Eingeloggt als
<em>
{{
username
}}
</em>
{{#if
firstname
}}{{#if
lastname
}}
(
{{
firstname
}}
{{
lastname
}}
)
{{
firstname
}}
{{
lastname
}}
{{/if}}{{/if}}
{{#if
teacher
}}
[Lehrer]
...
...
@@ -52,10 +50,10 @@
<a
href=
"/profile"
class=
"button is-info is-small"
>
👤
Profil
</a>
{{#if
teacher
}}
<a
href=
"/group/"
class=
"button is-warning is-small"
>
⚙
Gruppenverwaltung
</a>
<a
href=
"/teacher"
class=
"button is-
primary
is-small"
>
👨🏫
Lehrer-Informationen
</a>
<a
href=
"/teacher"
class=
"button is-
success
is-small"
>
👨🏫
Lehrer-Informationen
</a>
{{/if}}
{{#if
admin
}}
<a
href=
"/admin/"
class=
"button is-
warning
is-small"
>
⚙
Administration
</a>
<a
href=
"/admin/"
class=
"button is-
primary
is-small"
>
⚙
Administration
</a>
{{/if}}
</div>
</div>
...
...
@@ -69,7 +67,7 @@
</form -->
<form
action=
"/clogin"
method=
"post"
autocomplete=
"off"
class=
"columns blogin"
>
<!-- <div class=> -->
<div
class=
"column is-
three-fifths
"
><input
class=
"input is-small"
type=
"text"
name=
"code"
placeholder=
"Gruppencode oder Logincode"
autofocus
></div>
<div
class=
"column is-
8
"
><input
class=
"input is-small"
type=
"text"
name=
"code"
placeholder=
"Gruppencode oder Logincode"
autofocus
></div>
<div
class=
"column"
><input
class=
"button is-small is-success"
type=
"submit"
value=
"↪ Login"
style=
"font-weight:bold;"
></div>
<!-- </div> -->
</form>
...
...
@@ -101,7 +99,6 @@
{{~>
page
}}
</div>
<div
style=
"margin-bottom:50px;"
>
</div>
<footer
class=
"footer"
>
<div
class=
"content has-text-centered"
>
<p>
...
...
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