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