Matthew Marshall  committed 6c1cbca

added about page... tweaked some stuff.

  • Participants
  • Parent commits ba019e5

Comments (0)

Files changed (5)

File templates/base.html

 <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=""></a></h1>
             <h5>Quick and easy hosting for <a href="">Mercurial</a></h5>
         <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="">Matthew Marshall</a>. | <a href="/about/">About</a> | <a href="/tos/">Terms of Service</a>
+    </div>

File templates/frontpage.html

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

File templates/profile.html

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

File templates/tos.html

 <h2>Terms of Service</h2>
 <div class="span-10">
-    <p>You may only upload content to that you own or are given permission to distribute by the owner.</p>
-    <p>Content in the repositories hosted by is the responsibility of it's respective owner.</p>
+    <p>You may only upload content to 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 is the responsibility of their respective owners.</p>
     <p> is not responsible for any damages that arise from using the service.</p>
     (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')),