Lots of changed. merging csv upload with main options page.
This commit is contained in:
@ -1,9 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
{% extends 'head.html' %}
|
||||
{% include 'header.html' %}
|
||||
{% include 'logo.html' %}
|
||||
{% block content %}
|
||||
|
||||
<h3> If you'd like to upload a CSV. Please do so here:<h3>
|
||||
<p></p>
|
||||
<form method="post" action="" enctype="multipart/form-data">
|
||||
@ -16,6 +11,3 @@
|
||||
{% else %}
|
||||
<p></p>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
{% include 'head.html' %}
|
||||
{% include 'header.html' %}
|
||||
{% include 'logo.html' %}
|
||||
{% block content %}
|
||||
{% include 'table.html' %}
|
||||
{% endblock %}
|
||||
|
||||
@ -17,6 +17,11 @@
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename="css/styles.css") }}" />
|
||||
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
|
||||
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
|
||||
<script>
|
||||
if ( window.history.replaceState ) {
|
||||
window.history.replaceState( null, null, window.location.href );
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
{% block content %} {% endblock %}
|
||||
|
||||
@ -2,12 +2,13 @@
|
||||
<header class="header">
|
||||
|
||||
<ul class="header_opts">
|
||||
<form class="navbutton" action="{{ url_for('render_home')}}">
|
||||
<a href="{{ url_for('render_home')}}">
|
||||
<div class="icon-background">
|
||||
<i class="ri-home-line"></i>
|
||||
</div>
|
||||
Home
|
||||
<form class="navbutton"
|
||||
action="{{ url_for('render_home')}}"
|
||||
method="post">
|
||||
<a class="navoption"
|
||||
style="cursor:pointer;">
|
||||
<i class="ri-home-line card__icon"></i>
|
||||
<p class="navselection">Home</p>
|
||||
</a>
|
||||
</form>
|
||||
|
||||
@ -19,17 +20,6 @@
|
||||
style="cursor:pointer;">
|
||||
<i class="ri-car-line card__icon"></i>
|
||||
<p class="navselection">Get People</p>
|
||||
</form>
|
||||
|
||||
<form class="navbutton"
|
||||
id="get_people"
|
||||
action="{{ url_for('get_people')}}"
|
||||
method="post">
|
||||
<a class="navoption" onclick="document.forms['get_people'].submit()" class="nav-link">
|
||||
<div class="icon-background">
|
||||
<i class="ri-home-line"></i>
|
||||
</div>
|
||||
Get People
|
||||
</a>
|
||||
</form>
|
||||
|
||||
@ -38,11 +28,12 @@
|
||||
id="get_courses"
|
||||
action="{{ url_for('get_courses')}}"
|
||||
method="post">
|
||||
<a onclick="document.forms['get_courses'].submit()" class="nav-link">
|
||||
<div class="icon-background">
|
||||
<i class="ri-briefcase-line"></i>
|
||||
</div>
|
||||
Get Courses
|
||||
<a class = "navoption"
|
||||
onclick="document.forms['get_courses'].submit()"
|
||||
style="cursor:pointer;">
|
||||
<i class="ri-briefcase-line card__icon"></i>
|
||||
<p class="navselection">Get Courses</p>
|
||||
</a>
|
||||
</form>
|
||||
</ul>
|
||||
</header>
|
||||
|
||||
@ -3,12 +3,14 @@
|
||||
{% include 'logo.html' %}
|
||||
{% block content %}
|
||||
<h4>Hello! Please click below to enter your key.</h4>
|
||||
{% for error in error %}
|
||||
{% for error in errors %}
|
||||
<h2 class=error><strong> {{ error }} </strong></h2>
|
||||
{% endfor %}
|
||||
<p>
|
||||
</p>
|
||||
<form action="{{ url_for("ask_key")}}" method="post">
|
||||
<input type="text" name="apikey">
|
||||
<input type="submit" value="Submit">
|
||||
<input id="fields" type="text" name="apikey">
|
||||
<input id="fields" type="submit" value="Submit">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,11 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<div class="main">
|
||||
<a href="{{ url_for('render_home')}}">
|
||||
<img
|
||||
src="{{ url_for('static', filename="NP-Logo-Primary-FC.png") }}"
|
||||
alt="Northpass Full Color Logo"
|
||||
>
|
||||
</img></a>
|
||||
{% for message in get_flashed_messages() %}
|
||||
<h2> {{ message }} </h2>
|
||||
{% endfor %}
|
||||
<div class="logo-div">
|
||||
<a href="{{ url_for('render_home')}}">
|
||||
<img
|
||||
src="{{ url_for('static', filename="NP-Logo-Primary-FC.png") }}"
|
||||
alt="Northpass Full Color Logo"
|
||||
>
|
||||
</img></a>
|
||||
{% for message in get_flashed_messages() %}
|
||||
<h2> {{ message }} </h2>
|
||||
{% endfor %}
|
||||
|
||||
@ -1,9 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
{% extends 'head.html' %}
|
||||
{% include 'header.html' %}
|
||||
{% include 'logo.html' %}
|
||||
{% block content %}
|
||||
<h4>Hello! Please find the options for {{ session.school }}.</h4>
|
||||
|
||||
<h4>Hello! Please find the options for {{ session.school }}.</h4>
|
||||
{% include 'csv.html' %}
|
||||
<p></p>
|
||||
</div>
|
||||
<div class="card-grid">
|
||||
@ -61,5 +63,4 @@
|
||||
<p class="card__name">Add Active People to Groups</p>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
9
app/templates/options2.html
Normal file
9
app/templates/options2.html
Normal file
@ -0,0 +1,9 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user