1
0
Fork 0
Browse Source

create html templates.

pull/1/head
Craig Oates 4 years ago
parent
commit
373b6686ad
  1. 3
      app/static/styles/main.css
  2. 7
      app/swagger.yml
  3. 1
      app/templates/favicons.html
  4. 16
      app/templates/home.html
  5. 26
      app/templates/layout.html

3
app/static/styles/main.css

@ -0,0 +1,3 @@
html {
font-size: 12px;
}

7
app/swagger.yml

@ -1,10 +1,9 @@
swagger: "2.0" swagger: "2.0"
info: info:
description: >- description: >-
This A.P.I. is part of the, at time of writing, unnamed project by The 'Return to Ritherdon' project, by Nicola Ellis, is a two year art residency at Ritherdon & Co Ltd, a manufacturer of metal enclosures based in Darwen, Lancashire U.K. This website is part of the many outcomes produced throughout the duration of project.
Nicola Ellis. The project's code-name is Roaming Light A.P.I. version: "0.1.0 - Alpha"
version: "0.0.1 - Alpha" title: Return to Ritherdon Project A.P.I.
title: Return to Ritherdon Project A.P.I
consumes: consumes:
- application/json - application/json
produces: produces:

1
app/templates/favicons.html

@ -0,0 +1 @@
<!-- need to add favicons at some point... -->

16
app/templates/home.html

@ -1,12 +1,4 @@
<!DOCTYPE html> {% extends "layout.html" %}
<html lang="en"> {% block content %}
<head> <h1>Return to Ritherdon Project</h1>
<meta charset="UTF-8"> {% endblock content %}
<title>Application Home Page</title>
</head>
<body>
<h2>
Hello World!
</h2>
</body>
</html>

26
app/templates/layout.html

@ -0,0 +1,26 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
{% if title %}
<title>Return to Ritherdon Project: {{ title }}</title>
{% else %}
<title>Return to Riterdon Project</title>
{% endif %}
<meta name="description" content="The 'Return to Ritherdon' project, by Nicola Ellis, is a two year art residency at Ritherdon & Co Ltd, a manufacturer of metal enclosures based in Darwen, Lancashire U.K. This website is part of the many outcomes produced throughout the duration of project.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Nicola Ellis"/>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='styles/main.css') }}">
{% include "favicons.html" %}
</head>
<body>
<!--[if IE]>
<p class="browserupgrade">You are using an <strong>outdated</strong> browser. Please <a href="https://browsehappy.com/">upgrade your browser</a> to improve your experience and security.</p>
<![endif]-->
{% block content %}{% endblock %}
</body>
</html>