[2] | 1 | <%inherit file="/base.mako"/> |
---|
| 2 | <%namespace file="/message.mako" import="render_msg" /> |
---|
| 3 | |
---|
| 4 | <%def name="title()">${_('Edit Workflow Attributes')}</%def> |
---|
| 5 | |
---|
| 6 | <%def name="stylesheets()"> |
---|
| 7 | ${h.css( "base", "autocomplete_tagging" )} |
---|
| 8 | </%def> |
---|
| 9 | |
---|
| 10 | <%def name="javascripts()"> |
---|
| 11 | ${parent.javascripts()} |
---|
| 12 | ${h.js( "galaxy.base", "jquery.autocomplete", "autocomplete_tagging" )} |
---|
| 13 | </%def> |
---|
| 14 | |
---|
| 15 | %if msg: |
---|
| 16 | ${render_msg( msg, messagetype )} |
---|
| 17 | %endif |
---|
| 18 | |
---|
| 19 | <%def name="body()"> |
---|
| 20 | <div class="toolForm"> |
---|
| 21 | <div class="toolFormTitle">${_('Edit Workflow Attributes')}</div> |
---|
| 22 | <div class="toolFormBody"> |
---|
| 23 | <form name="edit_attributes" action="${h.url_for( action='edit_attributes' )}" method="post"> |
---|
| 24 | <input type="hidden" name="id" value="${trans.security.encode_id( stored.id )}"/> |
---|
| 25 | <div class="form-row"> |
---|
| 26 | <label> |
---|
| 27 | Name: |
---|
| 28 | </label> |
---|
| 29 | <div style="float: left; width: 225px; margin-right: 10px;"> |
---|
| 30 | <input type="text" name="name" value="${stored.name}" size="30"/> |
---|
| 31 | </div> |
---|
| 32 | <div style="clear: both"></div> |
---|
| 33 | </div> |
---|
| 34 | <%namespace file="/tagging_common.mako" import="render_individual_tagging_element" /> |
---|
| 35 | <div class="form-row"> |
---|
| 36 | <label> |
---|
| 37 | Tags: |
---|
| 38 | </label> |
---|
| 39 | <div style="float: left; width: 265px; margin-right: 10px; border-style: inset; border-width: 1px; margin-left: 2px"> |
---|
| 40 | <style> |
---|
| 41 | .tag-area { |
---|
| 42 | border: none; |
---|
| 43 | } |
---|
| 44 | </style> |
---|
| 45 | ${render_individual_tagging_element(user=trans.get_user(), tagged_item=stored, elt_context="edit_attributes.mako", use_toggle_link=False, in_form=True, input_size="25")} |
---|
| 46 | </div> |
---|
| 47 | <div style="clear: both"></div> |
---|
| 48 | <div class="toolParamHelp">Apply tags to make it easy to search for and find items with the same tag.</div> |
---|
| 49 | </div> |
---|
| 50 | <div class="form-row"> |
---|
| 51 | <label> |
---|
| 52 | Annotation / Notes: |
---|
| 53 | </label> |
---|
| 54 | <div style="float: left; width: 225px; margin-right: 10px;"> |
---|
| 55 | <textarea name="annotation" cols="30" rows="2">${annotation}</textarea> |
---|
| 56 | </div> |
---|
| 57 | <div style="clear: both"></div> |
---|
| 58 | <div class="toolParamHelp">Add an annotation notes to a workflow; annotations are available when a workflow is viewed.</div> |
---|
| 59 | </div> |
---|
| 60 | <div class="form-row"> |
---|
| 61 | <input type="submit" name="save" value="${_('Save')}"/> |
---|
| 62 | </div> |
---|
| 63 | </form> |
---|
| 64 | </div> |
---|
| 65 | </div> |
---|
| 66 | </%def> |
---|