diff --git a/project.clj b/project.clj index e280238..cee94af 100644 --- a/project.clj +++ b/project.clj @@ -8,18 +8,21 @@ "build-signature-timestamp" "unset" "Implementation-Version" "unset" } - :dependencies [[org.clojure/clojure "1.6.0"] - [mw-engine "0.1.5-SNAPSHOT"] - [mw-parser "0.1.5-SNAPSHOT"] - [lib-noir "0.8.4"] - [ring-server "0.3.1"] - [selmer "0.6.8"] + :dependencies [[org.clojure/clojure "1.8.0"] + [mw-engine "3.0.0-SNAPSHOT"] + [mw-parser "3.0.0-SNAPSHOT"] + [lib-noir "0.9.9"] + [ring-server "0.4.0"] + [selmer "1.0.9"] [com.taoensso/timbre "3.2.1"] - [com.taoensso/tower "2.0.2"] - [markdown-clj "0.9.44"] - [environ "0.5.0"] - [noir-exception "0.2.2"]] + [com.taoensso/tower "3.0.2"] + [markdown-clj "0.9.89"] + [environ "1.1.0"] + [noir-exception "0.2.5"]] + :source-paths ["src/clj" "src/cljc"] + :license {:name "GNU General Public License v2" + :url "http://www.gnu.org/licenses/gpl-2.0.html"} :repl-options {:init-ns mw-ui.repl} :plugins [[lein-ring "0.8.11"] [lein-environ "0.5.0"] @@ -37,8 +40,8 @@ :stacktraces? false :auto-reload? false}} :dev {:dependencies [[ring-mock "0.1.5"] - [ring/ring-devel "1.3.0"] - [pjstadig/humane-test-output "0.6.0"]] + [ring/ring-devel "1.5.0"] + [pjstadig/humane-test-output "0.8.1"]] :injections [(require 'pjstadig.humane-test-output) (pjstadig.humane-test-output/activate!)] :env {:dev true}}} diff --git a/resources/public/css/standard.css b/resources/public/css/standard.css index 131a881..62f3189 100644 --- a/resources/public/css/standard.css +++ b/resources/public/css/standard.css @@ -6,7 +6,7 @@ body { /* Overall container div, holds all content of page. Yes, I know it shouldn't have fixed width */ #main-container{ clear: both; -/* width:100%; */ + width:100%; } /* footer of the document */ @@ -145,4 +145,3 @@ th, td { text-align: left; padding: 0 0.25em; } - diff --git a/resources/templates/base.html b/resources/templates/base.html index 35c830b..46fe376 100644 --- a/resources/templates/base.html +++ b/resources/templates/base.html @@ -3,11 +3,7 @@ {{title}} - - - - {% script "/lib/jquery-1.9.0.js" %} {% script "/lib/jquery.validate.min.js" %} {% script "/lib/script.js" %} @@ -45,7 +41,9 @@ {% endif %} {% if error %}
-

{{error}}

+
+{{error}}
+      
{% endif %} @@ -57,7 +55,8 @@ Built with LuminusWeb || λ Powered by Clojure || Engineering and hosting by Journeyman || - World generated using MicroWorld Engine + World generated using MicroWorld Engine || + Version {{version}} diff --git a/resources/templates/inspector.html b/resources/templates/inspector.html index 7ba60b3..35441df 100644 --- a/resources/templates/inspector.html +++ b/resources/templates/inspector.html @@ -4,6 +4,7 @@ {{content|safe}}
+ {% csrf-field %}

diff --git a/resources/templates/params.html b/resources/templates/params.html index f0e13cb..c872da8 100644 --- a/resources/templates/params.html +++ b/resources/templates/params.html @@ -1,6 +1,7 @@ {% extends "templates/base.html" %} {% block content %} + {% csrf-field %}