Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
df-aggregator
Overview
Overview
Details
Activity
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
Oleksandr Barabash
df-aggregator
Commits
fe0f8882
Commit
fe0f8882
authored
Nov 07, 2020
by
Corey Koval
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WebGUI Improvements
parent
95aa938a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
11 deletions
+53
-11
dish.png
static/dish.png
+0
-0
style.css
static/style.css
+13
-2
cesium.tpl
views/cesium.tpl
+40
-9
No files found.
static/dish.png
0 → 100644
View file @
fe0f8882
3.76 KB
static/style.css
View file @
fe0f8882
...
...
@@ -126,8 +126,19 @@ span {
}
.slidespan
{
width
:
80%
;
/* Width of the outside container */
padding
:
10px
;
width
:
70%
;
/* Width of the outside container */
padding-top
:
10px
;
padding-bottom
:
10px
;
}
.slidetitle
{
width
:
15%
;
text-align
:
right
;
}
.slidevalue
{
width
:
10%
;
text-align
:
left
;
}
/* The slider itself */
.slider
{
...
...
views/cesium.tpl
View file @
fe0f8882
...
...
@@ -28,22 +28,53 @@
</div>
<div
class=
"slidecontainer"
>
<form
action=
"/"
method=
"post"
>
<span><h4>
epsilon:
</h4></span>
<span
class=
"slidetitle"
><h4>
Min Power*:
</h4></span>
<span
class=
"slidespan"
><input
name=
"powerValue"
type=
"range"
min=
"0"
max=
"100"
value=
"{
{
minpower
}
}"
class=
"slider"
id=
"powerRange"
></span>
<span
class=
"slidevalue"
id=
"power"
></span>
<span
class=
"slidetitle"
><h4>
Min Confidence*:
</h4></span>
<span
class=
"slidespan"
><input
name=
"confValue"
type=
"range"
min=
"0"
max=
"100"
value=
"{
{
minconf
}
}"
class=
"slider"
id=
"confRange"
></span>
<span
class=
"slidevalue"
id=
"confidence"
></span>
<span
class=
"slidetitle"
><h4>
epsilon:
</h4></span>
<span
class=
"slidespan"
><input
name=
"epsilonValue"
type=
"range"
min=
"0"
max=
"100"
value=
"{
{
epsilon
}
}"
class=
"slider"
id=
"epsilonRange"
></span>
<span><p><input
value=
"Update"
type=
"submit"
style=
"height:40px;"
/></p></span>
<span
class=
"slidevalue"
id=
"epsilon"
></span>
<span
class=
"slidetitle"
><h4>
Min Points per Cluster:
</h4></span>
<span
class=
"slidespan"
><input
name=
"minpointValue"
type=
"range"
min=
"0"
max=
"200"
value=
"{
{
minpoints
}
}"
class=
"slider"
id=
"minpointRange"
></span>
<span
class=
"slidevalue"
id=
"minpoints"
></span>
<div
style=
"width:15%; text-align:right;"
><input
value=
"Update"
type=
"submit"
style=
"height:40px;"
/></div>
</form>
<p>
Value:
<span
id=
"epsilon"
></span></p>
<p>
* Does not affect historical data.
</p>
</div>
<script>
var
slider
=
document
.
getElementById
(
"epsilonRange"
);
var
output
=
document
.
getElementById
(
"epsilon"
);
output
.
innerHTML
=
slider
.
value
/
100
;
// Display the default slider value
var
powerslider
=
document
.
getElementById
(
"powerRange"
);
var
poweroutput
=
document
.
getElementById
(
"power"
);
poweroutput
.
innerHTML
=
powerslider
.
value
;
var
confslider
=
document
.
getElementById
(
"confRange"
);
var
confoutput
=
document
.
getElementById
(
"confidence"
);
confoutput
.
innerHTML
=
confslider
.
value
;
var
epsslider
=
document
.
getElementById
(
"epsilonRange"
);
var
epsoutput
=
document
.
getElementById
(
"epsilon"
);
epsoutput
.
innerHTML
=
epsslider
.
value
/
100
;
var
minpointslider
=
document
.
getElementById
(
"minpointRange"
);
var
minpointoutput
=
document
.
getElementById
(
"minpoints"
);
minpointoutput
.
innerHTML
=
minpointslider
.
value
;
// Update the current slider value (each time you drag the slider handle)
slider
.
oninput
=
function
()
{
output
.
innerHTML
=
this
.
value
/
100
;
epsslider
.
oninput
=
function
()
{
epsoutput
.
innerHTML
=
this
.
value
/
100
;
}
powerslider
.
oninput
=
function
()
{
poweroutput
.
innerHTML
=
this
.
value
;
}
confslider
.
oninput
=
function
()
{
confoutput
.
innerHTML
=
this
.
value
;
}
minpointslider
.
oninput
=
function
()
{
minpointoutput
.
innerHTML
=
this
.
value
;
}
</script>
<h4>
Buttons here in the future!
</h4>
</body>
</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