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
386e04d1
Commit
386e04d1
authored
Feb 26, 2018
by
Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Yolo ça marche
parent
cfc1c73c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
11 deletions
+33
-11
doodle.css
assets/lib/doodle/css/doodle.css
+16
-3
doodle.js
assets/lib/doodle/js/doodle.js
+0
-0
index.html
index.html
+5
-1
app.js
js/app.js
+4
-1
data.json
json/data.json
+8
-6
No files found.
assets/lib/doodle/css/doodle.css
View file @
386e04d1
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
table
{
table
{
border-collapse
:
collapse
;
border-collapse
:
collapse
;
width
:
100%
;
width
:
100%
;
table-layout
:
fixed
;
font-family
:
'Roboto'
,
sans-serif
;
font-family
:
'Roboto'
,
sans-serif
;
}
}
...
@@ -13,6 +12,7 @@ table thead tr th{
...
@@ -13,6 +12,7 @@ table thead tr th{
font-family
:
Roboto
,
sans-serif
;
font-family
:
Roboto
,
sans-serif
;
font-weight
:
400
;
font-weight
:
400
;
font-size
:
14px
;
font-size
:
14px
;
border-bottom
:
1px
solid
#f3f3f3
!important
;
}
}
table
thead
tr
th
:nth-child
(
2
)
{
table
thead
tr
th
:nth-child
(
2
)
{
...
@@ -44,19 +44,25 @@ table tr td:first-child {
...
@@ -44,19 +44,25 @@ table tr td:first-child {
}
}
table
thead
tr
th
{
table
thead
tr
th
{
border-top
:
none
;
border-top
:
none
!important
;
border-left
:
none
;
border-left
:
none
;
border-right
:
none
;
border-right
:
none
;
}
}
table
tbody
tr
td
:first-child
{
min-width
:
90px
;
}
table
tbody
tr
td
{
table
tbody
tr
td
{
color
:
#6d5cae
;
color
:
#6d5cae
;
padding
:
0
;
padding
:
0
!important
;
line-height
:
1.2
;
line-height
:
1.2
;
text-transform
:
uppercase
;
text-transform
:
uppercase
;
font-size
:
12px
;
font-size
:
12px
;
min-height
:
50px
;
min-height
:
50px
;
min-width
:
80px
;
height
:
50px
;
height
:
50px
;
vertical-align
:
middle
!important
;
}
}
tr
:nth-child
(
2n
)
{
tr
:nth-child
(
2n
)
{
...
@@ -168,3 +174,9 @@ label.label_input{
...
@@ -168,3 +174,9 @@ label.label_input{
/*******************************************************
/*******************************************************
***********************END INPUT***********************
***********************END INPUT***********************
*******************************************************/
*******************************************************/
@media
screen
and
(
min-width
:
768px
){
table
{
table-layout
:
fixed
;
}
}
\ No newline at end of file
assets/lib/doodle/js/doodle.js
View file @
386e04d1
This diff is collapsed.
Click to expand it.
index.html
View file @
386e04d1
...
@@ -60,7 +60,11 @@
...
@@ -60,7 +60,11 @@
<!-- Example row of columns -->
<!-- Example row of columns -->
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<div
class=
"doodle"
data-json=
"json/data.json"
></div>
<!--<div class="doodle table-responsive"></div>
<input type="hidden" id="inputVal" value='{"19/01/2018":["10","11","12"],"20/01/2018":["10","11","12"],"21/01/2018":["10","11","12"],"22/01/2018":["10","11","12"],"23/01/2018":["10","11","12"],"24/01/2018":["10","11:15","12"]}'>-->
<div
class=
"doodle table-responsive"
data-json=
"json/data.json"
></div>
<input
type=
"hidden"
id=
"inputVal"
value=
''
/>
</div>
</div>
</div>
</div>
...
...
js/app.js
View file @
386e04d1
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
$
(
'.doodle'
).
Doodle
({
$
(
'.doodle'
).
Doodle
({
editMode
:
false
editMode
:
false
,
output
:
'#inputVal'
,
input
:
'#inputVal'
});
});
});
});
\ No newline at end of file
json/data.json
View file @
386e04d1
{
{
"19/01/2018"
:
[
"10"
,
"11"
,
"12"
,
"18"
],
"19/01/2018"
:
[
"10"
,
"11"
,
"12"
],
"20/01/2018"
:
[
"13"
,
"14"
,
"15"
],
"20/01/2018"
:
[
"10"
,
"11"
,
"12"
],
"21/01/2018"
:
[
"10"
,
"14"
,
"16"
,
"17"
],
"21/01/2018"
:
[
"10"
,
"11"
,
"12"
],
"24/01/2018"
:
[
"10"
,
"15"
,
"17"
],
"22/01/2018"
:
[
"10"
,
"11"
,
"12"
],
"26/01/2018"
:
[
"10"
,
"10"
,
"13"
,
"18"
],
"23/01/2018"
:
[
"10"
,
"11"
,
"12"
],
"20/02/2018"
:
[
"10"
,
"10"
,
"13"
,
"18"
]
"24/01/2018"
:
[
"10"
,
"11:15"
,
"12"
],
"25/01/2018"
:
[
"10"
,
"11:15"
,
"12"
,
"15"
]
}
}
\ No newline at end of file
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