-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
275 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
{% extends "start/generic.html" %} | ||
{% load static %} | ||
{% load custom_tags %} | ||
{% load humanize %} | ||
|
||
{% block title %} | ||
{{ title }} GPC Report | ||
{% endblock %} | ||
|
||
{% block extrahead %} | ||
{{ block.super }} | ||
<script type="text/javascript" charset="utf-8" | ||
src="{% static 'results_explorer/js/jquery.dataTables.js' %}"></script> | ||
{% endblock %} | ||
|
||
{% block extrastyle %} | ||
{{ block.super }} | ||
<link rel="stylesheet" type="text/css" href="{% static 'results_explorer/css/table.css' %}"> | ||
{% endblock %} | ||
|
||
{% block messages %} | ||
<div class="helpblock"> | ||
<p>GPC Report</p> | ||
</div> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<div class="card card-primary card-outline"> | ||
|
||
<div class="card-body pad table-responsive"> | ||
|
||
|
||
<div class="card card-info"> | ||
<div class="card-header"> | ||
<h4> GPC Report of GHG Inventory Emissions</h4> | ||
</div> | ||
|
||
<div class="card card-body"> | ||
<table id="data_list"> | ||
<thead> | ||
<tr> | ||
{% for entry in TableHeader %} | ||
<th> | ||
{{ entry }} | ||
</th> | ||
{% endfor %} | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for key, value in TableRows.items %} | ||
<tr> | ||
{% for c in value %} | ||
<td> | ||
{{ c }} | ||
</td> | ||
{% endfor %} | ||
</tr> | ||
{% endfor %} | ||
|
||
</tbody> | ||
|
||
</table> | ||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
<script> | ||
$('#data_list').DataTable({ | ||
"pagingType": "full_numbers", | ||
"responsive": true, | ||
"bSort": true, | ||
"displayLength": 50, | ||
"autoWidth": true, | ||
"searching": false | ||
}); | ||
</script> | ||
|
||
|
||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.