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
80043c2f
Commit
80043c2f
authored
Apr 06, 2020
by
Robert Czechowski
Browse files
Add templates for admin pages
parent
117bd957
Changes
8
Hide whitespace changes
Inline
Side-by-side
templates/default/admin.hbs
0 → 100644
View file @
80043c2f
<h1>
Suche
</h1>
<p>
Suche beachtet Groß-/Kleinschreibung. Das Prozentzeichen % ist ein Wildcart in der Namenssuche. Die Suche gibt nur bis zu 30 Ergebnisse aus, auch wenn es mehr gibt!
</p>
<p>
<form
action=
"/admin/user/"
method=
"post"
>
ID:
<br>
<input
type=
"text"
name=
"id"
>
<br><br>
<input
type=
"submit"
value=
"search"
>
</form>
</p>
<p>
<form
action=
"/admin/user/"
method=
"post"
>
Vorname:
<br>
<input
type=
"text"
name=
"firstname"
>
<br>
Nachname:
<br>
<input
type=
"text"
name=
"lastname"
autofocus
>
<br><br>
<input
type=
"submit"
value=
"search"
>
</form>
</p>
<p>
<form
action=
"/admin/user/"
method=
"post"
>
Logincode:
<br>
<input
type=
"text"
name=
"logincode"
>
<br><br>
<input
type=
"submit"
value=
"search"
>
</form>
</p>
<p>
<form
action=
"/admin/user/"
method=
"post"
>
PMS-ID:
<br>
<input
type=
"text"
name=
"pmsid"
>
<br><br>
<input
type=
"submit"
value=
"search"
>
</form>
</p>
templates/default/admin_group.hbs
0 → 100644
View file @
80043c2f
<h1>
Gruppe:
{{
group
.
name
}}
</h1>
<p><a
href=
"/admin/user/
{{
group_admin_id
}}
"
>
Gruppen-Administrator:
{{
group_admin_id
}}
</a></p>
<p>
Gruppencode:
{{
group
.
code
}}
<br>
Marker:
{{
group
.
tag
}}
</p>
<h2>
Mitglieder
</h2>
<table>
<tr>
<th>
Name
</th>
<th>
Logincode
</th>
<th>
Jahrgangstufe
</th>
</tr>
{{#
each
member
}}
<tr>
<td><a
href=
"/admin/user/
{{
id
}}
"
>
{{
firstname
}}
{{
lastname
}}
</a></td>
<td>
{{
logincode
}}
</td>
<td>
{{
grade
}}
</td>
</tr>
{{/
each
}}
</table>
templates/default/admin_search_results.hbs
0 → 100644
View file @
80043c2f
<h1>
Ergebnisse
</h1>
<ul>
{{#
each
result
}}
<li><a
href=
"
{{
this
.
0
}}
"
>
(
{{
this
.
0
}}
)
{{
this
.
1
}}
{{
this
.
2
}}
</li>
{{/
each
}}
</ul>
templates/default/admin_user.hbs
0 → 100644
View file @
80043c2f
<h1>
Benutzer:
{{
firstname
}}
{{
lastname
}}
</h1>
Benutzername:
{{
username
}}
<br>
{{#if
teacher
}}
Ist Lehrer
<br>
{{/if}}
{{#if
logged_id
}}
Ist eingeloggt
<br>
{{/if}}
<h2>
Gruppen
</h2>
{{#if
group
}}
<h3>
Admin von
</h3>
<ul>
{{#
each
group
}}
<li><a
href=
"/admin/group/
{{
id
}}
"
>
{{
name
}}
</a>
,
{{
code
}}
,
{{
tag
}}
</li>
{{/
each
}}
</ul>
{{/if}}
{{#if
group_id
}}
<h3>
Mitglied von
</h3>
<ul>
<li><a
href=
"/admin/group/
{{
group_id
}}
"
>
{{
group_name
}}
</a></li>
</ul>
{{/if}}
templates/jwinf/admin.hbs
0 → 120000
View file @
80043c2f
../default/admin.hbs
\ No newline at end of file
templates/jwinf/admin_group.hbs
0 → 120000
View file @
80043c2f
../default/admin_group.hbs
\ No newline at end of file
templates/jwinf/admin_search_results.hbs
0 → 120000
View file @
80043c2f
../default/admin_search_results.hbs
\ No newline at end of file
templates/jwinf/admin_user.hbs
0 → 120000
View file @
80043c2f
../default/admin_user.hbs
\ No newline at end of file
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