Skip to content

Instantly share code, notes, and snippets.

@rh0dium
Created July 5, 2013 19:38
Show Gist options
  • Save rh0dium/5936744 to your computer and use it in GitHub Desktop.
Save rh0dium/5936744 to your computer and use it in GitHub Desktop.
{% extends "base.html" %}
{% comment %}
Author: Steven Klass <[email protected]>
Copyright 2011-2013 Pivotal Energy Solutions. All rights reserved.
See the file LICENSE.txt for licensing information.
{% endcomment %}
{% block page_title %}Impersonate User List{% endblock %}
{% block style_sheet %}
<style type="text/css">
.dataTable th[data-name="username"] { width: 20%; }
.dataTable th[data-name="company"] { width: 30%; }
.dataTable th[data-name="company-type"] { width: 15%; }
.dataTable th[data-name="admin"] { width: 5%; }
</style>
{% endblock %}
{% block javascript_head %}
{% if next %}
<script type="text/javascript">
function confirm_datatable_options(options) {
options.fnServerParams = function(aoData){ aoData.push({'next': "{{ next }}"}) }
return options;
}
</script>
{% endif %}
{% endblock %}
{% block content %}
<div class="span-18 last">
<h2><span id="id_count"></span> Users </h2>
</div>
{{ datatable }}
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment