Add download functionality and action button. Cleaned up how templates are displayed
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
{% include 'header.html' %}
|
||||
{% include 'logo.html' %}
|
||||
{% block content %}
|
||||
<h2>You're currently accessing {{ session.school }}.</h2>
|
||||
<h2>You're currently accessing {{ session.raw_school }}.</h2>
|
||||
<h2> </h2>
|
||||
<div class="instructions-list">
|
||||
<div class="instructions-left">
|
||||
|
||||
@ -4,6 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<link
|
||||
href="https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css"
|
||||
rel="stylesheet"
|
||||
|
||||
@ -3,6 +3,6 @@
|
||||
{% include 'header.html' %}
|
||||
{% include 'logo.html' %}
|
||||
{% block content %}
|
||||
<h2>Academy: {{ session.school }}.</h2>
|
||||
<h2>Academy: {{ session.raw_school }}.</h2>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@ -4,6 +4,6 @@
|
||||
{% include 'header.html' %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Hello! You're currently accessing {{ session.school }}.</h2>
|
||||
<h2>Hello! You're currently accessing {{ session.raw_school }}.</h2>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@ -1,9 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<h4> Select one of the options below. </h4>
|
||||
<main id="selections">
|
||||
<input type=checkbox id="get_people">
|
||||
<input type=checkbox id="get_courses">
|
||||
<input type=checkbox id="get_groups">
|
||||
<input type=checkbox id="get_enrollments">
|
||||
</main>
|
||||
@ -7,6 +7,7 @@
|
||||
<h3>{{ error }}</h4>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if button %}
|
||||
<br>
|
||||
<form
|
||||
@ -19,7 +20,7 @@
|
||||
|
||||
{% if templates %}
|
||||
<h2> Here are the liquid templates for </h2>
|
||||
<h2 style="color:#F05323"><strong> {{ session.school }} </strong></h2>
|
||||
<h2 style="color:#F05323"><strong> {{ session.raw_school }} </strong></h2>
|
||||
{% endif %}
|
||||
<div class="templates_display" >
|
||||
{% for templates in templates %}
|
||||
@ -73,7 +74,8 @@
|
||||
lang="HTML"
|
||||
id="editor"
|
||||
name="body"
|
||||
template="code-input">
|
||||
template="code-input"
|
||||
style="height:550px;">
|
||||
</code-input>
|
||||
<p> </p>
|
||||
<label for="template_name">
|
||||
@ -88,6 +90,15 @@
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="floating-container">
|
||||
<div class="floating-button">
|
||||
<a href="{{ url_for('download_templates') }}">
|
||||
<span class="float-element tooltip-left">
|
||||
<i class="material-icons">download_for_offline
|
||||
</i></a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
codeInput.registerTemplate("code-input", codeInput.templates.hljs(hljs,
|
||||
|
||||
Reference in New Issue
Block a user