stc

a simple time card webapp
git clone _git@git.brennen.work:stc.git
Log | Files | Refs | README

commit 53e2e80601597cfe3c53163c0ed062d08bbece36
parent 9dfe635f512b50c3e76b3a1970a22ea88598cf0c
Author: Brennen T. Mazur <brennen@madis.cool>
Date:   Wed, 18 Jan 2023 18:16:16 -0700

fixed navigation bug, built landing page, style cleanup

Diffstat:
Mstatic/css/main.css | 5++++-
Mtemplates/index.html | 7++++---
Mtemplates/login.html | 4++++
3 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/static/css/main.css b/static/css/main.css @@ -69,7 +69,7 @@ header { /********** LOGIN PAGE **********/ .login-grid { display: grid; - grid-template-rows: repeat(3, 33vh); + grid-template-rows: repeat(3, 30vh); grid-template-columns: repeat(3, 1fr); } @@ -81,6 +81,9 @@ header { grid-row-end: 3; grid-column-start: 2; grid-column-end: 3; + padding-top:4rem; + padding-bottom:4rem; + box-shadow: 0px 0px .1em .1em var(--accent);/* probably shouldn't have box-shadow for clean ui at intermediate page sizes (between laptop and phone off ratio) */ } /********** WIDGETS **********/ .permissions, .reportswidget, .activeusers, .agreements, .fleet, .punchclock { diff --git a/templates/index.html b/templates/index.html @@ -1,11 +1,12 @@ {% extends 'base.html' %} -{% block title %} {{ ORGNAME }} {% endblock %} +{% block title %} Resource Management System {% endblock %} {% block navigation %}<div id="nav" href="#"></div><div id="logout"></div>{% endblock %} {% block content %} - <section class="login-grid"> - <h2>Page calls getUser()</h2><h6>Returns object of user data for redirection to dashboard, else directs to /login</h6> + <section class="singlepage"> + <h2>Welcome to YEP!</h2><h6>Call to action! Motto or Mission Statement</h6> + <div class="button"><a href="/login">Clock In!</a></div> </section> {% endblock %} diff --git a/templates/login.html b/templates/login.html @@ -1,5 +1,9 @@ {% extends 'base.html' %} +{% block title %}Login{% endblock %} + +{% block navigation %}<div id="nav" href="#"></div><div id="logout"></div>{% endblock %} + {% block content %} <section class="login-grid"> <form class="login">