[#510] Restyled wiki to use new theme

Jenny Steele Jenny Steele 2010-06-07

changed ForgeTracker/forgetracker/templates/index.html
changed ForgeWiki/forgewiki/nf/Wiki/js/wiki.js
changed ForgeWiki/forgewiki/templates/admin_home.html
changed ForgeWiki/forgewiki/templates/admin_options.html
changed ForgeWiki/forgewiki/templates/browse.html
changed ForgeWiki/forgewiki/templates/browse_tags.html
changed ForgeWiki/forgewiki/templates/markdown_syntax.html
changed ForgeWiki/forgewiki/templates/page_diff.html
changed ForgeWiki/forgewiki/templates/page_edit.html
changed ForgeWiki/forgewiki/templates/page_history.html
changed ForgeWiki/forgewiki/templates/page_view.html
changed ForgeWiki/forgewiki/templates/search.html
changed ForgeWiki/forgewiki/templates/wiki_help.html
changed ForgeWiki/forgewiki/wiki_main.py
changed pyforge/pyforge/lib/widgets/templates/subscribe.html
changed pyforge/pyforge/lib/widgets/form_fields.py
changed pyforge/pyforge/templates/master.html
changed pyforge/pyforge/templates/style.css
copied ForgeWiki/forgewiki/templates/index.html -> pyforge/pyforge/lib/widgets/templates/attachment_add.html
ForgeTracker/forgetracker/templates/index.html Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/nf/Wiki/js/wiki.js Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/templates/admin_home.html Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/templates/admin_options.html Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/templates/browse.html Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/templates/browse_tags.html Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/templates/markdown_syntax.html Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/templates/page_diff.html Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/templates/page_edit.html Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/templates/page_history.html Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/templates/page_view.html Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/templates/search.html Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/templates/wiki_help.html Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/wiki_main.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/lib/widgets/templates/subscribe.html Diff Switch to side-by-side view
Loading...
pyforge/pyforge/lib/widgets/form_fields.py Diff Switch to side-by-side view
Loading...
pyforge/pyforge/templates/master.html Diff Switch to side-by-side view
Loading...
pyforge/pyforge/templates/style.css Diff Switch to side-by-side view
Loading...
ForgeWiki/forgewiki/templates/index.html to pyforge/pyforge/lib/widgets/templates/attachment_add.html
--- a/ForgeWiki/forgewiki/templates/index.html
+++ b/pyforge/pyforge/lib/widgets/templates/attachment_add.html
@@ -1,30 +1,18 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
-                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"
+<form xmlns="http://www.w3.org/1999/xhtml"
       xmlns:py="http://genshi.edgewall.org/"
-      xmlns:xi="http://www.w3.org/2001/XInclude">
-
-  <xi:include href="wiki_master.html"/>
-
-  <head>
-    <meta content="text/html; charset=UTF-8" http-equiv="content-type" py:replace="''"/>
-    <title>ForgeWiki Index Page</title>
-  </head>
-  
-  <body>
-    <h1 class="title">Welcome to ForgeWiki</h1>
-    <h2>Project: $c.project.shortname</h2>
-    <form method="GET" ACTION="new_page">
-      New Page Title: <input name="title"/><br/>
-    </form>
-    <h2>The message is <span style="background-color:#fdd">$message</span></h2>
-    <a href="Root/">Root Page</a>
-    <p>The app config follows</p>
-    <dl>
-      <py:for each="name, value in c.app.config.options.iteritems()">
-        <dt>$name</dt>
-        <dd>$value</dd>
-      </py:for>
-    </dl>
-  </body>
-</html>
+      xmlns:xi="http://www.w3.org/2001/XInclude"
+      method="post"
+      action="$action"
+      enctype="multipart/form-data">
+      <input type="button" value="Add attachment" class="attachment_form_add_button"/>
+      <ol class="attachment_form_fields" style="display:none">
+        <li>
+          <label for="$name">File to upload</label>
+          <input type="file" class="text" name="$name" id="$name"/>
+        </li>
+        <li>
+          <label>&nbsp;</label>
+          <input type="submit" class="ui-state-default ui-button ui-button-text" value="Attach file"/>
+        </li>
+      </ol>
+</form>