small design fixes, profile table styles
This commit is contained in:
parent
58d135103f
commit
01054b1725
@ -275,6 +275,11 @@ a.btn.btn-info:hover,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* SCROLLTABLE */
|
||||||
|
.scrolltable {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
/* TABLE DESIGN */
|
/* TABLE DESIGN */
|
||||||
.table__row {
|
.table__row {
|
||||||
|
|
||||||
@ -330,3 +335,20 @@ a.btn.btn-info:hover,
|
|||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.table--vertical {
|
||||||
|
|
||||||
|
th {
|
||||||
|
background-color: transparent;
|
||||||
|
color: var(--color-font);
|
||||||
|
width: 170px;
|
||||||
|
text-align: right;
|
||||||
|
padding-right: 15px;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
font-weight: 600;
|
||||||
|
color: var(--color-font);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -1,76 +1,77 @@
|
|||||||
<div .profile>
|
<div .profile>
|
||||||
|
|
||||||
<table .table.table--striped.table--hover>
|
<div .scrolltable>
|
||||||
<tr.table__row>
|
<table .table.table--striped.table--hover.table--vertical>
|
||||||
<th> _{MsgName}
|
|
||||||
<td> #{display userDisplayName}
|
|
||||||
<tr.table__row>
|
|
||||||
<th> _{MsgMatrikelNr}
|
|
||||||
<td> #{display userMatrikelnummer}
|
|
||||||
<tr.table__row>
|
|
||||||
<th> _{MsgEMail}
|
|
||||||
<td> #{display userEmail}
|
|
||||||
<tr.table__row>
|
|
||||||
<th> _{MsgIdent}
|
|
||||||
<td> #{display userIdent}
|
|
||||||
<tr.table__row>
|
|
||||||
<th> _{MsgPlugin}
|
|
||||||
<td> #{display userPlugin}
|
|
||||||
$if not $ null admin_rights
|
|
||||||
<tr.table__row>
|
<tr.table__row>
|
||||||
<th> Administrator
|
<th> _{MsgName}
|
||||||
<td>
|
<td> #{display userDisplayName}
|
||||||
<ul>
|
|
||||||
$forall institute <- admin_rights
|
|
||||||
<li>#{display institute}
|
|
||||||
$if not $ null lecturer_rights
|
|
||||||
<tr.table__row>
|
<tr.table__row>
|
||||||
<th> Lehrberechtigt
|
<th> _{MsgMatrikelNr}
|
||||||
<td>
|
<td> #{display userMatrikelnummer}
|
||||||
<ul>
|
|
||||||
$forall institute <- lecturer_rights
|
|
||||||
<li>#{display institute}
|
|
||||||
$if not $ null lecture_owner
|
|
||||||
<tr.table__row>
|
<tr.table__row>
|
||||||
<th> Eigene Kurse
|
<th> _{MsgEMail}
|
||||||
<td>
|
<td> #{display userEmail}
|
||||||
<ul>
|
|
||||||
$forall (E.Value csh, E.Value tid) <- lecture_owner
|
|
||||||
<li>
|
|
||||||
<a href=@{CourseR tid csh CShowR}>#{display tid} - #{csh}
|
|
||||||
$if not $ null lecture_corrector
|
|
||||||
<tr.table__row>
|
<tr.table__row>
|
||||||
<th> Korrektor
|
<th> _{MsgIdent}
|
||||||
<td>
|
<td> #{display userIdent}
|
||||||
<ul>
|
|
||||||
$forall (E.Value csh, E.Value tid) <- lecture_corrector
|
|
||||||
<li>
|
|
||||||
<a href=@{CourseR tid csh CShowR}>#{display tid} - #{csh}
|
|
||||||
$if not $ null studies
|
|
||||||
<tr.table__row>
|
<tr.table__row>
|
||||||
<th> Studiengänge
|
<th> _{MsgPlugin}
|
||||||
<td>
|
<td> #{display userPlugin}
|
||||||
<table .table .table-striped .table-hover>
|
$if not $ null admin_rights
|
||||||
<tr.table__row>
|
<tr.table__row>
|
||||||
<th> Abschluss
|
<th> Administrator
|
||||||
<th> Studiengang
|
<td>
|
||||||
<th> Studienart
|
<ul>
|
||||||
<th> Semester
|
$forall institute <- admin_rights
|
||||||
|
<li>#{display institute}
|
||||||
$forall (degree,field,fieldtype,semester) <- studies
|
$if not $ null lecturer_rights
|
||||||
|
<tr.table__row>
|
||||||
|
<th> Lehrberechtigt
|
||||||
|
<td>
|
||||||
|
<ul>
|
||||||
|
$forall institute <- lecturer_rights
|
||||||
|
<li>#{display institute}
|
||||||
|
$if not $ null lecture_owner
|
||||||
|
<tr.table__row>
|
||||||
|
<th> Eigene Kurse
|
||||||
|
<td>
|
||||||
|
<ul>
|
||||||
|
$forall (E.Value csh, E.Value tid) <- lecture_owner
|
||||||
|
<li>
|
||||||
|
<a href=@{CourseR tid csh CShowR}>#{display tid} - #{csh}
|
||||||
|
$if not $ null lecture_corrector
|
||||||
|
<tr.table__row>
|
||||||
|
<th> Korrektor
|
||||||
|
<td>
|
||||||
|
<ul>
|
||||||
|
$forall (E.Value csh, E.Value tid) <- lecture_corrector
|
||||||
|
<li>
|
||||||
|
<a href=@{CourseR tid csh CShowR}>#{display tid} - #{csh}
|
||||||
|
$if not $ null studies
|
||||||
|
<tr.table__row>
|
||||||
|
<th> Studiengänge
|
||||||
|
<td>
|
||||||
|
<table .table .table-striped .table-hover>
|
||||||
<tr.table__row>
|
<tr.table__row>
|
||||||
<td> #{display degree}
|
<th> Abschluss
|
||||||
<td> #{display field}
|
<th> Studiengang
|
||||||
<td> #{display fieldtype}
|
<th> Studienart
|
||||||
<td> #{display semester}
|
<th> Semester
|
||||||
$if not $ null participant
|
|
||||||
<tr.table__row>
|
$forall (degree,field,fieldtype,semester) <- studies
|
||||||
<th> Teilnehmer
|
<tr.table__row>
|
||||||
<td>
|
<td> #{display degree}
|
||||||
<ul>
|
<td> #{display field}
|
||||||
$forall (E.Value csh, E.Value tid, regSince) <- participant
|
<td> #{display fieldtype}
|
||||||
<li>
|
<td> #{display semester}
|
||||||
<a href=@{CourseR tid csh CShowR}>#{display tid} - #{csh}
|
$if not $ null participant
|
||||||
seit #{display regSince}
|
<tr.table__row>
|
||||||
|
<th> Teilnehmer
|
||||||
|
<td>
|
||||||
|
<ul>
|
||||||
|
$forall (E.Value csh, E.Value tid, regSince) <- participant
|
||||||
|
<li>
|
||||||
|
<a href=@{CourseR tid csh CShowR}>#{display tid} - #{csh}
|
||||||
|
seit #{display regSince}
|
||||||
|
|
||||||
^{settingsForm}
|
^{settingsForm}
|
||||||
|
|||||||
@ -244,7 +244,7 @@ input[type="checkbox"]:checked::after {
|
|||||||
.file-input__label {
|
.file-input__label {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background-color: var(--color-light);
|
background-color: var(--color-primary);
|
||||||
color: white;
|
color: white;
|
||||||
padding: 10px 17px;
|
padding: 10px 17px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
|||||||
@ -37,8 +37,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SCROLLTABLE */
|
|
||||||
.scrolltable {
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user