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 03:31:11 UTC
svn commit: r1551811 -
/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_form.html
Author: rjollos
Date: Wed Dec 18 02:31:10 2013
New Revision: 1551811
URL: http://svn.apache.org/r1551811
Log:
0.8dev: Added Bootstrap styling to the diff form.
Modified:
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_form.html
Modified: 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=1551811&r1=1551810&r2=1551811&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_form.html (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_form.html Wed Dec 18 02:31:10 2013
@@ -16,53 +16,66 @@
</head>
<body>
- <div id="content" class="changeset">
- <div id="title">
+ <div id="content" class="changeset row">
+ <div id="title" class="span12">
<h1>Prepare Diff</h1>
</div>
- <div id="anydiff">
- <form action="${href.changeset()}" method="get">
+ <div id="anydiff" class="span12">
+ <form action="${href.changeset()}" method="get" class="form well">
<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">
+ <div class="controls controls-row">
+ <div class="control-group span9">
+ <label class="control-label" for="new_path">From:</label>
+ <div class="controls">
+ <input type="text" id="old_path" name="old_path" value="$old_path"
+ class="input-block-level" />
+ </div>
+ </div>
+ <div class="control-group span2">
+ <label class="control-label" for="old">at revision:</label>
+ <div class="controls">
+ <input type="text" id="old" name="old" value="$old_rev"
+ class="input-block-level" />
+ </div>
+ </div>
+ </div>
+ <div class="controls controls-row">
+ <div class="control-group span9">
+ <label class="control-label" for="new_path">To:</label>
+ <div class="controls">
+ <input type="text" id="new_path" name="new_path" value="$new_path"
+ class="input-block-level" />
+ </div>
+ </div>
+ <div class="control-group span2">
+ <label class="control-label" for="new">at revision:</label>
+ <div class="controls">
+ <input type="text" id="new" name="new" value="$new_rev"
+ class="input-block-level" />
+ </div>
+ </div>
+ </div>
+ <p class="help-block">
+ <span class="label label-info">Note</span>
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 class="form-actions">
+ <button type="submit" class="btn">View changes</button>
</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 id="help" class="span12" i18n:msg="">
+ <p class="help-block">
+ <strong>Note:</strong> See
+ <a href="${href.wiki('TracChangeset')}#ExaminingDifferencesBetweenBranches">TracChangeset</a>
+ for help on using the diff feature.
+ </p>
</div>
</div>
</body>