Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
doodle
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Arnaud
doodle
Commits
46c8aeb8
Commit
46c8aeb8
authored
Mar 06, 2018
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix beug frontend
parent
8beecaf4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
doodle.css
assets/lib/doodle/css/doodle.css
+1
-1
doodle.js
assets/lib/doodle/js/doodle.js
+8
-1
No files found.
assets/lib/doodle/css/doodle.css
View file @
46c8aeb8
...
...
@@ -42,7 +42,7 @@
border-right
:
none
;
}
.doodle-table
thead
tr
th
:last-child
{
.doodle-table
.backend
thead
tr
th
:last-child
{
border-right
:
none
;
min-width
:
130px
;
max-width
:
145px
;
...
...
assets/lib/doodle/js/doodle.js
View file @
46c8aeb8
...
...
@@ -28,6 +28,8 @@
this
.
getHours
();
this
.
createTable
();
this
.
initCSS
();
//Remet l'overflow pour le responsive en front
$
(
'table'
).
parent
().
css
(
'overflow-x'
,
'auto'
);
...
...
@@ -52,6 +54,11 @@
`
);
};
this
.
initCSS
=
function
()
{
$
(
'.empty'
).
css
(
'background'
,
'#fafafa'
)
};
/**
* Create table header for hours
* @returns {string}
...
...
@@ -88,7 +95,7 @@
if
(
this
.
json
[
index
].
includes
(
this
.
hours
[
key
]))
html
=
'<td>'
+
createInputBox
(
this
.
hours
[
key
],
index
)
+
'</td>'
;
else
html
=
'<td></td>'
;
html
=
'<td
class="empty"
></td>'
;
$td
.
append
(
html
);
}
...
...
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