improve
authorymh <ymh.work@gmail.com>
Tue, 12 Jul 2011 14:11:43 +0200
changeset 92 4b014b4b15d0
parent 91 ee03c108a49f
child 93 43e1e4dc4bdb
improve - sort icons - login screen
web/hdabo/settings.py
web/hdabo/static/hdabo/css/style.css
web/hdabo/static/hdabo/img/sort-asc.png
web/hdabo/static/hdabo/img/sort-desc.png
web/hdabo/templates/registration/login.html
--- a/web/hdabo/settings.py	Tue Jul 12 13:42:48 2011 +0200
+++ b/web/hdabo/settings.py	Tue Jul 12 14:11:43 2011 +0200
@@ -169,7 +169,7 @@
 from hdabo.config import * #@UnusedWildImport
 
 if 'LOGIN_REDIRECT_URL' not in locals():
-    LOGIN_REDIRECT_URL = BASE_URL
+    LOGIN_REDIRECT_URL = BASE_URL + "hdabo"
 if 'LOGIN_URL' not in locals():
     LOGIN_URL = BASE_URL + "hdabo/accounts/login"
 
--- a/web/hdabo/static/hdabo/css/style.css	Tue Jul 12 13:42:48 2011 +0200
+++ b/web/hdabo/static/hdabo/css/style.css	Tue Jul 12 14:11:43 2011 +0200
@@ -391,5 +391,13 @@
 }
 
 #tags_actions span {
-	margin-left: 5px
+	margin-left: 5px;
 }
+
+#loginform_div {
+	margin-left: 10px;
+}
+
+#login_fields_list, #submitcontent-buttons-login {
+	margin: 10px 0px;
+}
\ No newline at end of file
Binary file web/hdabo/static/hdabo/img/sort-asc.png has changed
Binary file web/hdabo/static/hdabo/img/sort-desc.png has changed
--- a/web/hdabo/templates/registration/login.html	Tue Jul 12 13:42:48 2011 +0200
+++ b/web/hdabo/templates/registration/login.html	Tue Jul 12 14:11:43 2011 +0200
@@ -10,12 +10,14 @@
              <div id="loginform_div" class="span-12">
              {% csrf_token %}
              <input type="hidden" name="next" value="{{ next }}" />
-             <ul id="login_fields_list">
-             {{form.as_ul}}
-             </ul>
-             <ul>
-                 <li><a href="{% url django.contrib.auth.views.password_reset  %}" >{% trans "Forget password?" %}</a></li>
-             </ul>
+             <div id="login_fields_list">
+             <table>
+             {{form.as_table}}
+             </table>
+             </div>
+             <div>
+                 <a href="{% url django.contrib.auth.views.password_reset  %}" >{% trans "Forget password?" %}</a>
+             </div>
              <div id="submitcontent-buttons-login" class="span-24 last">
                  <button class="button"type="submit" value="login">{% trans "login" %}</button>
              </div>