You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by rj...@apache.org on 2013/12/18 01:44:46 UTC

svn commit: r1551782 - in /bloodhound/trunk/bloodhound_theme/bhtheme: templates/bh_diff_form.html theme.py

Author: rjollos
Date: Wed Dec 18 00:44:46 2013
New Revision: 1551782

URL: http://svn.apache.org/r1551782
Log:
0.8dev: Copied `diff_form.html` to `bh_diff_form.html` and added entry to template map.

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

Added: bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_form.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_form.html?rev=1551782&view=auto
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_form.html (added)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_form.html Wed Dec 18 00:44:46 2013
@@ -0,0 +1,69 @@
+<!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:i18n="http://genshi.edgewall.org/i18n"
+      xmlns:xi="http://www.w3.org/2001/XInclude">
+  <xi:include href="layout.html" />
+  <head>
+    <title>Prepare Diff</title>
+    <script type="text/javascript">
+      jQuery(document).ready(function($) {
+        $("#anydiff input[name$='_path']").suggest();
+      });
+    </script>
+  </head>
+
+  <body>
+    <div id="content" class="changeset">
+      <div id="title">
+        <h1>Prepare Diff</h1>
+      </div>
+
+      <div id="anydiff">
+        <form action="${href.changeset()}" method="get">
+          <fieldset>
+            <legend>Select the base and the target for the diff:</legend>
+            <table>
+              <tr>
+                <th><label for="old_path">From:</label></th>
+                <td>
+                  <input type="text" id="old_path" name="old_path"
+                         value="$old_path" size="44" />
+                  <label>at revision:
+                    <input type="text" name="old" value="$old_rev" size="4" />
+                  </label>
+                </td>
+              </tr>
+              <tr>
+                <th><label for="new_path">To:</label></th>
+                <td>
+                  <input type="text" id="new_path" name="new_path"
+                         value="$new_path" size="44" />
+                  <label>at revision:
+                    <input type="text" name="new" value="$new_rev" size="4" />
+                  </label>
+                </td>
+              </tr>
+            </table>
+            <p class="hint">
+              For either path, you can start typing the path and will be
+              presented a list of existing directories and files to select
+              from. Select an entry by clicking on it, or by using the
+              up/down cursor keys and hitting tab.
+            </p>
+          </fieldset>
+          <div class="buttons">
+            <input type="submit" value="${_('View changes')}" />
+          </div>
+        </form>
+      </div>
+      <div id="help" i18n:msg="">
+        <strong>Note:</strong> See
+        <a href="${href.wiki('TracChangeset')}#ExaminingDifferencesBetweenBranches">TracChangeset</a>
+        for help on using the diff feature.
+      </div>
+    </div>
+  </body>
+</html>

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

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py?rev=1551782&r1=1551781&r2=1551782&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Wed Dec 18 00:44:46 2013
@@ -129,6 +129,7 @@ class BloodhoundTheme(ThemeBase):
         # Version control
         'browser.html': ('bh_browser.html', '_modify_browser'),
         'changeset.html': ('bh_changeset.html', None),
+        'diff_form.html': ('bh_diff_form.html', None),
         'dir_entries.html': ('bh_dir_entries.html', None),
         'revisionlog.html': ('bh_revisionlog.html', '_modify_browser'),