PageRenderTime 24ms CodeModel.GetById 22ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/templates/admin/requests/view_request_type.mako

https://bitbucket.org/h_morita_dbcls/galaxy-central
Mako | 77 lines | 73 code | 4 blank | 0 comment | 2 complexity | 87054556e6612c090cf278159ddd4c66 MD5 | raw file
 1<%inherit file="/base.mako"/>
 2<%namespace file="/message.mako" import="render_msg" />
 3
 4
 5%if message:
 6    ${render_msg( message, status )}
 7%endif
 8
 9<h2>Request Type "${request_type.name}"</h2>
10
11<div class="toolForm">
12    <div class="toolFormTitle">Request type information</div>
13    <form name="view_request_type" action="${h.url_for( controller='requests_admin', action='create_request_type', rt_id=request_type.id)}" method="post" >
14        <div class="form-row">
15            <label>Name</label>
16            ${request_type.name}
17            <div style="clear: both"></div>
18        </div>
19        <div class="form-row">
20            <label>Description</label>
21            ${request_type.desc}
22            <div style="clear: both"></div>
23        </div>
24        <div class="form-row">
25            <label>
26                Request Form definition 
27            </label>
28            ${request_type.request_form.name}
29        </div>       
30        <div class="form-row">
31            <label>
32                Sample Form definition 
33            </label>
34            ${request_type.sample_form.name}
35        </div>    
36        <div class="toolFormTitle">Possible sample states</div>
37        %for element_count, state in enumerate(states_list):
38            <div class="form-row">
39                <label>${1+element_count}. ${state.name}</label>
40                ${state.desc}
41            </div>
42            <div style="clear: both"></div>
43        %endfor
44        <div class="toolFormTitle">Sequencer information</div>
45        <div class="form-row">
46            This information is only needed for transferring data from sequencer to Galaxy
47        </div>
48        <div class="form-row">
49            <label>Hostname or IP Address:</label>
50            <input type="text" name="host" value="${request_type.datatx_info['host']}" size="40"/>
51        </div>
52        <div class="form-row">
53            <label>Username:</label>
54            <input type="text" name="username" value="${request_type.datatx_info['username']}" size="40"/>
55        </div>
56        <div class="form-row">
57            <label>Password:</label>
58            <input type="password" name="password" value="${request_type.datatx_info['password']}" size="40"/>
59        </div>
60        <div class="form-row">
61            <label>Data directory:</label>
62            <input type="text" name="data_dir" value="${request_type.datatx_info.get('data_dir', '')}" size="40"/>
63        </div>
64        <div class="form-row">
65            <label>Add experiment name and the sample name to the dataset name?</label>
66            ${rename_dataset_selectbox.get_html()}
67            <div class="toolParamHelp" style="clear: both;">
68                The datasets are renamed by prepending the experiment name and the sample name to the dataset name. <br/>This
69                makes sure that dataset names remain unique in Galaxy even when they have the
70                same name in the sequencer.
71            </div>
72        </div>
73        <div class="form-row">
74        <input type="submit" name="save_changes" value="Save changes"/>
75        </div>
76    </form>
77</div>