Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
internewshid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aptivate
client-projects
internewshid
Commits
2acb5518
Commit
2acb5518
authored
9 years ago
by
Alice Heaton
Browse files
Options
Downloads
Patches
Plain Diff
Remove hardcoded content from dashboard view
parent
a04c784e
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
django/website/dashboard/templates/dashboard/dashboard.html
+8
-141
8 additions, 141 deletions
django/website/dashboard/templates/dashboard/dashboard.html
with
8 additions
and
141 deletions
django/website/dashboard/templates/dashboard/dashboard.html
+
8
−
141
View file @
2acb5518
...
...
@@ -4,148 +4,15 @@
{% load render_widget %}
{% block maincontent %}
<h1
class=
"page-header"
><span
class=
"fa fa-dashboard fa-fw"
></span>
{% trans "Dashboard" %}
</h1>
{# Actual widgets #}
{% for row in rows %}
<div
class=
'row dashboard'
>
{% for widget in row %}
<div
class=
'col-lg-{{ widget.width }} col-md-{{ widget.width }} col-sm-{{ widget.width }} widget-height-{{ widget.height }}'
>
{{ widget|render_widget }}
</div>
{% endfor %}
</div>
{% endfor %}
{# "Example canned data" #}
<div
class=
"row dashboard"
>
<div
class=
"col-lg-8"
>
<div
class=
"panel panel-red"
>
<div
class=
"panel-heading"
>
<span
class=
"fa fa-bar-chart-o fa-fw"
></span>
Ebola Questions this week
</div>
<!-- /.panel-heading -->
<div
class=
"panel-body"
>
<div
id=
"morris-bar-chart"
></div>
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
</div>
<!-- /.col-lg-8 -->
<div
class=
"col-lg-4"
>
<div
class=
"panel panel-blue"
>
<div
class=
"panel-heading"
>
<span
class=
"fa fa-list fa-fw"
></span>
Blank widget space
</div>
<!-- /.panel-heading -->
<div
class=
"panel-body"
>
<div
id=
"blank-panel"
></div>
</div>
<!-- /.panel-body -->
</div>
<!-- /.panel -->
</div>
<!-- /.col-lg-4 -->
</div>
<!-- /.row -->
<div
class=
"row dashboard"
>
<div
class=
"col-lg-12"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading"
>
<span
class=
"fa fa-table fa-fw"
></span>
Recent Messages
<div
class=
"pull-right"
>
<div
class=
"btn-group"
>
<button
type=
"button"
class=
"btn btn-default btn-xs dropdown-toggle"
data-toggle=
"dropdown"
>
Actions
<span
class=
"caret"
></span>
</button>
<ul
class=
"dropdown-menu pull-right"
role=
"menu"
>
<li><a
href=
"#"
>
Action
</a>
</li>
<li><a
href=
"#"
>
Another action
</a>
</li>
<li><a
href=
"#"
>
Something else here
</a>
</li>
<li
class=
"divider"
></li>
<li><a
href=
"#"
>
Separated link
</a>
</li>
</ul>
</div>
</div>
</div>
<!-- /.panel-heading -->
<div
class=
"panel-body"
>
<div
class=
"row"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-hover table-striped table-no-border"
>
<thead>
<tr>
<th>
County
</th>
<th>
Date
</th>
<th>
Question
</th>
<th>
Type
</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Lofa
</td>
<td>
5/7/15
</td>
<td>
What is the cause of ebola?
</td>
<td>
Origin
</td>
</tr>
<tr>
<td>
Montserrado
</td>
<td>
5/7/15
</td>
<td>
Is ebola still here or not?
</td>
<td>
Updates
</td>
</tr>
<tr>
<td>
Margibi
</td>
<td>
5/7/15
</td>
<td>
When will Liberia be free from ebola
</td>
<td>
Updates
</td>
</tr>
<tr>
<td>
Sinoe
</td>
<td>
5/7/15
</td>
<td>
How did Ebola come to Liberia?
</td>
<td>
Origin
</td>
</tr>
<tr>
<td>
Montserrado
</td>
<td>
5/7/15
</td>
<td>
HOW DO EBOLA TREAT A PERSON
</td>
<td>
Measures
</td>
</tr>
<tr>
<td>
Montserrado
</td>
<td>
5/7/15
</td>
<td>
I have been told that very soon that Liberia will be declar ebolo free now i want to know if there is any ebola case
</td>
<td>
Updates
</td>
</tr>
<tr>
<td>
Montserrado
</td>
<td>
5/7/15
</td>
<td>
EBOLA STILL IN LIBERIA?
</td>
<td>
Updates
</td>
</tr>
<tr>
<td>
Montserrado
</td>
<td>
5/7/15
</td>
<td>
How Many Person Have Die From Ebola In Liberia?
</td>
<td>
Numbers
</td>
</tr>
</tbody>
</table>
</div>
<!-- /.table-responsive -->
</div>
<!-- /.col-lg-4 (nested) -->
</div>
<!-- /.row -->
<h1
class=
"page-header"
><span
class=
"fa fa-dashboard fa-fw"
></span>
{% trans "Dashboard" %}
</h1>
{% for row in rows %}
<div
class=
'row dashboard'
>
{% for widget in row %}
<div
class=
'col-lg-{{ widget.width }} col-md-{{ widget.width }} col-sm-{{ widget.width }} widget-height-{{ widget.height }}'
>
{{ widget|render_widget }}
</div>
<!-- /.panel-body -->
{% endfor %}
</div>
</div>
<!-- /.col-lg-12 -->
</div>
{% endfor %}
{% endblock maincontent %}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment