From 001db8d71415bb0e8d6358c05adbfe832b604a60 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Wed, 15 Oct 2014 18:25:45 -0700 Subject: [PATCH] Bootstrap classes for form elements --- .../account/templates/account/login.html | 6 ++-- .../account/templates/account/setup.html | 10 +++---- .../admin/templates/admin/edit_user.html | 14 +++++----- .../modules/admin/templates/admin/users.html | 12 ++++---- .../modules/blog/templates/blog/delete.html | 2 +- .../modules/blog/templates/blog/update.html | 28 +++++++++---------- .../comment/templates/comment/edit.html | 7 ++--- .../comment/templates/comment/form.inc.html | 17 ++++++----- .../comment/templates/comment/privacy.html | 8 +++--- .../contact/templates/contact/index.html | 14 +++++----- .../templates/photos/arrange_albums.html | 2 +- .../templates/photos/arrange_photos.html | 2 +- .../modules/photo/templates/photos/crop.html | 2 +- .../photo/templates/photos/delete.html | 2 +- .../photo/templates/photos/delete_album.html | 2 +- .../modules/photo/templates/photos/edit.html | 6 ++-- .../photo/templates/photos/edit_album.html | 6 ++-- .../photo/templates/photos/edit_captions.html | 6 ++-- .../photo/templates/photos/upload.html | 10 +++---- 19 files changed, 77 insertions(+), 79 deletions(-) diff --git a/rophako/modules/account/templates/account/login.html b/rophako/modules/account/templates/account/login.html index 1fa4bbd..7e90419 100644 --- a/rophako/modules/account/templates/account/login.html +++ b/rophako/modules/account/templates/account/login.html @@ -11,12 +11,12 @@ Log In Username:
-

+

Passphrase:
-

+

- + diff --git a/rophako/modules/account/templates/account/setup.html b/rophako/modules/account/templates/account/setup.html index 53e1ec9..4e38eea 100644 --- a/rophako/modules/account/templates/account/setup.html +++ b/rophako/modules/account/templates/account/setup.html @@ -22,20 +22,20 @@ to create the initial Administrator user account.

a typical username.

Username:
-

+

Real name:
-

+

Passphrase:
This can be as long as you want. Pick something secure!
-

+

Confirm Passphrase:
-

+

- + diff --git a/rophako/modules/admin/templates/admin/edit_user.html b/rophako/modules/admin/templates/admin/edit_user.html index a5bcf5f..1a2c1be 100644 --- a/rophako/modules/admin/templates/admin/edit_user.html +++ b/rophako/modules/admin/templates/admin/edit_user.html @@ -21,23 +21,23 @@ $(document).ready(function() { User Details Username:
-

+

Real name:
-

+

Reset Password:
-
-

+
+

Role:
-

- - + + diff --git a/rophako/modules/admin/templates/admin/users.html b/rophako/modules/admin/templates/admin/users.html index 92c693f..dd6636d 100644 --- a/rophako/modules/admin/templates/admin/users.html +++ b/rophako/modules/admin/templates/admin/users.html @@ -13,24 +13,24 @@ Create New User Username:
-

+

Real name:
-

+

Passphrase:
-

+

Confirm:
-

+

Role:
- - +

User List

diff --git a/rophako/modules/blog/templates/blog/delete.html b/rophako/modules/blog/templates/blog/delete.html index f7efe00..4388987 100644 --- a/rophako/modules/blog/templates/blog/delete.html +++ b/rophako/modules/blog/templates/blog/delete.html @@ -11,7 +11,7 @@ Are you sure you want to delete the blog post, "{{ subject }}"?

- + {% endblock %} \ No newline at end of file diff --git a/rophako/modules/blog/templates/blog/update.html b/rophako/modules/blog/templates/blog/update.html index 556be5f..c1d5527 100644 --- a/rophako/modules/blog/templates/blog/update.html +++ b/rophako/modules/blog/templates/blog/update.html @@ -18,12 +18,12 @@ Subject:
-

+

Friendly ID:
You can leave this blank if this is a new post. It defaults to be based on the subject.
-

+

Body:

Avatar:
- {% for pic in avatars %} @@ -46,10 +46,10 @@ Categories:
Comma-separated list, e.g. General, HTML, Perl, Web Design
-

+

Privacy:
- @@ -69,20 +69,20 @@

Time Stamp:
- / - / - @ - : - : -
+ / + / + @ + : + : +
mm / dd / yyyy @ hh:mm:ss

- - + + {% endblock %} diff --git a/rophako/modules/comment/templates/comment/edit.html b/rophako/modules/comment/templates/comment/edit.html index 9a532fa..9ef655f 100644 --- a/rophako/modules/comment/templates/comment/edit.html +++ b/rophako/modules/comment/templates/comment/edit.html @@ -16,15 +16,14 @@ Current preview of the comment:

- Message:
-
+
Comments can be formatted with Markdown, and you can use
emoticons in your comment.

- - + + {% endblock %} \ No newline at end of file diff --git a/rophako/modules/comment/templates/comment/form.inc.html b/rophako/modules/comment/templates/comment/form.inc.html index 8358be5..140d288 100644 --- a/rophako/modules/comment/templates/comment/form.inc.html +++ b/rophako/modules/comment/templates/comment/form.inc.html @@ -14,7 +14,7 @@ {% if session["login"] %} {{ session["name"] }} {% else %} - + {% endif %} @@ -23,8 +23,7 @@ Your Email: - - (optional) + @@ -32,7 +31,7 @@ Message: -
+
Comments can be formatted with Markdown, and you can use
emoticons in your comment.
@@ -51,15 +50,15 @@

If you can see this, don't touch the following fields.
-
- +
+
{% if preview %} - - + + {% else %} - + {% endif %} diff --git a/rophako/modules/comment/templates/comment/privacy.html b/rophako/modules/comment/templates/comment/privacy.html index 4b66bf6..26eddc3 100644 --- a/rophako/modules/comment/templates/comment/privacy.html +++ b/rophako/modules/comment/templates/comment/privacy.html @@ -46,14 +46,14 @@ e-mail address in the form below.

Enter the e-mail address to be unsubscribed from all threads:
-

+

- +

If you can see this, do not touch these fields.
-
- +
+
diff --git a/rophako/modules/contact/templates/contact/index.html b/rophako/modules/contact/templates/contact/index.html index 4fe6fc5..6094e79 100644 --- a/rophako/modules/contact/templates/contact/index.html +++ b/rophako/modules/contact/templates/contact/index.html @@ -13,35 +13,35 @@ You can use the form below to send me an e-mail.

Your name:
(so I know who you are)
- + Your email:
(if you want a response)
- + Message subject:
(optional)
-

+

Message:
(required)
- + - +

If you can see these boxes, don't touch them.
-
- +
+
diff --git a/rophako/modules/photo/templates/photos/arrange_albums.html b/rophako/modules/photo/templates/photos/arrange_albums.html index 8735917..c5a582f 100644 --- a/rophako/modules/photo/templates/photos/arrange_albums.html +++ b/rophako/modules/photo/templates/photos/arrange_albums.html @@ -9,7 +9,7 @@ Drag and drop your albums in the positions you want them in.

- +

diff --git a/rophako/modules/photo/templates/photos/arrange_photos.html b/rophako/modules/photo/templates/photos/arrange_photos.html index a97231c..f3c9bb9 100644 --- a/rophako/modules/photo/templates/photos/arrange_photos.html +++ b/rophako/modules/photo/templates/photos/arrange_photos.html @@ -9,7 +9,7 @@ Drag and drop your photos in the positions you want them in.

- +

diff --git a/rophako/modules/photo/templates/photos/crop.html b/rophako/modules/photo/templates/photos/crop.html index 3cb6a2f..4365ec0 100644 --- a/rophako/modules/photo/templates/photos/crop.html +++ b/rophako/modules/photo/templates/photos/crop.html @@ -26,7 +26,7 @@ crop.

- + diff --git a/rophako/modules/photo/templates/photos/delete.html b/rophako/modules/photo/templates/photos/delete.html index d6cd0e3..86b4e93 100644 --- a/rophako/modules/photo/templates/photos/delete.html +++ b/rophako/modules/photo/templates/photos/delete.html @@ -10,7 +10,7 @@ Are you sure you want to delete this photo?

- + {% endblock %} \ No newline at end of file diff --git a/rophako/modules/photo/templates/photos/delete_album.html b/rophako/modules/photo/templates/photos/delete_album.html index ef098c6..ca2c075 100644 --- a/rophako/modules/photo/templates/photos/delete_album.html +++ b/rophako/modules/photo/templates/photos/delete_album.html @@ -8,7 +8,7 @@ Are you sure you want to delete the album {{ album }}?

- + {% endblock %} \ No newline at end of file diff --git a/rophako/modules/photo/templates/photos/edit.html b/rophako/modules/photo/templates/photos/edit.html index b00cf17..10b5066 100644 --- a/rophako/modules/photo/templates/photos/edit.html +++ b/rophako/modules/photo/templates/photos/edit.html @@ -10,10 +10,10 @@ Photo Caption:
-

+

Description:
-
+
Use Markdown syntax.

Rotate: @@ -30,7 +30,7 @@ 180°

- + {% endblock %} \ No newline at end of file diff --git a/rophako/modules/photo/templates/photos/edit_album.html b/rophako/modules/photo/templates/photos/edit_album.html index 8af0e10..1cdb18f 100644 --- a/rophako/modules/photo/templates/photos/edit_album.html +++ b/rophako/modules/photo/templates/photos/edit_album.html @@ -8,10 +8,10 @@ Album Title:
-

+

Description:
-
+
Use Markdown syntax.

Display Format:
@@ -24,7 +24,7 @@ Vertical: Display all full size photos in one vertical view.

- + diff --git a/rophako/modules/photo/templates/photos/edit_captions.html b/rophako/modules/photo/templates/photos/edit_captions.html index cae5628..443ed19 100644 --- a/rophako/modules/photo/templates/photos/edit_captions.html +++ b/rophako/modules/photo/templates/photos/edit_captions.html @@ -17,16 +17,16 @@ All captions use Markdown syntax.

Caption:
-

+

Description:
- + {% endfor %}

- + diff --git a/rophako/modules/photo/templates/photos/upload.html b/rophako/modules/photo/templates/photos/upload.html index e29338c..86ce373 100644 --- a/rophako/modules/photo/templates/photos/upload.html +++ b/rophako/modules/photo/templates/photos/upload.html @@ -30,7 +30,7 @@ somewhere else on the Internet.

Upload a picture from the Internet
- +

@@ -43,7 +43,7 @@ somewhere else on the Internet. Photo Options Photo album:
- {% for album in album_list %} @@ -54,10 +54,10 @@ somewhere else on the Internet.

New album:
-

+

Album Description:
-
+
Shows up at the top of the album. Use Markdown formatting.

@@ -73,7 +73,7 @@ somewhere else on the Internet.

- +