From: David ‘Bombe’ Roden Date: Wed, 20 Oct 2010 14:01:30 +0000 (+0200) Subject: Move Sone creation to its own template. X-Git-Tag: 0.1-RC1~150 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=8b8fb600cdf97c3470b2471d917b39dd0c9cff14;p=Sone.git Move Sone creation to its own template. --- diff --git a/src/main/resources/static/css/sone.css b/src/main/resources/static/css/sone.css index 195708a..3787f27 100644 --- a/src/main/resources/static/css/sone.css +++ b/src/main/resources/static/css/sone.css @@ -261,6 +261,10 @@ display: inline; } +#sone #create-sone { + +} + #sone #tail .import-key { margin-top: 1em; border-top: solid 1px #ccc; diff --git a/src/main/resources/templates/createSone.html b/src/main/resources/templates/createSone.html index 71d7366..eb92652 100644 --- a/src/main/resources/templates/createSone.html +++ b/src/main/resources/templates/createSone.html @@ -3,30 +3,6 @@

<%= Page.Login.CreateSone.Title|l10n|html>

<%= Page.Login.CreateSone.Description|l10n|html>
-
- - class="error"<%/if>> - - - -
- - -
- class="error"<%/if>> - - - - class="error"<%/if>> - - - -
- -
-
- -
- + <%include include/createSone.html> <%include include/tail.html> diff --git a/src/main/resources/templates/include/createSone.html b/src/main/resources/templates/include/createSone.html new file mode 100644 index 0000000..318effe --- /dev/null +++ b/src/main/resources/templates/include/createSone.html @@ -0,0 +1,25 @@ +
+ + class="error"<%/if>> + + + +
+ + +
+
+ +
+ class="error"<%/if>> + + + + class="error"<%/if>> + + + +
+ +
+ diff --git a/src/main/resources/templates/login.html b/src/main/resources/templates/login.html index 804ac83..7f300b8 100644 --- a/src/main/resources/templates/login.html +++ b/src/main/resources/templates/login.html @@ -30,31 +30,9 @@ +

<%= Page.Login.CreateSone.Title|l10n|html>

<%= Page.Login.CreateSone.Description|l10n|html>
-
- -
- - -
-
- - -
-
- - -
-
- - -
-
- -
-
- -
-
+ <%include include/createSone.html> + <%include include/tail.html>