Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
allgo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
110
Issues
110
List
Boards
Labels
Service Desk
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
allgo
allgo
Commits
c8ce19f2
Commit
c8ce19f2
authored
Mar 01, 2019
by
sebastien letort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor. page layout.
parent
3162abfa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
35 deletions
+27
-35
django/allgo/templates/metrics.html
django/allgo/templates/metrics.html
+27
-35
No files found.
django/allgo/templates/metrics.html
View file @
c8ce19f2
...
...
@@ -12,53 +12,45 @@
{% else %}
<form
id=
"metrics_form"
onsubmit=
"return draw_plots()"
>
<fieldset>
<label
for=
"app"
>
App
</label>
<select
id=
"app"
>
{% for app in apps %}
<option
value=
"{{app.id}}"
>
{{ app.name }}
</option>
{% endfor %}
</select>
<label
for=
"app"
>
App
</label>
<select
id=
"app"
>
{% for app in apps %}
<option
value=
"{{app.id}}"
>
{{ app.name }}
</option>
{% endfor %}
</select>
<!--
<label for="chart">chart</label>
<select id="chart">
<option value="per_user">#jobs per user</option>
<option value="launched">#jobs running</option>
<option value="per_res">#jobs by state and period</option>
</select>
<label for="chart">chart</label>
<select id="chart">
<option value="per_user">#jobs per user</option>
<option value="launched">#jobs running</option>
<option value="per_res">#jobs by state and period</option>
</select>
-->
<label
for=
"from"
>
From
</label>
<input
id=
"from"
type=
"date"
min=
"2015-01-01"
/>
<label
for=
"from"
>
From
</label>
<input
id=
"from"
type=
"date"
min=
"2015-01-01"
/>
<label
for=
"to"
>
To
</label>
<input
id=
"to"
type=
"date"
/>
<label
for=
"to"
>
To
</label>
<input
id=
"to"
type=
"date"
/>
<label
for=
"step"
>
group by
</label>
<select
id=
"step"
>
<option>
year
</option>
<option>
month
</option>
<label
for=
"step"
>
group by
</label>
<select
id=
"step"
>
<option>
year
</option>
<option>
month
</option>
<!--
<option>week</option>
<option>week</option>
-->
<option>
day
</option>
<option>
day
</option>
<!--
<option>hour</option>
<option>hour</option>
-->
</select>
</select>
</fieldset>
<input
type=
"submit"
/>
<!--
<output form="metrics_form" for="app chart" id="metric_plot">
</output>
-->
<canvas
id=
"launched_plot"
width=
"400px"
height=
"200px"
>
</canvas>
<canvas
id=
"per_user_plot"
width=
"400px"
height=
"200px"
>
</canvas>
<canvas
id=
"per_state_plot"
width=
"400px"
height=
"200px"
>
</canvas>
<div
id=
"gantt"
></div>
<canvas
id=
"launched_plot"
width=
"400px"
height=
"200px"
></canvas>
<canvas
id=
"per_user_plot"
width=
"400px"
height=
"200px"
></canvas>
<canvas
id=
"per_state_plot"
width=
"400px"
height=
"200px"
></canvas>
</form>
{% endif %}
{% endblock %}
...
...
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