Permalink
Browse files

Misc text/HTML cleanups and docs.

  • Loading branch information...
1 parent 05b3e09 commit 2eb0a420f1c8bf86d893633e1109008a04087a86 @bradfitz committed Mar 22, 2010
Showing with 13 additions and 7 deletions.
  1. +2 −0 create.html
  2. +4 −4 index.html
  3. +7 −3 project.html
View
@@ -12,4 +12,6 @@
<input type='submit' value='Create' />
</form>
+ <p><small><i>Note:</i> project name must match regexp <tt>/^[a-z][a-z0-9\.\-]*[a-z0-9]$/</tt>. yes, lowercase.</small></p>
+
{% endblock %}
View
@@ -3,7 +3,7 @@
{% block title %}Contributing{% endblock %}
{% block content %}
- <div style='width: 35em; background: #ccc'><p style='color: red; font-weight: bold; text-align: center'>Site is new &amp; a work in progress. Want to <a href='/contributing'>help</a>?</a></div>
+ <div style='width: 40em; background: #ccc'><p style='font-weight: bold; text-align: center'>Site is new &amp; a work in progress. Want to <a href='/contributing'>help</a>?</a></div>
<p>This is <b>Contributing</b>, a community resource dedicated to
keeping up-to-date information on how to contribute to open
@@ -15,15 +15,15 @@
still contain a pointer to recent information on how to
contribute.</p>
- <p>Also, this site allows for <a href="#">project take-overs</a>,
+ <p>Also, this site [will] allow for project take-overs,
if the original maintainer(s) disappear and don't keep their
information fresh.</p>
<p>Example project pages:</p>
<ul>
<li><a href="/memcached">http://contributing.appspot.com/memcached</a></li>
- <li><a href="/contributing">http://contributing.appspot.com/contributing</a> -- this site itself</li>
+ <li><a href="/contributing">http://contributing.appspot.com/contributing</a> &mdash; this site itself</li>
</ul>
<p>Also note: this site is explicitly <b>not</b> a social network, a
@@ -33,7 +33,7 @@
to keep running and minimizes risks of it shutting down due to
lack of funds or forgotten domain name renewals.</p>
- <p>Feel free to <a href='/s/create'>create a project page</a> or
+ <p>Feel free to <a href='/s/create'><b>create a project page</b></a> or
<a href='/s/browse'>browse existing projects</a>.</p>
{% endblock %}
View
@@ -22,6 +22,10 @@
{% endif %}
{% if edit_mode %}
+
+<p><b>Note:</b> all fields are free-form text. No HTML allowed, but
+fields auto-linkify any URL(s) and auto-add &lt;br/&gt; tags.</p>
+
<form method='POST' action='/s/editproject'>
<input type='hidden' name='project' value='{{project_key}}' />
{% endif %}
@@ -31,7 +35,7 @@
<td align='right' class='f'>Project homepage:</td>
<td>
{% if edit_mode %}
- <input name='home_page' value="{{ project.home_page|escape }}" size='40' />
+ <input name='home_page' value="{{ project.home_page|escape }}" size='50' />
{% else %}
{{ project.home_page|linkify }}
{% endif %}
@@ -41,7 +45,7 @@
<td align='right' class='f'><nobr>Code repository:</nobr></td>
<td>
{% if edit_mode %}
- <input name='code_repo' value="{{ project.code_repo|escape }}" size='40' />
+ <input name='code_repo' value="{{ project.code_repo|escape }}" size='50' />
{% else %}
{{ project.code_repo|linkify }}
{% endif %}
@@ -51,7 +55,7 @@
<td align='right' class='f'><nobr>Bug Tracker:</nobr></td>
<td>
{% if edit_mode %}
- <input name='bug_tracker' value="{{ project.bug_tracker|escape }}" size='40' />
+ <input name='bug_tracker' value="{{ project.bug_tracker|escape }}" size='50' />
{% else %}
{{ project.bug_tracker|linkify }}
{% endif %}

0 comments on commit 2eb0a42

Please sign in to comment.