Changed Theme

This commit is contained in:
Nile Walker 2020-12-10 08:41:04 -05:00
parent 339d465593
commit 9da4e423d6
18 changed files with 41 additions and 42 deletions

View File

@ -169,13 +169,14 @@ def index():
for name in ["10","20","30","40","50",]:
locations.append({"name":name,"data":str({"data":{"datasets":[{"data":[random.randint(10,50) for _ in range(15)]}]}}).replace("\'","\"") })
return render_template('layouts/default.html', content = render_template(
return render_template('layouts/default.html',
base_href=BASE_HREF,
content = render_template(
'pages/index.html',
form=form,
table=table,
action=action,
pagination=pagination,
base_href=BASE_HREF,
description_map={},
locations = locations
))

View File

@ -171,31 +171,3 @@ select.multi {
transform: scale3d(0, 0, 0);
padding: 0;
margin: 0; }
.highlight {
font-weight: bolder;
font-style: italic; }
.pagination-page-info {
padding: 0.6em;
padding-left: 0;
width: 40em;
margin: 0.5em;
margin-left: 0;
font-size: 12px; }
.pagination-page-info b {
color: black;
background: #6aa6ed;
padding-left: 2px;
padding: 0.1em 0.25em;
font-size: 150%; }
.pagination ul li {
display: inline-block;
width: 30px;
height: 20px;
border: 1px solid black;
text-align: center; }
.pagination ul li.active {
background-color: #ededed; }

View File

@ -15,6 +15,36 @@
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/
.highlight {
font-weight: bolder;
font-style: italic; }
.pagination-page-info {
padding: 0.6em;
padding-left: 0;
width: 40em;
margin: 0.5em;
margin-left: 0;
font-size: 12px; }
.pagination-page-info b {
color: black;
background: #6aa6ed;
padding-left: 2px;
padding: 0.1em 0.25em;
font-size: 150%; }
.pagination ul li {
display: inline-block;
width: 30px;
height: 20px;
border: 1px solid black;
text-align: center; }
.pagination ul li.active {
background-color: #ededed; }
:root
{
--blue: #5e72e4;

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 824 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

View File

@ -1,6 +1,6 @@
<!-- Sidenav -->
<nav class="navbar navbar-vertical fixed-left navbar-expand-md navbar-light bg-white" id="sidenav-main">
<nav class="navbar navbar-vertical fixed-left navbar-expand-md navbar-dark bg-dark" id="sidenav-main">
<div class="container-fluid">
<!-- Toggler -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#sidenav-collapse-main" aria-controls="sidenav-main" aria-expanded="false" aria-label="Toggle navigation">
@ -8,7 +8,7 @@
</button>
<!-- Brand -->
<a class="navbar-brand pt-0" href="/">
<img src="/static/assets/img/brand/blue.png" class="navbar-brand-img" alt="Flask Argon Dashboard">
<img src="/static/assets/img/brand/uva_logo.png" class="navbar-brand-img" alt="Flask Argon Dashboard">
</a>
<!-- User -->
<ul class="nav align-items-center d-md-none">

View File

@ -8,11 +8,7 @@
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="https://use.typekit.net/kwp6dli.css">
<link rel="shortcut icon" href="{{ base_href + url_for('static', filename='favicon.ico') }}">
{% assets 'app_scss' %}
<link href="{{ base_href + ASSET_URL }}" rel="stylesheet" type="text/css">
{% endassets %}
<link rel="shortcut icon" href="{{ base_href + url_for('static', filename='favicon.ico') }}">
{% include 'includes/header.html' %}
</head>

View File

@ -12,7 +12,7 @@
<link rel="shortcut icon" href="{{ base_href + url_for('static', filename='favicon.ico') }}">
</head>
<body>
<h2>UVA Be Safe Communicator</h2>
<h2>UVA Communicator Be Safe </h2>
<a href="{{base_href + '/invitation'}}">Send Invitations</a> | <a href="{{base_href + '/imported_files'}}">View imported files</a>
<h3>Records to be processed</h3>

View File

@ -5,7 +5,7 @@
<nav class="navbar navbar-top navbar-expand-md navbar-dark" id="navbar-main">
<div class="container-fluid">
<!-- Brand -->
<a class="h4 mb-0 text-white text-uppercase d-none d-lg-inline-block" href="./index.html">Dashboard</a>
<a class="h4 mb-0 text-white text-uppercase d-none d-lg-inline-block" href="./index.html">UVA Communicator Dashboard</a>
<!-- Form -->
<form class="navbar-search navbar-search-dark form-inline mr-3 d-none d-md-flex ml-lg-auto">
<div class="form-group mb-0">
@ -35,7 +35,7 @@
<div class="row align-items-center">
<div class="col">
<h6 class="text-uppercase text-light ls-1 mb-1">Overview</h6>
<h2 class="text-white mb-0">Location Activity/h2>
<h2 class="text-white mb-0">Location Activity</h2>
</div>
<div class="col">
<ul class="nav nav-pills justify-content-end">
@ -103,10 +103,10 @@
<div class="card-header border-0">
<div class="row align-items-center">
<div class="col">
<h3 class="mb-0">Page visits</h3>
<h3 class="mb-0">Records to be processed</h3>
</div>
<div class="col text-right">
<a href="#!" class="btn btn-sm btn-primary">See all</a>
<button type="submit" href="#!" class="btn btn-sm btn-primary">Download all</a>
</div>
</div>
</div>