feat(info-lecturer): add inline newU2W icons
This commit is contained in:
parent
cb1e3a604b
commit
5a49febf9c
@ -1,7 +1,6 @@
|
||||
.tooltip {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
height: 1.5rem;
|
||||
vertical-align: -0.375rem;
|
||||
|
||||
&:hover .tooltip__content {
|
||||
@ -12,7 +11,6 @@
|
||||
.tooltip__handle {
|
||||
color: var(--color-light);
|
||||
height: 1.5rem;
|
||||
width: 1.5rem;
|
||||
line-height: 1.5rem;
|
||||
font-size: 1.2rem;
|
||||
display: inline-block;
|
||||
@ -56,6 +54,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip.tooltip__inline {
|
||||
vertical-align: middle;
|
||||
|
||||
.tooltip__handle {
|
||||
height: 1.0rem;
|
||||
line-height: 1.0rem;
|
||||
font-size: 1.0rem;
|
||||
}
|
||||
}
|
||||
|
||||
.tooltip__content {
|
||||
position: absolute;
|
||||
display: none;
|
||||
|
||||
@ -1796,6 +1796,7 @@ ExamClosedSince time@Text: Klausur abgeschlossen seit #{time}
|
||||
LecturerInfoTooltipNew: Neues Feature
|
||||
LecturerInfoTooltipProblem: Feature mit bekannten Problemen
|
||||
LecturerInfoTooltipPlanned: Geplantes Feature
|
||||
LecturerInfoTooltipNewU2W: Unterschied zu UniWorX
|
||||
|
||||
BtnAcceptApplications: Bewerbungen akzeptieren
|
||||
BtnAcceptApplicationsTip: Mit dem untigen Knopf können Sie den Kurs (höchstens bis zur angegeben Maximalkapazität, falls eingestellt) mit Bewerbern auffüllen. Die Bewertungen der Bewerbungen werden dabei berücksichtigt (Unbewertet wird behandelt wie eine Note zwischen 2.3 und 2.7). Bewerber mit Veto oder 5.0 werden nicht angemeldet.
|
||||
|
||||
@ -48,11 +48,13 @@ getInfoLecturerR =
|
||||
setTitleI MsgInfoLecturerTitle
|
||||
$(i18nWidgetFile "info-lecturer")
|
||||
where
|
||||
tooltipNew, tooltipPlanned :: WidgetFor UniWorX ()
|
||||
tooltipNew, tooltipPlanned, tooltipNewU2W :: WidgetFor UniWorX ()
|
||||
tooltipNew = toWidget [whamlet| _{MsgLecturerInfoTooltipNew} |]
|
||||
-- tooltipProblem = toWidget [whamlet| _{MsgLecturerInfoTooltipProblem} |]
|
||||
tooltipPlanned = toWidget [whamlet| _{MsgLecturerInfoTooltipPlanned} |]
|
||||
newFeat, plannedFeat :: WidgetFor UniWorX ()
|
||||
tooltipNewU2W = toWidget [whamlet| _{MsgLecturerInfoTooltipNewU2W} |]
|
||||
newFeat, plannedFeat, newU2WFeat :: WidgetFor UniWorX ()
|
||||
newFeat = toWidget [whamlet| ^{iconTooltip tooltipNew (Just IconNew)} |]
|
||||
-- probFeat = toWidget [whamlet| ^{iconTooltip tooltipProblem (Just IconProblem)} |]
|
||||
plannedFeat = toWidget [whamlet| ^{iconTooltip tooltipPlanned (Just IconPlanned)} |]
|
||||
newU2WFeat = toWidget [whamlet| ^{iconTooltip tooltipNewU2W (Just IconAnnounce)} |]
|
||||
|
||||
@ -40,6 +40,7 @@ data Icon
|
||||
| IconEnrolTrue
|
||||
| IconEnrolFalse
|
||||
| IconPlanned
|
||||
| IconAnnounce
|
||||
| IconExam
|
||||
| IconExamRegisterTrue
|
||||
| IconExamRegisterFalse
|
||||
@ -77,6 +78,7 @@ iconText = \case
|
||||
IconEnrolTrue -> "user-plus"
|
||||
IconEnrolFalse -> "user-slash"
|
||||
IconPlanned -> "cog"
|
||||
IconAnnounce -> "bullhorn"
|
||||
IconExam -> "poll-h"
|
||||
IconExamRegisterTrue -> "calendar-check"
|
||||
IconExamRegisterFalse -> "calendar-times"
|
||||
|
||||
@ -28,10 +28,10 @@ $newline text
|
||||
Die Kursbeschreibung kann in Html verfasst werden und
|
||||
<em>sollte die Modulbeschreibung enthalten!
|
||||
|
||||
<dt .deflist__dt> ^{newFeat} Unterstützung für verschiedene Institute
|
||||
<dt .deflist__dt> Unterstützung für verschiedene Institute
|
||||
<dd .deflist__dd>
|
||||
<p>
|
||||
Uni2work unterstüzt die Verwaltung von mehreren Instituten, d.h.
|
||||
^{newU2WFeat} Uni2work unterstüzt die Verwaltung von mehreren Instituten, d.h.
|
||||
Kursnamen wie "[MATH]" für Kurse des mathematischen Instituts werden ab sofort nicht mehr benötigt.
|
||||
Stattdessen gibt es nun Instituts-Filter für Kurslisten.
|
||||
<p>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
$newline never
|
||||
|
||||
<div .tooltip>
|
||||
<div .tooltip__handle .#{urgency} .fa-fw>
|
||||
<div .tooltip__handle .#{urgency}>
|
||||
<i .fas .fa-^{ic}>
|
||||
<div .tooltip__content>
|
||||
^{tooltip}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user