Commits

Anonymous committed 9a8843e

made forms look better. Also fixed login page.

Comments (0)

Files changed (4)

htdocs/static/blueprint/screen.css

 .prepend-17 {padding-left:680px;}
 .prepend-18 {padding-left:720px;}
 .prepend-19 {padding-left:760px;}
-div.border {padding:10px 4px 0 0;margin-right:5px;border-right:1px solid #ddd;}
+/* div.border {padding:10px 4px 0 0;margin-right:5px;border-right:1px solid #ddd;} */
 div.colborder {padding-right:24px;margin-right:25px;border-right:1px solid #ddd;}
 .pull-1 {margin-left:-40px;}
 .pull-2 {margin-left:-80px;}

templates/base.html

 div.align-form p, div.align-form ul.errorlist {clear:both;}
 
 .help-text {color:#666666;font-style:italic;}
-fieldset {border:0px;}
+fieldset {border:0; background-color:#ccc;}
+legend {background-color:#ccc;padding:0 10px;}
 
 input.short {width:220px;padding:5px;}
 textarea {height:100px;}

templates/frontpage.html

 <div class="span-4 last about">
 <h5>What is this site?</h5>
 <p>
-<a href="http://selenic.com/mercurial/">Mercurial</a> [Hg for short] is a Distributed Version Control System. [DVCS for confusing]  Instead of using a single repository per project, each developer can have their own repository.
+<a href="http://selenic.com/mercurial/">Mercurial</a> [<b>Hg</b> for short] is a Distributed Version Control System. [DVCS for confusing]  Instead of using a single repository per project, each developer can have their own repository.
 </p>
 
 <p>

templates/registration/login.html

 {% if error_message %}
 <p class="error">{{ error_message }}</p>
 {% endif %}
-<div id="span-19 clear last">
+
 <form action="{{ app_path }}" method="post" id="login-form">
-  <div class="form-row span-16">
-    {% if form.username.errors %}{{ form.username.html_error_list }}{% endif %}
-    <p><label for="id_username">{% trans 'Username:' %}</label> <br /><input type="text" name="username" id="id_username" /></p>
-  </div>
-  <div class="form-row span-16 clear">
-    {% if form.password.errors %}{{ form.password.html_error_list }}{% endif %}
-    <p><label for="id_password">{% trans 'Password:' %}</label><br /> <input type="password" name="password" id="id_password" /></p>
-    <input type="hidden" name="this_is_the_login_form" value="1" />
-    <input type="hidden" name="post_data" value="{{ post_data }}" />
-  </div>
-  <div class="submit-row clear">
-    <label>&nbsp;</label><input type="submit" value="{% trans 'Log in' %}" />
-  </div>
+<div class="span-7 last">
+    <fieldset>
+        <legend>Login:</legend>
+        {% if form.username.errors %}{{ form.username.html_error_list }}{% endif %}
+        <p><label for="id_username">{% trans 'Username:' %}</label> <br /><input type="text" name="username" id="id_username" /></p>
+
+        {% if form.password.errors %}{{ form.password.html_error_list }}{% endif %}
+        <p><label for="id_password">{% trans 'Password:' %}</label><br /> <input type="password" name="password" id="id_password" /></p>
+        <input type="hidden" name="this_is_the_login_form" value="1" />
+        <input type="hidden" name="post_data" value="{{ post_data }}" />
+
+        <label>&nbsp;</label><input type="submit" value="{% trans 'Log in' %}" />
+    </fieldset>
+</div>
 </form>
 
 <script type="text/javascript">