bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1335520 - in /incubator/bloodhound/trunk/bloodhound_theme/bhtheme: templates/bh_wiki_rename.html theme.py
Date Tue, 08 May 2012 13:54:01 GMT
Author: gjm
Date: Tue May  8 13:54:00 2012
New Revision: 1335520

URL: http://svn.apache.org/viewvc?rev=1335520&view=rev
Log:
theme: wiki_rename template updated to bootstrap - towards #58 (from olemis)

Added:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_rename.html   (with
props)
Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py

Added: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_rename.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_rename.html?rev=1335520&view=auto
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_rename.html (added)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_rename.html Tue
May  8 13:54:00 2012
@@ -0,0 +1,40 @@
+<!DOCTYPE html
+    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"
+      xmlns:py="http://genshi.edgewall.org/"
+      xmlns:xi="http://www.w3.org/2001/XInclude"
+      xmlns:i18n="http://genshi.edgewall.org/i18n">
+  <xi:include href="layout.html" />
+  <head>
+    <title>$title</title>
+  </head>
+
+  <body>
+    <div id="content" class="wiki row" py:with="current_href = href.wiki(page.name)">
+      <div class="span12">
+        <h1 i18n:msg="name">Rename <a href="$current_href">$page.name</a></h1>
+        <form id="rename-form" action="$current_href" method="post">
+          <input type="hidden" name="action" value="rename"/>
+          <p class="help-block">
+            <span class="label label-important">Caution</span>
+            <strong>Renaming the page will rename all existing versions of the page
in place.</strong><br/>
+            The complete history of the page will be moved to the new location.
+          </p>
+          <label for="new_name">New name: </label>
+          <input type="text" id="new_name" name="new_name" size="40" value="$new_name"/>
+          <br/>
+          <label for="redirect" class="checkbox">
+            <input type="checkbox" id="redirect" name="redirect"/>
+            Leave a redirection page at the old location
+          </label>
+          <br/><br/>
+          <div class="control-group">
+            <input class="btn btn-inverse" type="submit" name="cancel" value="${_('Cancel')}"/>
+            <input class="btn" type="submit" name="submit" value="${_('Rename page')}"/>
+          </div>
+        </form>
+      </div>
+    </div>
+  </body>
+</html>

Propchange: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_rename.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_rename.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py?rev=1335520&r1=1335519&r2=1335520&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Tue May  8 13:54:00 2012
@@ -95,6 +95,7 @@ class BloodhoundTheme(ThemeBase):
 
         # Wiki
         'wiki_edit.html' : ('bh_wiki_edit.html', None),
+        'wiki_rename.html' : ('bh_wiki_rename.html', None),
         'wiki_view.html' : ('bh_wiki_view.html', '_modify_wiki_page_path'),
     }
 



Mime
View raw message