Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
08fc3cf5
Commit
08fc3cf5
authored
Sep 12, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'github/master' into portable
parents
b2cc506d
e7aa8493
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
4 deletions
+46
-4
debomatic-webui/public/javascripts/page_history.js
debomatic-webui/public/javascripts/page_history.js
+42
-1
debomatic-webui/public/stylesheets/style.css
debomatic-webui/public/stylesheets/style.css
+1
-0
debomatic-webui/scripts/install/download_external_libs.sh
debomatic-webui/scripts/install/download_external_libs.sh
+1
-1
debomatic-webui/views/footer.ejs
debomatic-webui/views/footer.ejs
+1
-1
debomatic-webui/views/header.ejs
debomatic-webui/views/header.ejs
+1
-1
No files found.
debomatic-webui/public/javascripts/page_history.js
View file @
08fc3cf5
...
...
@@ -141,9 +141,50 @@ function Page_History() {
else
info
.
push
(
0
);
}
days_data
.
series
.
push
(
info
);
days_data
.
series
.
push
({
name
:
distro
,
data
:
info
});
}
Chartist
.
Line
(
'
#days-chart
'
,
days_data
);
var
effect
=
function
(
x
,
t
,
b
,
c
,
d
)
{
return
-
c
*
(
t
/=
d
)
*
(
t
-
2
)
+
b
;
};
var
$chart
=
$
(
'
#days-chart
'
);
var
$toolTip
=
$chart
.
append
(
'
<div class="tooltip fade top in" role="tooltip">
'
+
'
<div class="tooltip-arrow"></div>
'
+
'
<div class="tooltip-inner"></div>
'
+
'
</div>
'
).
find
(
'
.tooltip
'
).
hide
();
$chart
.
on
(
'
mouseenter
'
,
'
.ct-point
'
,
function
()
{
var
$point
=
$
(
this
),
value
=
$point
.
attr
(
'
ct:value
'
),
seriesName
=
$point
.
parent
().
attr
(
'
ct:series-name
'
);
$point
.
animate
({
'
stroke-width
'
:
'
20px
'
},
300
,
effect
);
$toolTip
.
find
(
'
.tooltip-inner
'
).
html
(
seriesName
+
'
(
'
+
value
+
'
)
'
);
$toolTip
.
show
();
});
$chart
.
on
(
'
mouseleave
'
,
'
.ct-point
'
,
function
()
{
var
$point
=
$
(
this
);
$point
.
animate
({
'
stroke-width
'
:
'
10px
'
},
300
,
effect
);
$toolTip
.
hide
();
});
$chart
.
on
(
'
mousemove
'
,
function
(
event
)
{
$toolTip
.
css
({
left
:
event
.
offsetX
-
$toolTip
.
width
()
/
2
,
top
:
event
.
offsetY
-
$toolTip
.
height
()
-
20
});
});
}
function
_exportTableToCSV
(
$table
,
filename
)
{
...
...
debomatic-webui/public/stylesheets/style.css
View file @
08fc3cf5
...
...
@@ -265,6 +265,7 @@ footer .info {
width
:
50%
;
float
:
left
;
margin-bottom
:
30px
;
position
:
relative
;
}
.ct-chart
.ct-label
{
...
...
debomatic-webui/scripts/install/download_external_libs.sh
View file @
08fc3cf5
...
...
@@ -38,7 +38,7 @@ get_tablesorter() {
}
get_chartist
()
{
VERSION
=
"0.1.1
1
"
VERSION
=
"0.1.1
2
"
NAME
=
"chartist-js-
${
VERSION
}
"
if
[
-d
${
EXT_LIBS_DIR
}
/
${
NAME
}
]
;
then return
;
fi
ARCHIVE
=
v
${
VERSION
}
.zip
...
...
debomatic-webui/views/footer.ejs
View file @
08fc3cf5
...
...
@@ -19,7 +19,7 @@
<script src="/external_libs/tablesorter/jquery.tablesorter.min.js"></script>
<script src="/external_libs/tablesorter/jquery.tablesorter.widgets.min.js"></script>
<script src="/external_libs/bootstrap-3.2.0-dist/js/bootstrap.min.js"></script>
<script src="/external_libs/chartist-js-0.1.1
1
/libdist/chartist.min.js"></script>
<script src="/external_libs/chartist-js-0.1.1
2
/libdist/chartist.min.js"></script>
<script>
var config = <%- JSON.stringify(web) %>
...
...
debomatic-webui/views/header.ejs
View file @
08fc3cf5
...
...
@@ -6,7 +6,7 @@
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"stylesheet"
href=
"/external_libs/bootstrap-3.2.0-dist/css/bootstrap.min.css"
>
<link
rel=
"stylesheet"
href=
"/external_libs/bootstrap-3.2.0-dist/css/bootstrap-theme.min.css"
>
<link
rel=
"stylesheet"
href=
"/external_libs/chartist-js-0.1.1
1
/libdist/chartist.min.css"
>
<link
rel=
"stylesheet"
href=
"/external_libs/chartist-js-0.1.1
2
/libdist/chartist.min.css"
>
<link
rel=
"stylesheet"
href=
"/external_libs/tablesorter/theme.bootstrap.css"
>
<link
rel=
"stylesheet"
href=
"/stylesheets/style.css?<%= version %>"
>
</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