Skip to content

Commit

Permalink
Fix HTML errors on 2 templates
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Jun 22, 2016
1 parent d722dd3 commit 03bf426
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 24 deletions.
32 changes: 15 additions & 17 deletions templates/webapps/galaxy/dataset/copy_view.mako
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
${parent.javascripts()}
${handle_refresh_frames}
${handle_refresh_frames()}
<script type="text/javascript">
$(function() {
Expand All @@ -22,22 +22,22 @@
</%def>

%if error_msg:
<p>
<div>
<div class="errormessage">${error_msg}</div>
<div style="clear: both"></div>
</p>
</div>
%endif
%if done_msg:
<p>
<div>
<div class="donemessage">${done_msg}</div>
<div style="clear: both"></div>
</p>
</div>
%endif
<p>
<div>
<div class="infomessage">Copy any number of history items from one history to another.</div>
<div style="clear: both"></div>
</p>
<p>
</div>
<div>
<form method="post">
<div class="toolForm" style="float: left; width: 45%; padding: 0px;">
<div class="toolFormTitle">Source History:<br />
Expand Down Expand Up @@ -84,7 +84,6 @@
<div class="toolFormBody">
<div class="form-row" id="single-destination">
<select id="single-dest-select" name="target_history_id">
<option value=""></option>
%for i, hist in enumerate(target_histories):
<%
encoded_id = trans.security.encode_id(hist.id)
Expand Down Expand Up @@ -124,15 +123,14 @@
<div style="text-align: center; color: #888;">&mdash; OR &mdash;</div>
<div class="form-row">
<label for="new_history_name" style="display: inline; font-weight:normal;">New history named:</label>
<input type="textbox" name="new_history_name" />
<input id="new_history_name" type="text" name="new_history_name" />
</div>
%endif
</div>
</div>
<div style="clear: both"></div>
<div class="form-row" align="center">
<input type="submit" class="primary-button" name="do_copy" value="Copy History Items"/>
</div>
</form>
</div>
</p>
<div style="clear: both"></div>
<div class="form-row" style="text-align: center;">
<input type="submit" class="primary-button" name="do_copy" value="Copy History Items"/>
</div>
</form>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,13 @@
<div style="text-align: center; color: #888;">&mdash; OR &mdash;</div>
<div class="form-row">
<label for="new_history_name" style="display: inline; font-weight:normal;">New history named:</label>
<input type="textbox" name="new_history_name" />
<input id="new_history_name" type="text" name="new_history_name" />
</div>
%endif
</div>
</div>
<div style="clear: both"></div>
<div class="form-row" align="center">
<input type="submit" class="primary-button" name="import_datasets_to_histories_button" value="Import library datasets"/>
</div>
</form>
</div>
<div style="clear: both"></div>
<div class="form-row" style="text-align: center;">
<input type="submit" class="primary-button" name="import_datasets_to_histories_button" value="Import library datasets"/>
</div>
</form>

0 comments on commit 03bf426

Please sign in to comment.