Matthew Marshall avatar Matthew Marshall committed 6c1cbca

added about page... tweaked some stuff.

Comments (0)

Files changed (5)

templates/base.html

 <body>
 <div class="container">
     <div id="header" class="span-24">
-        <div class="span-14">
+        <div style="float:left">
             <h1 style="margin-bottom:5px;"><a style="text-decoration:none;" href="http://freehg.org">freeHg.org</a></h1>
             <h5>Quick and easy hosting for <a href="http://selenic.com/mercurial/">Mercurial</a></h5>
         </div>
 
         <div id="login-info">
             {% if user.is_authenticated %}
-                You are logged in as <span id=#username>{{user.username}}</span>. (<a href="/accounts/profile/">Profile</a> | <a href="/accounts/change_password/">Change Password</a> | <a href="/accounts/logout/">Logout</a>)
+                You are logged in as <span id="username">{{user.username}}</span>. (<a href="/accounts/profile/">Profile</a> | <a href="/accounts/change_password/">Change Password</a> | <a href="/accounts/logout/">Logout</a>)
             {% else %}
                 (<a href="/accounts/login/">Login</a>)
             {% endif %}
     {% block content %}
 
     {% endblock %}
+    <div class="span-24">
+        Site copyright 2008 by <a href="http://matthewmarshall.org/contact/">Matthew Marshall</a>. | <a href="/about/">About</a> | <a href="/tos/">Terms of Service</a>
+    </div>
 </div>
 </body>
 </html>

templates/frontpage.html

 
 {% block content %}
 
+<div class="span-14 border">
+
 <form action='.' method='post'>
 
-<div class="span-14 border">
-
     <fieldset>
     <legend>Create a repository:</legend>
     {% for field in repo_form %}
         <input type='submit' name='newaccount'  value='Create new account' />
         </fieldset>
     </div>
+{% endif %}
+</form>
 </div>
 
 <div class="span-8 last">
-<h3>What is this site?</h3>
+<h5>What is this site?</h5>
 <p>
-<a href="http://selenic.com/mercurial/">
+<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.
+</p>
+
+<p>
+freeHg.org makes it quick and easy for developers to publish their Hg repositories.
 </p>
 </div>
-{% endif %}
-</form>
 
 <script type="text/javascript">
 $(document).ready(function (){

templates/profile.html

 </div>
 
 <div id="change-profile" class=" span-8 align-form box">
-<form method="post" target=".">
+<form method="post" action=".">
 {{form.as_p}}
 <input type="submit" value="Update Profile"/>
 </form>

templates/tos.html

 <h2>Terms of Service</h2>
 
 <div class="span-10">
-    <p>You may only upload content to freeHg.org that you own or are given permission to distribute by the owner.</p>
-    <p>Content in the repositories hosted by freeHg.org is the responsibility of it's respective owner.</p>
+    <p>You may only upload content to freeHg.org that is licensed for redistribution under a license endorsed by the OSAF or Creative Commons.  (FIXME provide links and make this more explicit.)</p>
+    <p>Content in the repositories hosted by freeHg.org is the responsibility of their respective owners.</p>
     <p>freeHg.org is not responsible for any damages that arise from using the service.</p>
 
     <pre>
             'django.contrib.auth.views.password_change_done'),
 
     (r'^tos/', direct_to_template, {'template':'tos.html'}),
+    (r'^about/', direct_to_template, {'template':'about.html'}),
 
     # Uncomment this for admin:
     (r'^admin/', include('django.contrib.admin.urls')),
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.