Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
opening-hours
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
regionalkauf
opening-hours
Commits
d3a276df
Commit
d3a276df
authored
Aug 04, 2014
by
Johannes Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed today class in two weekview
parent
089434d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
dateView.js
lib/dateView.js
+1
-1
index.ejs
serverTest/views/index.ejs
+3
-0
No files found.
lib/dateView.js
View file @
d3a276df
...
...
@@ -82,7 +82,7 @@ function createWeekViewVerticalRaw(dataObj, now, className, offset, addDayOfWeek
if
(
dayInHolidays
(
day
.
date
,
holidays
))
{
cls
+=
" "
+
className
+
"-holiday"
;
}
if
(
compareDate
(
day
.
date
,
now
)
==
0
)
{
if
(
addDayOfWeek
&&
compareDate
(
day
.
date
,
now
)
==
0
)
{
cls
+=
" "
+
className
+
"-today"
;
}
if
(
day
.
date
.
getDay
()
==
0
)
{
...
...
serverTest/views/index.ejs
View file @
d3a276df
...
...
@@ -24,6 +24,9 @@
.name
{
font-size
:
20px
;
}
.two-weekview-v-today
{
background-color
:
#99baca
;
}
</style>
</head>
...
...
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