add about template including 15 recent commits by default
This commit is contained in:
48
templates/about.html
Normal file
48
templates/about.html
Normal file
@@ -0,0 +1,48 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>About Photo Assistant</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' ) }}">
|
||||
<link rel="stylesheet" href="{{ url_for( 'internal', filename='upstream/jquery.contextMenu.css' ) }}">
|
||||
|
||||
<!-- code to get bootstrap to work -->
|
||||
<script src="{{ url_for( 'internal', filename='upstream/jquery-3.6.0.min.js')}}"></script>
|
||||
<script src="{{ url_for( 'internal', filename='upstream/bootstrap-5.0.2-dist/js/bootstrap.min.js')}}"></script>
|
||||
<script src="{{ url_for( 'internal', filename='upstream/jquery.contextMenu.min.js')}}"></script>
|
||||
<script src="{{ url_for( 'internal', filename='upstream/jquery.ui.position.min.js')}}"></script>
|
||||
|
||||
<link rel="shortcut icon" href="{{ url_for('internal', filename='favicon.ico') }}">
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<div class="row px-3 my-5 offset-lg-3 col-lg-6 col-sm-12" style="border: 3px solid #5bc0de; border-radius: 15px;">
|
||||
<h3 class="my-3 text-center" style="color: #5bc0de">
|
||||
{# <svg width="64" height="64" fill="currentColor"><use xlink:href="{{url_for('internal', filename='icons.svg')}}#pa_logo" /></svg> About Photo Assistant</h3> #}
|
||||
<svg width="64" height="64" fill="currentColor"><use xlink:href="internal/icons.svg#pa_logo" /></svg> Photo Assistant - About</h3>
|
||||
<div class="alert alert-info">
|
||||
Built on: {{commits[0].date}}
|
||||
</div>
|
||||
</div>
|
||||
<h5><b>
|
||||
Recent commits:
|
||||
</b></h4>
|
||||
{% for c in commits %}
|
||||
<dl class="row">
|
||||
<div class="dt col-4 bg-light">{{c.date}}</div>
|
||||
<div class="dd col-8 bg-light">{{c.str}}</div>
|
||||
</dl>
|
||||
{% endfor %}
|
||||
</div class="row">
|
||||
</div class="container">
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user