From d1da6ed6b0a6911c3b24e012ea051c9253ce8479 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 10 Dec 2018 22:43:10 +0100 Subject: pull in dulldream celery server --- server/app/templates/403.html | 35 +++++++++ server/app/templates/404.html | 33 ++++++++ server/app/templates/500.html | 34 ++++++++ server/app/templates/base.html | 33 ++++++++ server/app/templates/celery.html | 43 ++++++++++ server/app/templates/display.html | 69 ++++++++++++++++ server/app/templates/index.html | 161 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 408 insertions(+) create mode 100644 server/app/templates/403.html create mode 100644 server/app/templates/404.html create mode 100644 server/app/templates/500.html create mode 100644 server/app/templates/base.html create mode 100644 server/app/templates/celery.html create mode 100644 server/app/templates/display.html create mode 100644 server/app/templates/index.html (limited to 'server/app/templates') diff --git a/server/app/templates/403.html b/server/app/templates/403.html new file mode 100644 index 00000000..f83c6dfc --- /dev/null +++ b/server/app/templates/403.html @@ -0,0 +1,35 @@ +{%- extends "base.html" %} + +{% import "bootstrap/utils.html" as utils %} + +{% block content %} +
+ +
+

+

403

+
+ + +
+
+

Your request could not be handled

+
+
+ +
+
+
+ Home +
+
+
+ +
+ +{% block footer %} +{{super()}} +{% endblock %} + +{% endblock %} + diff --git a/server/app/templates/404.html b/server/app/templates/404.html new file mode 100644 index 00000000..a7f7d45a --- /dev/null +++ b/server/app/templates/404.html @@ -0,0 +1,33 @@ +{%- extends "base.html" %} + +{% import "bootstrap/utils.html" as utils %} + +{% block content %} +
+ +
+

+

404

+
+ +
+
+

Your request could not be handled

+
+ +
+
+
+ Home +
+
+
+ +
+ +{% block footer %} +{{super()}} +{% endblock %} + +{% endblock %} + diff --git a/server/app/templates/500.html b/server/app/templates/500.html new file mode 100644 index 00000000..b323c12c --- /dev/null +++ b/server/app/templates/500.html @@ -0,0 +1,34 @@ +{%- extends "base.html" %} + +{% import "bootstrap/utils.html" as utils %} + +{% block content %} +
+ +
+

+

505

+
+ +
+
+

Your request could not be handled

+
+
+ +
+
+
+ Home +
+
+
+ +
+ +{% block footer %} +{{super()}} +{% endblock %} + +{% endblock %} + diff --git a/server/app/templates/base.html b/server/app/templates/base.html new file mode 100644 index 00000000..16402af8 --- /dev/null +++ b/server/app/templates/base.html @@ -0,0 +1,33 @@ +{%- extends "bootstrap/base.html" %} + +{% block title %}DullDream (v2 x ZkM){% endblock %} + +{% block head %} + {{super()}} + +{% endblock %} + +{% block styles %} + {{super()}} + + +{% endblock %} + +{%- block content %} + {{super()}} +{% endblock content %} + +{%- block footer %} + +{% endblock footer %} + +{% block scripts %} + {{super()}} +{% endblock scripts %} \ No newline at end of file diff --git a/server/app/templates/celery.html b/server/app/templates/celery.html new file mode 100644 index 00000000..ddcd25cb --- /dev/null +++ b/server/app/templates/celery.html @@ -0,0 +1,43 @@ +{%- extends "base.html" %} + +{% import "bootstrap/utils.html" as utils %} + +{% block content %} + + +
+ +
+

+

Celery Test

+
+ +
+
+

+
+
+
+ +
+ +{% block footer %} +{{ super() }} +{% endblock %} + +{% endblock %} + + +{% block scripts %} + {{super()}} + + + + + +{% endblock scripts %} \ No newline at end of file diff --git a/server/app/templates/display.html b/server/app/templates/display.html new file mode 100644 index 00000000..f73a6ca5 --- /dev/null +++ b/server/app/templates/display.html @@ -0,0 +1,69 @@ +{%- extends "base.html" %} + +{% import "bootstrap/utils.html" as utils %} + +{% block content %} + + +
+ +
+

+

Result

+
+ +
+
+
+ +

Rendered result

+
+
+ +
+ +

Original image

+
+
+ +
+ +

Semantic segmentation

+
+
+ + + +
+
+
+ Home +
+
+
+ + + + +{% block footer %} +{{super()}} +{% endblock footer %} + +{% endblock %} + diff --git a/server/app/templates/index.html b/server/app/templates/index.html new file mode 100644 index 00000000..f740bb5b --- /dev/null +++ b/server/app/templates/index.html @@ -0,0 +1,161 @@ + + + + + + + DullDream (v2 x ZkM) + + + + +
+

DullDream

+

Neural network photo effect

+
+ +
+
+
+ + +
+ +
+
+
+ +
+ +
+
+
+ +
+
+
+ Change Image + +
+ +
+ Upload +
+
+ +
+ +
+
+ About + Privacy +

+ All images uploaded can be used for exhibition and review purposes. +

+

+ Currently this work is on view at ZKM. View recent DullDreams here. +

+
+
+
+ + + + + + +
+
+
+ +
+ Made with DullDream.xyz for ZKM OpenCodes 2017 +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ Home + About + Privacy +
+ +
+ +
+ + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3-70-g09d2