PageRenderTime 24ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/templates/library/common/new_folder.mako

https://bitbucket.org/cistrome/cistrome-harvard/
Mako | 38 lines | 35 code | 3 blank | 0 comment | 2 complexity | 5972be4c40fdaae0adc5407d6ae88ffe MD5 | raw file
  1. <%inherit file="/base.mako"/>
  2. <%namespace file="/message.mako" import="render_msg" />
  3. <br/<br/>
  4. <ul class="manage-table-actions">
  5. <li>
  6. <a class="action-button" href="${h.url_for( controller='library_common', action='browse_library', cntrller=cntrller, id=library_id, use_panels=use_panels, show_deleted=show_deleted )}"><span>Browse this data library</span></a>
  7. </li>
  8. </ul>
  9. %if message:
  10. ${render_msg( message, status )}
  11. %endif
  12. <div class="toolForm">
  13. <div class="toolFormTitle">Create a new folder</div>
  14. <div class="toolFormBody">
  15. <form name="folder" action="${h.url_for( controller='library_common', action='create_folder', cntrller=cntrller, parent_id=trans.security.encode_id( folder.id ), library_id=library_id, show_deleted=show_deleted )}" method="post" >
  16. <div class="form-row">
  17. <label>Name:</label>
  18. <div style="float: left; width: 250px; margin-right: 10px;">
  19. <input type="text" name="name" value="New Folder" size="40"/>
  20. </div>
  21. <div style="clear: both"></div>
  22. </div>
  23. <div class="form-row">
  24. <label>Description:</label>
  25. <div style="float: left; width: 250px; margin-right: 10px;">
  26. <input type="text" name="description" value="" size="40"/>
  27. </div>
  28. <div style="clear: both"></div>
  29. </div>
  30. <div class="form-row">
  31. <input type="submit" name="new_folder_button" value="Create"/>
  32. </div>
  33. </form>
  34. </div>
  35. </div>