yenu
+ Images, + Upload a new image ++ + {% block content %} + {% endblock %} +
diff --git a/env/dev/clj/user.clj b/env/dev/clj/user.clj index 549a7fd..29a777d 100644 --- a/env/dev/clj/user.clj +++ b/env/dev/clj/user.clj @@ -15,4 +15,7 @@ (stop) (start)) +(defn start-with-server [] + (start) + (mount/start #'yenu.core/http-server)) diff --git a/project.clj b/project.clj index 6f03ac9..6990ea9 100644 --- a/project.clj +++ b/project.clj @@ -1,7 +1,6 @@ (defproject yenu "0.1.0-SNAPSHOT" - :description "yenu -- The image sharing tool for friends" - :url "http://example.com/FIXME" + :url "https://aaron-fischer.net/" :dependencies [[bouncer "1.0.0"] [cljs-ajax "0.5.8"] @@ -11,7 +10,6 @@ [luminus-immutant "0.2.3"] [luminus-migrations "0.2.9"] [luminus-nrepl "0.1.4"] - [markdown-clj "0.9.94"] [metosin/ring-http-response "0.8.1"] [mount "0.1.11"] [org.clojure/clojure "1.8.0"] diff --git a/resources/public/css/screen.css b/resources/public/css/screen.css index 0b6a61c..26b3d46 100644 --- a/resources/public/css/screen.css +++ b/resources/public/css/screen.css @@ -1,4 +1,9 @@ -html, body { - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; - height: 100%; - padding-top: 40px; } +#images { + margin: auto; +} + +.thumbnail-image { + margin: 2px; + padding: 1px; + border: 1px solid #ddd; +} diff --git a/resources/templates/admin/upload.html b/resources/templates/admin/upload.html new file mode 100644 index 0000000..c414f85 --- /dev/null +++ b/resources/templates/admin/upload.html @@ -0,0 +1,37 @@ +{% extends "layout.html" %} + +{% block content %} +
Here you can upload a new image to the gallery. This image is then saved in + three different formats. The raw image, a scaled down version and a scoped + thumbnail image for the overview. You can upload all sorts of images.
+ + +{% endblock %} diff --git a/resources/templates/error.html b/resources/templates/error.html index 6fcd237..ff17577 100644 --- a/resources/templates/error.html +++ b/resources/templates/error.html @@ -1,56 +1,12 @@ - - - -If you're seeing this message, that means you haven't yet compiled your ClojureScript!
-Please run lein figwheel
to start the ClojureScript compiler and reload the page.
See ClojureScript documentation for further details.
-