Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stud.IP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Uni Osnabrück
Stud.IP
Commits
4237c4fe
Commit
4237c4fe
authored
9 months ago
by
Moritz Strohm
Browse files
Options
Downloads
Patches
Plain Diff
fix for BIESt 4048, closes #4048
Closes #4048 Merge request
studip/studip!3074
parent
3cecb32f
No related branches found
No related tags found
Loading
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/views/calendar/schedule/_colorpicker.php
+5
-2
5 additions, 2 deletions
app/views/calendar/schedule/_colorpicker.php
resources/assets/stylesheets/less/schedule.less
+2
-5
2 additions, 5 deletions
resources/assets/stylesheets/less/schedule.less
with
7 additions
and
7 deletions
app/views/calendar/schedule/_colorpicker.php
+
5
−
2
View file @
4237c4fe
...
@@ -4,8 +4,11 @@
...
@@ -4,8 +4,11 @@
<?
foreach
(
$GLOBALS
[
'PERS_TERMIN_KAT'
]
as
$index
=>
$data
)
:
?>
<?
foreach
(
$GLOBALS
[
'PERS_TERMIN_KAT'
]
as
$index
=>
$data
)
:
?>
<span>
<span>
<input
type=
"radio"
name=
"entry_color"
value=
"
<?=
$index
?>
"
id=
"color-
<?=
$index
?>
"
<input
type=
"radio"
name=
"entry_color"
value=
"
<?=
$index
?>
"
id=
"color-
<?=
$index
?>
"
<?
if
(
$index
==
$selected
)
echo
'checked'
;
?>
>
<?=
$index
===
$selected
?
'checked'
:
''
?>
>
<label
class=
"undecorated schedule-category
<?=
$index
?>
"
for=
"color-
<?=
$index
?>
"
></label>
<label
class=
"undecorated schedule-category
<?=
$index
?>
enter-accessible"
for=
"color-
<?=
$index
?>
"
aria-label=
"
<?=
sprintf
(
_
(
'Farbe %u zuordnen'
),
$index
)
?>
"
title=
"
<?=
sprintf
(
_
(
'Farbe %u zuordnen'
),
$index
)
?>
"
></label>
</span>
</span>
<?
endforeach
;
?>
<?
endforeach
;
?>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
resources/assets/stylesheets/less/schedule.less
+
2
−
5
View file @
4237c4fe
...
@@ -184,10 +184,6 @@ td.schedule-adminbind {
...
@@ -184,10 +184,6 @@ td.schedule-adminbind {
}
}
#color_picker {
#color_picker {
div {
display: flex;
flex-wrap: wrap;
}
span {
span {
flex: 0 0 auto;
flex: 0 0 auto;
...
@@ -197,7 +193,8 @@ td.schedule-adminbind {
...
@@ -197,7 +193,8 @@ td.schedule-adminbind {
}
}
input[type="radio"] {
input[type="radio"] {
display: none;
position: absolute;
opacity: 0;
&:checked + label {
&:checked + label {
outline: 1px solid @black;
outline: 1px solid @black;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment