Index: trunk/tools/editor_trends/wikilytics/templates/analyses_available.html |
— | — | @@ -0,0 +1,16 @@ |
| 2 | +{% extends "base.html" %} |
| 3 | + |
| 4 | + |
| 5 | +{% block content %} |
| 6 | + |
| 7 | + {% if analyses %} |
| 8 | + <ul> |
| 9 | + {% for analysis in analyses %} |
| 10 | + {{ analysis }} |
| 11 | + <li><a href="{{ analysis.get_absolute_url }}">{{ analysis.hash }}</a></li> |
| 12 | + {% endfor %} |
| 13 | + </ul> |
| 14 | + {% endif %} |
| 15 | + |
| 16 | + |
| 17 | +{% endblock %} |
\ No newline at end of file |
Property changes on: trunk/tools/editor_trends/wikilytics/templates/analyses_available.html |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 18 | + native |
Index: trunk/tools/editor_trends/wikilytics/templates/chart.html |
— | — | @@ -0,0 +1,12 @@ |
| 2 | +{% extends "base.html" %} |
| 3 | + |
| 4 | + |
| 5 | +{% block js %} |
| 6 | + |
| 7 | + <script src="/static/js/jquery-1.4.4.min.js" type="text/javascript"></script> |
| 8 | + <script type="text/javascript" src="/static/js/jquery.flot.js"></script> |
| 9 | + <script type="text/javascript" src="/static/js/jquery.flot.stack.js"></script> |
| 10 | + $(document).ready(function() { |
| 11 | + // put all your jQuery goodness in here. |
| 12 | + }); |
| 13 | +{% endblock %} |
\ No newline at end of file |
Property changes on: trunk/tools/editor_trends/wikilytics/templates/chart.html |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 14 | + native |
Index: trunk/tools/editor_trends/wikilytics/templates/queue.html |
— | — | @@ -1,17 +1,25 @@ |
2 | | -
|
3 | | -{% block content %}
|
4 | | -<h1>Job Status</h1>
|
5 | | - {% for job in jobs %}
|
6 | | - <ul>
|
7 | | - <li>Project: {{ job.project }}</li>
|
8 | | - <li>Language: {{ job.language }}</li>
|
9 | | - <li>Created: {{ job.created }}</li>
|
10 | | - <li>Finished: {{ job.finished }}</li>
|
11 | | - <li>In progress: {{ job.in_progress }}</li>
|
12 | | - </ul>
|
13 | | - {% for subtasks in job %}
|
14 | | -
|
15 | | - {% endfor %}
|
16 | | - {% endfor %}
|
17 | | -<h2>Please return in a couple of hours, the dataset will be finished by then.<h2>
|
| 2 | +{% extends "base.html" %} |
| 3 | + |
| 4 | + |
| 5 | +{% block content %} |
| 6 | +<h1>Job Status</h1> |
| 7 | + {% if jobs %} |
| 8 | + {% for job in jobs %} |
| 9 | + <ul> |
| 10 | + <li>Project: {{ job.project }}</li> |
| 11 | + <li>Language: {{ job.language }}</li> |
| 12 | + <li>Created: {{ job.created }}</li> |
| 13 | + <li>Finished: {{ job.finished }}</li> |
| 14 | + <li>In progress: {{ job.in_progress }}</li> |
| 15 | + </ul> |
| 16 | + {% for subtasks in job.tasks %} |
| 17 | + |
| 18 | + {% endfor %} |
| 19 | + {% endfor %} |
| 20 | + <h2>Please return in a couple of hours, the dataset will be finished by then.<h2> |
| 21 | + |
| 22 | + {% else %} |
| 23 | + <h2> There are currently no jobs in the queue.</h2> |
| 24 | + {% endif %} |
| 25 | + |
18 | 26 | {% endblock %} |
\ No newline at end of file |
Property changes on: trunk/tools/editor_trends/wikilytics/templates/queue.html |
___________________________________________________________________ |
Added: svn:eol-style |
19 | 27 | + native |
Index: trunk/tools/editor_trends/wikilytics/templates/search.html |
— | — | @@ -1,16 +1,16 @@ |
2 | | -{% extends "base.html" %}
|
3 | | -
|
4 | | -{% block content %}
|
5 | | - <form action="" method="get">
|
6 | | - {% for field in form %}
|
7 | | - <div class="fieldWrapper">
|
8 | | - {{ field.errors }}
|
9 | | - {{ field.label_tag }}: {{ field }}
|
10 | | - </div>
|
11 | | - {% endfor %}
|
12 | | -
|
13 | | -
|
14 | | - <input type="submit" value="Search" />
|
15 | | - </form>
|
16 | | -{% endblock %}
|
17 | | -
|
| 2 | +{% extends "base.html" %} |
| 3 | + |
| 4 | +{% block content %} |
| 5 | + <form action="" method="get"> |
| 6 | + {% for field in form %} |
| 7 | + <div class="fieldWrapper"> |
| 8 | + {{ field.errors }} |
| 9 | + {{ field.label_tag }}: {{ field }} |
| 10 | + </div> |
| 11 | + {% endfor %} |
| 12 | + |
| 13 | + |
| 14 | + <input type="submit" value="Search" /> |
| 15 | + </form> |
| 16 | +{% endblock %} |
| 17 | + |
Property changes on: trunk/tools/editor_trends/wikilytics/templates/search.html |
___________________________________________________________________ |
Added: svn:eol-style |
18 | 18 | + native |
Index: trunk/tools/editor_trends/wikilytics/templates/datasets_available.html |
— | — | @@ -1,17 +1,30 @@ |
2 | | -
|
3 | | -{% block content %}
|
4 | | - {% if datasets %}
|
5 | | - <ul>
|
6 | | - {% for dataset in datasets %}
|
7 | | - <li>{{ dataset }}</li>
|
8 | | - {{ dataset.count }}
|
9 | | - {% for key,value in dataset.items %}
|
10 | | - {{ key }} -- {{ value }}
|
11 | | - {% endfor %}
|
12 | | -
|
13 | | - {% endfor %}
|
14 | | - <ul>
|
15 | | - {% else %}
|
16 | | - <h1>There are no datasets available yet.</h1>
|
17 | | - {% endif %}
|
| 2 | +{% extends "base.html" %} |
| 3 | + |
| 4 | + |
| 5 | +{% block content %} |
| 6 | + {% if datasets %} |
| 7 | + {% for dataset in datasets %} |
| 8 | + <h1>Dataset {{ dataset.name }}</h1> |
| 9 | + <ul> |
| 10 | + <li>{{ dataset.project }} </li> |
| 11 | + <li>{{ dataset.collection }} </li> |
| 12 | + <h2>Variables</h2> |
| 13 | + <ul> |
| 14 | + {% for variable_name,variables in dataset.variables.items %} |
| 15 | + <h3>Variable {{ variable_name }}</h3> |
| 16 | + {% for key ,variable in variables.items %} |
| 17 | + <h4>Observation:{{ key }}</h4> |
| 18 | + {% for k, v in variable.items %} |
| 19 | + <li>{{ k }}: {{ v }}</li> |
| 20 | + {% endfor %} |
| 21 | + {% endfor %} |
| 22 | + {% endfor %} |
| 23 | + </ul> |
| 24 | + <ul> |
| 25 | + {% endfor %} |
| 26 | + |
| 27 | + {% else %} |
| 28 | + <h1>There are no datasets available yet.</h1> |
| 29 | + {% endif %} |
| 30 | + |
18 | 31 | {% endblock %} |
\ No newline at end of file |
Property changes on: trunk/tools/editor_trends/wikilytics/templates/datasets_available.html |
___________________________________________________________________ |
Added: svn:eol-style |
19 | 32 | + native |
Index: trunk/tools/editor_trends/wikilytics/templates/base.html |
— | — | @@ -1,5 +1,7 @@ |
2 | 2 | <html> |
3 | | - |
| 3 | + {% block js %} |
| 4 | + |
| 5 | + {% endblock %} |
4 | 6 | <body> |
5 | 7 | |
6 | 8 | {% block content %} |