1 | <%inherit file="/webapps/galaxy/base_panels.mako"/> |
---|
2 | |
---|
3 | ## Default title |
---|
4 | <%def name="title()">Galaxy Administration</%def> |
---|
5 | |
---|
6 | <%def name="stylesheets()"> |
---|
7 | ${parent.stylesheets()} |
---|
8 | ## TODO: Clean up these styles and move into panel_layout.css (they are |
---|
9 | ## used here and in the editor). |
---|
10 | <style type="text/css"> |
---|
11 | #left { |
---|
12 | background: #C1C9E5 url(${h.url_for('/static/style/menu_bg.png')}) top repeat-x; |
---|
13 | } |
---|
14 | div.toolMenu { |
---|
15 | margin: 5px; |
---|
16 | margin-left: 10px; |
---|
17 | margin-right: 10px; |
---|
18 | } |
---|
19 | div.toolSectionPad { |
---|
20 | margin: 0; |
---|
21 | padding: 0; |
---|
22 | height: 5px; |
---|
23 | font-size: 0px; |
---|
24 | } |
---|
25 | div.toolSectionDetailsInner { |
---|
26 | margin-left: 5px; |
---|
27 | margin-right: 5px; |
---|
28 | } |
---|
29 | div.toolSectionTitle { |
---|
30 | padding-bottom: 0px; |
---|
31 | font-weight: bold; |
---|
32 | } |
---|
33 | div.toolMenuGroupHeader { |
---|
34 | font-weight: bold; |
---|
35 | padding-top: 0.5em; |
---|
36 | padding-bottom: 0.5em; |
---|
37 | color: #333; |
---|
38 | font-style: italic; |
---|
39 | border-bottom: dotted #333 1px; |
---|
40 | margin-bottom: 0.5em; |
---|
41 | } |
---|
42 | div.toolTitle { |
---|
43 | padding-top: 5px; |
---|
44 | padding-bottom: 5px; |
---|
45 | margin-left: 16px; |
---|
46 | margin-right: 10px; |
---|
47 | display: list-item; |
---|
48 | list-style: square outside; |
---|
49 | } |
---|
50 | a:link, a:visited, a:active |
---|
51 | { |
---|
52 | color: #303030; |
---|
53 | } |
---|
54 | </style> |
---|
55 | </%def> |
---|
56 | |
---|
57 | <%def name="init()"> |
---|
58 | <% |
---|
59 | self.has_left_panel=True |
---|
60 | self.has_right_panel=False |
---|
61 | self.active_view="admin" |
---|
62 | %> |
---|
63 | </%def> |
---|
64 | |
---|
65 | <%def name="left_panel()"> |
---|
66 | <div class="unified-panel-header" unselectable="on"> |
---|
67 | <div class='unified-panel-header-inner'>Administration</div> |
---|
68 | </div> |
---|
69 | <div class="unified-panel-body" style="overflow: auto;"> |
---|
70 | <div class="toolMenu"> |
---|
71 | <div class="toolSectionList"> |
---|
72 | <div class="toolSectionTitle"> |
---|
73 | <span>Security</span> |
---|
74 | </div> |
---|
75 | <div class="toolSectionBody"> |
---|
76 | <div class="toolSectionBg"> |
---|
77 | <div class="toolTitle"><a href="${h.url_for( controller='admin', action='users', webapp=webapp )}" target="galaxy_main">Manage users</a></div> |
---|
78 | <div class="toolTitle"><a href="${h.url_for( controller='admin', action='groups', webapp=webapp )}" target="galaxy_main">Manage groups</a></div> |
---|
79 | <div class="toolTitle"><a href="${h.url_for( controller='admin', action='roles', webapp=webapp )}" target="galaxy_main">Manage roles</a></div> |
---|
80 | </div> |
---|
81 | </div> |
---|
82 | <div class="toolSectionPad"></div> |
---|
83 | <div class="toolSectionTitle"> |
---|
84 | <span>Data</span> |
---|
85 | </div> |
---|
86 | <div class="toolSectionBody"> |
---|
87 | <div class="toolSectionBg"> |
---|
88 | <div class="toolTitle"><a href="${h.url_for( controller='library_admin', action='browse_libraries' )}" target="galaxy_main">Manage data libraries</a></div> |
---|
89 | </div> |
---|
90 | </div> |
---|
91 | <div class="toolSectionPad"></div> |
---|
92 | <div class="toolSectionTitle"> |
---|
93 | <span>Server</span> |
---|
94 | </div> |
---|
95 | <div class="toolSectionBody"> |
---|
96 | <div class="toolSectionBg"> |
---|
97 | <div class="toolTitle"><a href="${h.url_for( controller='admin', action='reload_tool' )}" target="galaxy_main">Reload a tool's configuration</a></div> |
---|
98 | <div class="toolTitle"><a href="${h.url_for( controller='admin', action='memdump' )}" target="galaxy_main">Profile memory usage</a></div> |
---|
99 | <div class="toolTitle"><a href="${h.url_for( controller='admin', action='jobs' )}" target="galaxy_main">Manage jobs</a></div> |
---|
100 | </div> |
---|
101 | </div> |
---|
102 | <div class="toolSectionPad"></div> |
---|
103 | <div class="toolSectionTitle"> |
---|
104 | <span>Forms</span> |
---|
105 | </div> |
---|
106 | <div class="toolSectionBody"> |
---|
107 | <div class="toolSectionBg"> |
---|
108 | <div class="toolTitle"><a href="${h.url_for( controller='forms', action='manage' )}" target="galaxy_main">Manage forms</a></div> |
---|
109 | </div> |
---|
110 | </div> |
---|
111 | <div class="toolSectionPad"></div> |
---|
112 | <div class="toolSectionTitle"> |
---|
113 | <span>Sample Tracking</span> |
---|
114 | </div> |
---|
115 | <div class="toolSectionBody"> |
---|
116 | <div class="toolSectionBg"> |
---|
117 | <div class="toolTitle"><a href="${h.url_for( controller='requests_admin', action='browse_request_types' )}" target="galaxy_main">Sequencer configurations</a></div> |
---|
118 | <div class="toolTitle"><a href="${h.url_for( controller='requests_admin', action='browse_requests' )}" target="galaxy_main">Sequencing requests</a></div> |
---|
119 | <div class="toolTitle"><a href="${h.url_for( controller='requests_common', action='find_samples', cntrller='requests_admin' )}" target="galaxy_main">Find samples</a></div> |
---|
120 | </div> |
---|
121 | </div> |
---|
122 | </div> |
---|
123 | </div> |
---|
124 | </div> |
---|
125 | </%def> |
---|
126 | |
---|
127 | <%def name="center_panel()"> |
---|
128 | <% |
---|
129 | center_url = h.url_for( action='center', webapp='galaxy' ) |
---|
130 | %> |
---|
131 | <iframe name="galaxy_main" id="galaxy_main" frameborder="0" style="position: absolute; width: 100%; height: 100%;" src="${center_url}"> </iframe> |
---|
132 | </%def> |
---|