Added getting people functionality. Configured the action button to only show up if there's something to do (like a table) and also can scroll to the top.
This commit is contained in:
@ -1,17 +1,23 @@
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<div class="floating-container">
|
||||
<div class="floating-button">+</div>
|
||||
<div class="element-container">
|
||||
|
||||
<a href="https://app.northpass.com/admin/schools/{{ session.admin_id }}">
|
||||
<span class="float-element">
|
||||
<i class="material-icons">admin_panel_settings</i>
|
||||
</span>
|
||||
{% if table %}
|
||||
<a id="download" href="/downloadcsv">
|
||||
<span class="float-element tooltip-left">
|
||||
<i class="material-icons">admin_panel_settings
|
||||
</i> </a> </span>
|
||||
|
||||
<span class="float-element">
|
||||
<a href="#top">
|
||||
<i class="material-icons">vertical_align_top
|
||||
</i> </a> </span>
|
||||
|
||||
{% if table %}
|
||||
<span class="float-element">
|
||||
<a id="download" href="/downloadcsv">
|
||||
<i class="material-icons">download_for_offline
|
||||
</i></a>
|
||||
</span>
|
||||
</i> </a> </span>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -3,6 +3,18 @@
|
||||
{% include 'header.html' %}
|
||||
{% include 'logo.html' %}
|
||||
{% block content %}
|
||||
<h2>Academy: {{ session.raw_school }}.</h2>
|
||||
</br>
|
||||
</br>
|
||||
<h2>Academy: {{ session.raw_school }}</h2>
|
||||
<p> </p>
|
||||
<h3>Subdomain:
|
||||
<a class="subdom-link" href={{ session.subdomain }}>{{ session.subdomain }}
|
||||
</a>
|
||||
</h3>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
<style>
|
||||
.subdom-link { color: #089FB7; }
|
||||
.subdom-link:hover { color: #F05323; }
|
||||
</style>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
<form class="navbutton"
|
||||
id="get_courses"
|
||||
action="{{ url_for('get_courses', variable='courses')}}"
|
||||
action="{{ url_for('get_courses')}}"
|
||||
method="post">
|
||||
<a class="navoption"
|
||||
onclick="document.forms['get_courses'].submit()"
|
||||
@ -12,4 +12,14 @@
|
||||
</a>
|
||||
</form>
|
||||
|
||||
<form class="navbutton"
|
||||
id="get_groups"
|
||||
action="{{ url_for('get_groups')}}"
|
||||
method="post">
|
||||
<a class="navoption"
|
||||
onclick="document.forms['get_groups'].submit()"
|
||||
style="cursor:pointer;">
|
||||
<p class="navselection">Get Groups</p>
|
||||
</a>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
@ -90,7 +90,6 @@
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<script>
|
||||
codeInput.registerTemplate("code-input", codeInput.templates.hljs(hljs,
|
||||
[
|
||||
@ -99,4 +98,4 @@
|
||||
<script>
|
||||
codeInput.registerTemplate("code-input", codeInput.templates.prism(Prism, []));
|
||||
</script>
|
||||
{% include 'footer_button.html'%}
|
||||
{% include 'footer_button.html'%}
|
||||
|
||||
Reference in New Issue
Block a user