Subnav bar added and some other small changes. Need to figure out CSV upload.

This commit is contained in:
Norm Rasmussen
2023-03-01 17:05:16 -05:00
parent deb11e07ae
commit b3a44ce929
13 changed files with 155 additions and 50 deletions

View File

@ -1,5 +1,7 @@
<!DOCTYPE html>
{% extends 'head.html' %}
{% include 'head.html' %}
{% include 'header.html' %}
{% include 'logo.html' %}
{% block content %}
<h2>Hello! Please enter Group Names below.</h2>
<p></p>

View File

@ -1,5 +1,7 @@
<!DOCTYPE html>
{% extends 'head.html' %}
{% include 'head.html' %}
{% include 'header.html' %}
{% include 'logo.html' %}
{% block content %}
<h4>Hello! Please enter the emails below.</h4>
{% if error %}

View File

@ -1,5 +1,6 @@
<!DOCTYPE html>
{% extends 'head.html' %}
{% include 'head.html' %}
{% include 'header.html' %}
{% block content %}
{% include 'table.html' %}
{% endblock %}

View File

@ -19,20 +19,6 @@
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>
<body>
<div class="three-verts">
<div class="container">
<header class="header">
<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>
</header>
</div>
{% for message in get_flashed_messages() %}
<h2> {{ message }} </h2>
{% endfor %}
{% block content %} {% endblock %}
</body>
</html>

48
app/templates/header.html Normal file
View File

@ -0,0 +1,48 @@
<!DOCTYPE html>
<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
</a>
</form>
<form class="navbutton"
action="{{ url_for('get_people')}}"
method="post">
<a class="navoption"
onclick="document.forms['get_people'].submit()"
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>
<form
class="navbutton"
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>
</form>
</header>

View File

@ -1,5 +1,6 @@
<!DOCTYPE html>
{% extends 'head.html' %}
{% include 'head.html' %}
{% include 'logo.html' %}
{% block content %}
<h4>Hello! Please click below to enter your key.</h4>
{% for error in error %}
@ -12,4 +13,4 @@
</div>
</div>
</body>
{% endblock %}
{% endblock %}

11
app/templates/logo.html Normal file
View File

@ -0,0 +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 %}

View File

@ -1,8 +1,7 @@
<!DOCTYPE html>
{% extends 'head.html' %}
{% include 'logo.html' %}
{% block content %}
<h4>Hello! Please find the options for {{ session.school }}.</h4>
<p></p>
</div>
@ -11,7 +10,7 @@
action="{{ url_for('get_people')}}"
method="post">
<a class="a-card"
onclick="document.forms[0].submit()"
onclick="document.forms['get_people'].submit()"
style="cursor:pointer;">
<i class="ri-car-line card__icon"></i>
<p class="card__name">Get People</p>
@ -61,6 +60,5 @@
<p class="card__name">Add Active People to Groups</p>
</div>
</body>
{% endblock %}