diff --git a/src/templates/api.html b/src/templates/api.html new file mode 100644 index 0000000..b02aeb6 --- /dev/null +++ b/src/templates/api.html @@ -0,0 +1,10 @@ + + + + + LittlePrynter API + + + "Welcome to the printing software's API. Please see the index page to get started. + + diff --git a/src/templates/index.html b/src/templates/index.html new file mode 100644 index 0000000..6412b08 --- /dev/null +++ b/src/templates/index.html @@ -0,0 +1,60 @@ + + + + + LittlePrynter + + + + + + +
+ LittlePrynter icon

Little Prynter

+
+
+ {% with messages = get_flashed_messages(category_filter=('error')) %} + {% if messages %} + {% for message in messages %} + + {% endfor %} + {% endif %} + {% endwith %} + + {% with messages = get_flashed_messages(category_filter=('info')) %} + {% if messages %} + {% for message in messages %} + + {% endfor %} + {% endif %} + {% endwith %} + + +
+

Print a short message

+
+ +
+
+
+ + +
+
+ + + +
+
+
+
+ +
+ + diff --git a/templates/password.html b/src/templates/password.html similarity index 100% rename from templates/password.html rename to src/templates/password.html diff --git a/templates/index.html b/templates/index.html deleted file mode 100644 index a2aa495..0000000 --- a/templates/index.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - LittlePrynter - - - - - -
-

Little Prynter

-
-
- {% with messages = get_flashed_messages() %} - {% if messages %} - {% for message in messages %} - - {% endfor %} - {% endif %} - {% endwith %} -
-

Imprimer une image aléatoire

- Imprimer -
-
-

Imprimer ton propre texte

-
-
- -
- - -
-
- -
- - - -