removed unneeded ref to font-awesome, added compression, ttl for static files, several small cleanups on labels, etc. for lighthouse improvements
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
{% if not InDBox %}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Photo Assistant</title>
|
||||
<!-- Required meta tags -->
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
|
||||
<!-- font awesome -->
|
||||
<link rel="stylesheet" href="{{ url_for( 'internal', filename='upstream/fontawesome-free-5.15.3-web/css/all.min.css' ) }}">
|
||||
<meta name="description" content="Photo Assistant">
|
||||
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="{{ url_for( 'internal', filename='upstream/bootstrap-5.0.2-dist/css/bootstrap.min.css' ) }}">
|
||||
|
||||
@@ -55,15 +55,16 @@
|
||||
<thead>
|
||||
<tr class="table-primary"><th>Active Jobs</th><th>Job Started</th><th>Progress</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<script>
|
||||
for(el in active_rows)
|
||||
document.write(active_rows[el])
|
||||
document.write( '<tr class="table-primary"><th>Completed Jobs</th><th>Job Started</th><th>Job Completed</th></tr>' )
|
||||
for(el in completed_rows)
|
||||
document.write(completed_rows[el])
|
||||
</script>
|
||||
<tbody id="job_tbl_body">
|
||||
</tbody>
|
||||
</table>
|
||||
</div class="container-fluid">
|
||||
|
||||
<script>
|
||||
for(el in active_rows)
|
||||
$('#job_tbl_body').append(active_rows[el])
|
||||
$('#job_tbl_body').append( '<tr class="table-primary"><th>Completed Jobs</th><th>Job Started</th><th>Job Completed</th></tr>' )
|
||||
for(el in completed_rows)
|
||||
$('#job_tbl_body').append(completed_rows[el])
|
||||
</script>
|
||||
{% endblock main_content %}
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Photo Assistant Login</title>
|
||||
<!-- Required meta tags -->
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="description" content="Photo Assistant">
|
||||
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="{{ url_for( 'internal', filename='upstream/bootstrap-5.0.2-dist/css/bootstrap.min.css' ) }}">
|
||||
@@ -46,12 +50,12 @@
|
||||
<svg width="64" height="64" fill="currentColor"><use xlink:href="internal/icons.svg#pa_logo" /></svg> Photo Assistant Login</h3>
|
||||
<form class="" method="POST">
|
||||
<div class="input-group">
|
||||
<label labelfor="username" class="text-right input-group-text col-4 text-info">Username:</label>
|
||||
<input class="form-control" type="text" name="username"></input>
|
||||
<label for="username" class="text-right input-group-text col-4 text-info">Username:</label>
|
||||
<input class="form-control" type="text" id="username" name="username"></input>
|
||||
</div>
|
||||
<div class="input-group">
|
||||
<label labelfor="password" class="text-right input-group-text col-4 text-info">Password:</label>
|
||||
<input class="form-control col-8" type="password" name="password"></input>
|
||||
<label for="password" class="text-right input-group-text col-4 text-info">Password:</label>
|
||||
<input class="form-control col-8" type="password" id="password" name="password"></input>
|
||||
</div>
|
||||
|
||||
<div class="col-12 my-2 text-center">
|
||||
|
||||
Reference in New Issue
Block a user