Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ulakbus
ulakbus-ui
Commits
e2729f45
Commit
e2729f45
authored
Jul 27, 2016
by
Vladimir Baranov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rref #5385. Style timetable
parent
f8b1665a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
166 additions
and
49 deletions
+166
-49
app.css
app/app.css
+149
-42
timetable.html
app/components/crud/templates/timetable.html
+17
-7
No files found.
app/app.css
View file @
e2729f45
...
...
@@ -2584,15 +2584,58 @@ table.dataTable thead .sorting:after {
/* COURSE PROGRAM SCHEDULER */
.course-prg-scheduler
.tab-content
{
padding
:
25px
0
;
}
.course-prg-scheduler
.nav-tabs
{
.course-prg-scheduler
{
margin
:
15px
!important
;
margin-left
:
0
!important
;
}
.course-prg-scheduler
.panel-body
{
height
:
550px
;
}
.course-prg-scheduler
.tabs-container
{
overflow-y
:
auto
;
height
:
100%
;
}
.course-prg-scheduler
.tabs-left
{
margin-right
:
10px
;
border-right
:
1px
solid
#dddddf
;
padding
:
20px
0
20px
10px
!important
;
min-height
:
550px
;
}
.course-prg-scheduler
ul
.tabs-left
li
{
border-radius
:
5px
0
0
5px
;
border
:
1px
solid
#fff
;
border-right-color
:
#dddddf
;
position
:
relative
;
right
:
-1px
;
}
.course-prg-scheduler
ul
.tabs-left
li
.active
,
.course-prg-scheduler
ul
.tabs-left
li
:hover
{
border
:
1px
solid
#dddddf
;
border-right-color
:
#fff
;
}
.course-prg-scheduler
.tab-content
{
padding
:
25px
10px
25px
40px
;
}
.course-prg-scheduler
ul
.tabs-left
li
.active
a
{
color
:
#bc1e2d
;
}
.course-prg-scheduler
ul
.tabs-left
li
a
:hover
{
background
:
none
;
cursor
:
pointer
;
}
.course-prg-scheduler
.tab-content
.info-header
{
margin-bottom
:
30px
;
}
.course-prg-scheduler
.tab-content
.info-header
.info-wrapper
{
float
:
left
;
margin-right
:
45px
;
...
...
@@ -2602,8 +2645,20 @@ table.dataTable thead .sorting:after {
font-family
:
'robotobold'
;
font-size
:
17px
;
color
:
#444
;
margin-left
:
10px
;
}
.course-prg-scheduler
.tab-content
.info-wrapper.info-wrapper_hours
{
padding-top
:
11px
;
font-size
:
17px
;
color
:
#444
;
}
.course-prg-scheduler
.tab-content
.info-wrapper.info-wrapper_hours
.info-title
{
font-family
:
'robotobold'
;
}
.course-prg-scheduler
.tab-content
.info-header
.info-wrapper
.btn
{
margin-top
:
8px
;
}
...
...
@@ -2617,75 +2672,127 @@ table.dataTable thead .sorting:after {
.course-prg-scheduler
.tab-content
.table-warning
{
background-color
:
#dedede
;
padding
:
15px
;
padding
:
1
0px
1
5px
;
border-radius
:
2px
;
font-size
:
15px
;
font-
family
:
'robotomedium'
;
color
:
#
8e8e8e
;
font-
weight
:
normal
;
color
:
#
444
;
display
:
inline-block
;
margin
:
15px
auto
;
margin
:
0
auto
15px
auto
;
}
.course-prg-scheduler
.tab-content
.table-warning
.icon
{
color
:
#8e8e8e
;
font-size
:
20px
;
float
:
left
;
margin-right
:
10px
;
}
.course-prg-scheduler
.tab-content
table
tr
.headers
td
{
font-family
:
'robotobold'
;
background-color
:
#f9f9f9
;
font-size
:
16px
;
}
.course-prg-scheduler
.tab-content
table
tr
td
:first-child
{
font-size
:
11px
;
font-family
:
'robotobold'
;
width
:
180px
;
background-color
:
#f9f9f9
;
.course-prg-scheduler
.tab-content
table
,
.course-prg-scheduler
.tab-content
th
,
.course-prg-scheduler
.tab-content
td
{
border
:
1px
solid
black
;
}
.course-prg-scheduler
.tab-content
table
tbody
{
border
:
1px
solid
#d6d6d6
;
.course-prg-scheduler
.tab-content
table
tr
td
:first-child
{
font-size
:
14px
;
/*font-family:'robotobold';*/
width
:
180px
;
/*background-color:#f9f9f9;*/
}
.course-prg-scheduler
.tab-content
table
td
{
width
:
100px
;
height
:
5
0px
;
height
:
7
0px
;
text-align
:
center
;
}
.course-prg-scheduler
.tab-content
table
td
.btn
{
height
:
49px
;
margin-top
:
-7px
;
border-radius
:
0
;
.course-prg-scheduler
.loader
{
margin-top
:
25px
;
}
.course-prg-scheduler
.tab-content
table
td
.btn
:hover
{
background-color
:
transparent
;
.course-prg-scheduler
ul
.legend
{
margin-top
:
15px
;
}
.course-prg-scheduler
.tab-content
table
td
.btn
:focus
{
outline
:
none
!important
;
background-color
:
#fff
;
.course-prg-scheduler
ul
.legend
li
{
border
:
none
;
display
:
inline-block
;
padding
:
15px
10px
;
}
.course-prg-scheduler
.tab-content
table
td
.filter-option
{
text-align
:
center
!important
;
.course-prg-scheduler
ul
.legend
li
.action-indicator
{
margin-right
:
5px
;
}
.course-prg-scheduler
.tab-content
table
td
.bootstrap-select
ul
.dropdown-menu
li
a
{
padding
:
10px
;
.course-prg-scheduler
.action-indicator
{
border
:
10px
solid
#eee
;
border-radius
:
10px
;
display
:
inline-block
;
height
:
10px
;
width
:
10px
;
vertical-align
:
middle
;
}
.course-prg-scheduler
.
tab-content
table
td
.bootstrap-select
ul
.dropdown-menu
li
a
:focus
{
outline
:
non
e
;
.course-prg-scheduler
.
action-indicator.action-indicator_appropriate
{
border-color
:
#8ac73
e
;
}
.course-prg-scheduler
.panel-body
.nav-tabs
li
.active
a
{
border-bottom-color
:
#ddd
;
border-top-color
:
#ddd
;
border-left-color
:
#ddd
;
border-right-color
:
transparent
;
background-color
:
#fff
;
.course-prg-scheduler
.action-indicator.action-indicator_busy
{
border-color
:
#ed1b24
;
}
.course-prg-scheduler
.action-indicator.action-indicator_uncertain
{
border-color
:
#f7941d
;
}
.course-prg-scheduler
.action-selector
{
display
:
inline-block
;
position
:
relative
;
padding-right
:
15px
;
cursor
:
pointer
;
right
:
-7px
;
}
.course-prg-scheduler
.action-selector
:after
{
content
:
' '
;
display
:
block
;
position
:
absolute
;
top
:
50%
;
right
:
0
;
margin-top
:
-2px
;
width
:
0
;
height
:
0
;
border-style
:
solid
;
border-width
:
5px
5px
0
5px
;
border-color
:
#808080
transparent
transparent
transparent
;
}
.course-prg-scheduler
.action-selector
.popover
{
display
:
block
;
top
:
25px
;
left
:
-19px
;
height
:
120px
;
}
.course-prg-scheduler
.action-selector
.popover
.popover-content
{
padding
:
0
0
10px
;
}
.course-prg-scheduler
.panel-body
.nav-tabs
li
a
:hover
{
border-color
:
#ddd
;
border-left-width
:
1px
;
.course-prg-scheduler
.action-selector
.popover
ul
.actions-selector-select
li
{
padding
:
7px
17px
;
border-bottom
:
1px
solid
#dddddf
;
}
.course-prg-scheduler
.action-selector
.popover
ul
.actions-selector-select
li
:hover
{
background-color
:
#f9f9f9
;
}
.course-prg-scheduler
.action-selector
ul
.actions-selector-select
li
:last-child
{
border-bottom
:
none
;
}
/* END OF COURSE PROGRAM SCHEDULER */
...
...
@@ -3000,4 +3107,4 @@ table.dataTable thead .sorting:after {
/* for overflowing buttons not collapsing each other */
.bottom-margined
{
margin-bottom
:
0.75em
;
}
\ No newline at end of file
}
app/components/crud/templates/timetable.html
View file @
e2729f45
...
...
@@ -7,8 +7,7 @@
<div
class=
"panel-body"
>
<div
class=
"col-xs-3"
>
<!-- required for floating -->
<!-- Nav tabs -->
<ul
class=
"nav nav-tabs tabs-left"
>
<ul
class=
"tabs-left"
>
<li
ng-repeat=
"lecturer in lecturerList"
ng-click=
"selectLecturer(lecturer)"
ng-class=
"{active: currentLecturer.key == lecturer.key}"
><a>
{{lecturer.name}}
</a></li>
</ul>
</div>
...
...
@@ -16,6 +15,7 @@
<div
class=
"col-xs-9"
>
<div
class=
"loader"
ng-show=
"loadingTable"
>
Loading...
</div>
<!-- Tab panes -->
<div
class=
"tab-content"
ng-hide=
"loadingTable"
>
<div
class=
"tab-pane active"
id=
"one"
>
...
...
@@ -24,10 +24,8 @@
<img
ng-src=
"{{currentLecturer.avatar_url}}"
class=
"profile-pic"
>
<span
class=
"user-name"
>
{{currentLecturer.name}}
</span>
</div>
<div
class=
"info-wrapper"
>
<div
style=
"margin-top:14px;"
>
<span><b>
Ders Yükü:
</b></span>
<span>
{{currentLecturer.totalHours}} saat
</span>
</div>
<div
class=
"info-wrapper info-wrapper_hours"
>
<span
class=
"info-title"
>
Ders Yükü:
</span>
<span>
{{currentLecturer.totalHours}} saat
</span>
</div>
</div>
<!-- end of header -->
...
...
@@ -51,12 +49,24 @@
<tr
ng-repeat=
"time in timetable"
>
<td>
{{time[0]}}
</td>
<td
ng-repeat=
"day in time[1]"
>
<
select
class=
"form-control"
ng-model=
"day.durum"
ng-change=
"changeValue(day)"
ng-options=
"option.value as option.name for option in availableStates"
></select
>
<
div
timetable-action-selector
ng-model=
"day.durum"
ng-change=
"changeValue(day)"
></div
>
</td>
</tr>
</tbody>
</table>
<div
class=
"loader pull-right"
ng-show=
"loadingAction"
>
Loading...
</div>
<ul
class=
"legend"
>
<li>
<span
class=
"action-indicator action-indicator_appropriate"
></span>
Uygun
</li>
<li>
<span
class=
"action-indicator action-indicator_uncertain"
></span>
Mümkünse boş bırakılmalı
</li>
<li>
<span
class=
"action-indicator action-indicator_busy"
></span>
Kesinlike boş bırakılmalı
</li>
</ul>
</div>
</div>
</div>
...
...
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