Fix some button spacings.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 14 Jan 2011 11:39:29 +0000 (12:39 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 14 Jan 2011 11:39:29 +0000 (12:39 +0100)
src/main/resources/static/css/sone.css
src/main/resources/templates/deleteProfileField.html
src/main/resources/templates/editProfileField.html

index bbe6fd4..445d841 100644 (file)
@@ -438,7 +438,7 @@ textarea {
        display: inline;
 }
 
-#sone .profile-field {
+#sone .profile-field, #sone #edit-profile button[type=submit], #sone #delete-profile-field {
        margin-top: 1em;
 }
 
index 22b96c1..b2bac28 100644 (file)
@@ -9,7 +9,7 @@
                <div class="value"><% fieldValue|html></div>
        </div>
 
-       <form method="post">
+       <form id="delete-profile-field" method="post">
                <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                <input type="hidden" name="field" value="<% fieldIndex>" />
                <button type="submit" name="confirm" value="true"><%= Page.DeleteProfileField.Button.Yes|l10n|html></button>
index c3f7f70..5ad4453 100644 (file)
                        <input type="text" name="name" value="<% fieldName|html>" />
                        <button type="submit" name="save" value="true"><%= Page.EditProfileField.Button.Save|l10n|html></button>
                </div>
-               <div>
+               <p>
                        <button type="reset"><%= Page.EditProfileField.Button.Reset|l10n|html></button>
                        <button type="submit" name="cancel" value="true"><%= Page.EditProfileField.Button.Cancel|l10n|html></button>
-               </div>
+               </p>
        </form>
 
 <%include include/tail.html>