1 | <%inherit file="/webapps/community/base_panels.mako"/> |
---|
2 | |
---|
3 | ## Default title |
---|
4 | <%def name="title()">Galaxy Tool Shed 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>Tools</span> |
---|
74 | </div> |
---|
75 | <div class="toolSectionBody"> |
---|
76 | <div class="toolSectionBg"> |
---|
77 | <div class="toolTitle"><a target="galaxy_main" href="${h.url_for( controller='admin', action='browse_tools', operation='tools_by_state', state=trans.model.Tool.states.WAITING, webapp='community' )}">Tools awaiting approval</a></div> |
---|
78 | <div class="toolTitle"><a target="galaxy_main" href="${h.url_for( controller='admin', action='browse_categories', webapp='community' )}">Browse by category</a></div> |
---|
79 | <div class="toolTitle"><a target="galaxy_main" href="${h.url_for( controller='admin', action='browse_tools', webapp='community' )}">Browse all tools</a></div> |
---|
80 | </div> |
---|
81 | </div> |
---|
82 | <div class="toolSectionPad"></div> |
---|
83 | <div class="toolSectionTitle"> |
---|
84 | <span>Categories</span> |
---|
85 | </div> |
---|
86 | <div class="toolSectionBody"> |
---|
87 | <div class="toolSectionBg"> |
---|
88 | <div class="toolTitle"><a target="galaxy_main" href="${h.url_for( controller='admin', action='manage_categories', webapp='community' )}">Manage categories</a></div> |
---|
89 | </div> |
---|
90 | </div> |
---|
91 | <div class="toolSectionTitle"> |
---|
92 | <span>Security</span> |
---|
93 | </div> |
---|
94 | <div class="toolSectionBody"> |
---|
95 | <div class="toolSectionBg"> |
---|
96 | <div class="toolTitle"><a target="galaxy_main" href="${h.url_for( controller='admin', action='users', webapp='community' )}">Manage users</a></div> |
---|
97 | <div class="toolTitle"><a target="galaxy_main" href="${h.url_for( controller='admin', action='groups', webapp='community' )}">Manage groups</a></div> |
---|
98 | <div class="toolTitle"><a target="galaxy_main" href="${h.url_for( controller='admin', action='roles', webapp='community' )}">Manage roles</a></div> |
---|
99 | </div> |
---|
100 | </div> |
---|
101 | </div> |
---|
102 | </div> |
---|
103 | </div> |
---|
104 | </%def> |
---|
105 | |
---|
106 | <%def name="center_panel()"> |
---|
107 | <% |
---|
108 | center_url = h.url_for( action='center', webapp='community' ) |
---|
109 | %> |
---|
110 | <iframe name="galaxy_main" id="galaxy_main" frameborder="0" style="position: absolute; width: 100%; height: 100%;" src="${center_url}"> </iframe> |
---|
111 | </%def> |
---|