Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AKPlanning
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
KIF
AKPlanning
Merge requests
!62
Improve graphical scheduling
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Improve graphical scheduling
improve-graphical-scheduling
into
master
Overview
0
Commits
2
Pipelines
1
Changes
1
Merged
Nadja Geisler
requested to merge
improve-graphical-scheduling
into
master
4 years ago
Overview
0
Commits
2
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Viewing commit
95ee00c2
Prev
Next
Show latest version
1 file
+
5
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
95ee00c2
add background color acc. to category to scheduling interface
· 95ee00c2
Nadja Geisler
authored
4 years ago
AKScheduling/templates/admin/AKScheduling/scheduling.html
+
5
−
2
Options
@@ -175,11 +175,14 @@
<div
class=
"row"
style=
"margin-bottom: 50px;"
>
<div
class=
"col-md-10 col-lg-11"
>
<div
id=
"planCalendar"
></div>
<div
id=
"planCalendar"
></div>
</div>
<div
class=
"col-md-2 col-lg-1"
id=
"unscheduled-slots"
>
{% for slot in slots_unscheduled %}
<div
class=
"unscheduled-slot badge badge-primary"
data-event=
'{ "title": "{{ slot.ak.short_name }}", "duration": {"hours": "{{ slot.duration|unlocalize }}"}, "description": "{{ slot.ak.name }}", "slotID": "{{ slot.pk }}"}'
>
{{ slot.ak.short_name }} ({{ slot.duration }} h)
</div>
<div
class=
"unscheduled-slot badge badge-primary"
style=
'background-color: {{ slot.ak.category.color }}'
data-event=
'{ "title": "{{ slot.ak.short_name }}", "duration": {"hours": "{{ slot.duration|unlocalize }}"}, "description": "{{ slot.ak.name }}", "slotID": "{{ slot.pk }}"}'
>
{{ slot.ak.short_name }}
({{ slot.duration }} h)
</div>
{% endfor %}
</div>
</div>
Loading