Changeset 416:855e1968f802
- Timestamp:
- 07/12/07 14:27:58
(1 year ago)
- Author:
- James Taylor <james@bx.psu.edu>
- branch:
- default
- convert_revision:
- svn:9bcadc22-80f8-0310-8a53-c8f022958886/galaxy/trunk@1724
- Message:
Make new style work better with old layout and vice versa (so people with
customized styles can still use the new layout). Changed the config parameter
to enable the new layout to "use_new_layout" (since it has nothing to do with style!!!)
NEXT PERSON TO UPDATE TEST PLEASE ADD
[app:universe]
use_new_layout=true
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r410 |
r416 |
|
| 32 | 32 | # result = trans.fill_template('index_frames.tmpl', mode=mode) |
|---|
| 33 | 33 | # return [ result ] |
|---|
| 34 | | if trans.app.config.get( "new_style_june_2007", "false" ) == "true": |
|---|
| | 34 | if trans.app.config.get( "use_new_layout", "false" ) == "true": |
|---|
| 35 | 35 | return trans.fill_template( "root/index.tmpl" ) |
|---|
| 36 | 36 | else: |
|---|
| r391 |
r416 |
|
| 49 | 49 | div.toolParamHelp |
|---|
| 50 | 50 | { |
|---|
| 51 | | font-style: italic; |
|---|
| | 51 | color: #666; |
|---|
| 52 | 52 | } |
|---|
| 53 | 53 | |
|---|
| 54 | 54 | div.toolFormBody |
|---|
| 55 | 55 | { |
|---|
| 56 | | padding: 5px; |
|---|
| | 56 | padding: 10px; |
|---|
| 57 | 57 | background: $form_body_bg_bottom; |
|---|
| 58 | 58 | background-image: url(form_body_bg.png); |
|---|
| … | … | |
| 80 | 80 | } |
|---|
| 81 | 81 | |
|---|
| 82 | | select |
|---|
| 83 | | { |
|---|
| 84 | | max-width: 300px; |
|---|
| 85 | | } |
|---|
| | 82 | /* Forms */ |
|---|
| | 83 | |
|---|
| | 84 | div.form-row |
|---|
| | 85 | { |
|---|
| | 86 | margin-bottom: 1em; |
|---|
| | 87 | } |
|---|
| | 88 | |
|---|
| | 89 | div.form-row label |
|---|
| | 90 | { |
|---|
| | 91 | font-weight: bold; |
|---|
| | 92 | display: block; |
|---|
| | 93 | margin-bottom: .1em; |
|---|
| | 94 | } |
|---|
| | 95 | |
|---|
| | 96 | select, input, textarea |
|---|
| | 97 | { |
|---|
| | 98 | font-size: 115%; |
|---|
| | 99 | } |
|---|
| | 100 | |
|---|
| | 101 | select, textarea, input[type="text"], input[type="file"] |
|---|
| | 102 | { |
|---|
| | 103 | max-width: 400px; |
|---|
| | 104 | } |
|---|
| | 105 | |
|---|
| | 106 | /* Messages */ |
|---|
| 86 | 107 | |
|---|
| 87 | 108 | .errormessage, .warningmessage, .donemessage, .infomessage, .welcomemessage |
|---|
| … | … | |
| 90 | 111 | padding-left: 52px; |
|---|
| 91 | 112 | min-height: 32px; |
|---|
| 92 | | border-top: 1px solid $error_message_border; |
|---|
| 93 | | border-bottom: 1px solid $error_message_border; |
|---|
| | 113 | border: 1px solid $error_message_border; |
|---|
| 94 | 114 | background-color: $error_message_bg; |
|---|
| 95 | 115 | background-image: url(error_message_icon.png); |
|---|
| … | … | |
| 131 | 151 | padding-left: 25px; |
|---|
| 132 | 152 | min-height: 25px; |
|---|
| 133 | | border-top: 1px solid $error_message_border; |
|---|
| 134 | | border-bottom: 1px solid $error_message_border; |
|---|
| | 153 | border: 1px solid $error_message_border; |
|---|
| 135 | 154 | background-color: $error_message_bg; |
|---|
| 136 | 155 | background-image: url(error_small.png); |
|---|
| … | … | |
| 223 | 242 | |
|---|
| 224 | 243 | #footer { |
|---|
| 225 | | position: fixed; |
|---|
| 226 | | background: $footer_bg; |
|---|
| 227 | | width: 100%; |
|---|
| 228 | | left: 0px; |
|---|
| 229 | | bottom: 0px; |
|---|
| 230 | | color: white; |
|---|
| 231 | | z-index:10000; |
|---|
| 232 | | opacity:0.9; |
|---|
| 233 | | filter:alpha(opacity:90); |
|---|
| 234 | | } |
|---|
| 235 | | |
|---|
| 236 | | #footer a { |
|---|
| 237 | | color: white; |
|---|
| 238 | | } |
|---|
| 239 | | |
|---|
| 240 | | .footerheader |
|---|
| 241 | | { |
|---|
| 242 | | padding: 5px; |
|---|
| 243 | | text-align:center; |
|---|
| 244 | | background-image: url(footer_title_bg.png); |
|---|
| 245 | | background-position: bottom right; |
|---|
| 246 | | } |
|---|
| 247 | | |
|---|
| 248 | | .footermenu |
|---|
| 249 | | { |
|---|
| 250 | | /*border-top: solid white 1px; */ |
|---|
| 251 | | } |
|---|
| 252 | | |
|---|
| 253 | | .footermenuitem |
|---|
| 254 | | { |
|---|
| 255 | | margin-top: 5px; |
|---|
| 256 | | margin-bottom: 5px; |
|---|
| 257 | | margin-right: 5px; |
|---|
| 258 | | margin-left: 25px; |
|---|
| 259 | | display: list-item; |
|---|
| 260 | | list-style: square outside; |
|---|
| 261 | | } |
|---|
| 262 | | |
|---|
| 263 | | .footermenumessage |
|---|
| 264 | | { |
|---|
| 265 | | margin: 5px; |
|---|
| 266 | | } |
|---|
| | 244 | display: none; |
|---|
| | 245 | } |
|---|
| r391 |
r416 |
|
| 49 | 49 | div.toolParamHelp |
|---|
| 50 | 50 | { |
|---|
| 51 | | font-style: italic; |
|---|
| | 51 | color: #666; |
|---|
| 52 | 52 | } |
|---|
| 53 | 53 | |
|---|
| 54 | 54 | div.toolFormBody |
|---|
| 55 | 55 | { |
|---|
| 56 | | padding: 5px; |
|---|
| | 56 | padding: 10px; |
|---|
| 57 | 57 | background: #FFFFFF; |
|---|
| 58 | 58 | background-image: url(form_body_bg.png); |
|---|
| … | … | |
| 80 | 80 | } |
|---|
| 81 | 81 | |
|---|
| 82 | | select |
|---|
| 83 | | { |
|---|
| 84 | | max-width: 300px; |
|---|
| 85 | | } |
|---|
| | 82 | /* Forms */ |
|---|
| | 83 | |
|---|
| | 84 | div.form-row |
|---|
| | 85 | { |
|---|
| | 86 | margin-bottom: 1em; |
|---|
| | 87 | } |
|---|
| | 88 | |
|---|
| | 89 | div.form-row label |
|---|
| | 90 | { |
|---|
| | 91 | font-weight: bold; |
|---|
| | 92 | display: block; |
|---|
| | 93 | margin-bottom: .1em; |
|---|
| | 94 | } |
|---|
| | 95 | |
|---|
| | 96 | select, input, textarea |
|---|
| | 97 | { |
|---|
| | 98 | font-size: 115%; |
|---|
| | 99 | } |
|---|
| | 100 | |
|---|
| | 101 | select, textarea, input[type="text"], input[type="file"] |
|---|
| | 102 | { |
|---|
| | 103 | max-width: 400px; |
|---|
| | 104 | } |
|---|
| | 105 | |
|---|
| | 106 | /* Messages */ |
|---|
| 86 | 107 | |
|---|
| 87 | 108 | .errormessage, .warningmessage, .donemessage, .infomessage, .welcomemessage |
|---|
| … | … | |
| 90 | 111 | padding-left: 52px; |
|---|
| 91 | 112 | min-height: 32px; |
|---|
| 92 | | border-top: 1px solid #AA6666; |
|---|
| 93 | | border-bottom: 1px solid #AA6666; |
|---|
| | 113 | border: 1px solid #AA6666; |
|---|
| 94 | 114 | background-color: #FFCCCC; |
|---|
| 95 | 115 | background-image: url(error_message_icon.png); |
|---|
| … | … | |
| 131 | 151 | padding-left: 25px; |
|---|
| 132 | 152 | min-height: 25px; |
|---|
| 133 | | border-top: 1px solid #AA6666; |
|---|
| 134 | | border-bottom: 1px solid #AA6666; |
|---|
| | 153 | border: 1px solid #AA6666; |
|---|
| 135 | 154 | background-color: #FFCCCC; |
|---|
| 136 | 155 | background-image: url(error_small.png); |
|---|
| … | … | |
| 223 | 242 | |
|---|
| 224 | 243 | #footer { |
|---|
| 225 | | position: fixed; |
|---|
| 226 | | background: #023858; |
|---|
| 227 | | width: 100%; |
|---|
| 228 | | left: 0px; |
|---|
| 229 | | bottom: 0px; |
|---|
| 230 | | color: white; |
|---|
| 231 | | z-index:10000; |
|---|
| 232 | | opacity:0.9; |
|---|
| 233 | | filter:alpha(opacity:90); |
|---|
| 234 | | } |
|---|
| 235 | | |
|---|
| 236 | | #footer a { |
|---|
| 237 | | color: white; |
|---|
| 238 | | } |
|---|
| 239 | | |
|---|
| 240 | | .footerheader |
|---|
| 241 | | { |
|---|
| 242 | | padding: 5px; |
|---|
| 243 | | text-align:center; |
|---|
| 244 | | background-image: url(footer_title_bg.png); |
|---|
| 245 | | background-position: bottom right; |
|---|
| 246 | | } |
|---|
| 247 | | |
|---|
| 248 | | .footermenu |
|---|
| 249 | | { |
|---|
| 250 | | /*border-top: solid white 1px; */ |
|---|
| 251 | | } |
|---|
| 252 | | |
|---|
| 253 | | .footermenuitem |
|---|
| 254 | | { |
|---|
| 255 | | margin-top: 5px; |
|---|
| 256 | | margin-bottom: 5px; |
|---|
| 257 | | margin-right: 5px; |
|---|
| 258 | | margin-left: 25px; |
|---|
| 259 | | display: list-item; |
|---|
| 260 | | list-style: square outside; |
|---|
| 261 | | } |
|---|
| 262 | | |
|---|
| 263 | | .footermenumessage |
|---|
| 264 | | { |
|---|
| 265 | | margin: 5px; |
|---|
| 266 | | } |
|---|
| | 244 | display: none; |
|---|
| | 245 | } |
|---|
| r391 |
r416 |
|
| 6 | 6 | background-repeat: repeat-x; |
|---|
| 7 | 7 | background-position: top; |
|---|
| 8 | | margin-top: 5px; |
|---|
| 9 | | margin-right: 0; |
|---|
| 10 | | margin-left: 0; |
|---|
| | 8 | margin: 5px; |
|---|
| 11 | 9 | border: 0; |
|---|
| 12 | 10 | padding: 0; |
|---|
| … | … | |
| 21 | 19 | { |
|---|
| 22 | 20 | padding: 5px; |
|---|
| 23 | | margin: 5px; |
|---|
| | 21 | margin-top: 5px; |
|---|
| | 22 | margin-bottom: 5px; |
|---|
| 24 | 23 | padding-right: 5px; |
|---|
| 25 | 24 | padding-left: 5px; |
|---|
| … | … | |
| 29 | 28 | div.historyItem |
|---|
| 30 | 29 | { |
|---|
| 31 | | margin: 5px; |
|---|
| 32 | | margin-right: 0px; |
|---|
| | 30 | margin-right: -5px; |
|---|
| | 31 | margin-top: 5px; |
|---|
| | 32 | margin-bottom: 5px; |
|---|
| 33 | 33 | padding: 5px; |
|---|
| 34 | 34 | padding-right: 11px; |
|---|
| r391 |
r416 |
|
| 6 | 6 | background-repeat: repeat-x; |
|---|
| 7 | 7 | background-position: top; |
|---|
| 8 | | margin-top: 5px; |
|---|
| 9 | | margin-right: 0; |
|---|
| 10 | | margin-left: 0; |
|---|
| | 8 | margin: 5px; |
|---|
| 11 | 9 | border: 0; |
|---|
| 12 | 10 | padding: 0; |
|---|
| … | … | |
| 21 | 19 | { |
|---|
| 22 | 20 | padding: 5px; |
|---|
| 23 | | margin: 5px; |
|---|
| | 21 | margin-top: 5px; |
|---|
| | 22 | margin-bottom: 5px; |
|---|
| 24 | 23 | padding-right: 5px; |
|---|
| 25 | 24 | padding-left: 5px; |
|---|
| … | … | |
| 29 | 28 | div.historyItem |
|---|
| 30 | 29 | { |
|---|
| 31 | | margin: 5px; |
|---|
| 32 | | margin-right: 0px; |
|---|
| | 30 | margin-right: -5px; |
|---|
| | 31 | margin-top: 5px; |
|---|
| | 32 | margin-bottom: 5px; |
|---|
| 33 | 33 | padding: 5px; |
|---|
| 34 | 34 | padding-right: 11px; |
|---|
| r391 |
r416 |
|
| 18 | 18 | images = [ |
|---|
| 19 | 19 | ( "./gradient.py 9 30 $panel_header_bg_top - $panel_header_bg_bottom 0 0 $panel_header_bg_bottom 1 1", "panel_header_bg.png" ), |
|---|
| | 20 | ( "./gradient.py 9 30 $panel_header_bg_bottom - $panel_header_bg_top 0 0 $panel_header_bg_top 1 1", "panel_header_bg_pressed.png" ), |
|---|
| 20 | 21 | ( "./gradient.py 9 1000 $menu_bg_top $menu_bg_hatch $menu_bg_over 0 0 $menu_bg_over 1 1", "menu_bg.png" ), |
|---|
| 21 | 22 | ( "./gradient.py 9 1000 $base_bg_top - $base_bg_bottom 0 0 $base_bg_bottom 1 1", "base_bg.png" ), |
|---|
| r301 |
r416 |
|
| 16 | 16 | { |
|---|
| 17 | 17 | color: #base_text; |
|---|
| | 18 | } |
|---|
| | 19 | |
|---|
| | 20 | div.historyLinks |
|---|
| | 21 | { |
|---|
| | 22 | padding: 5px; |
|---|
| | 23 | margin: 5px; |
|---|
| 18 | 24 | } |
|---|
| 19 | 25 | |
|---|
| r301 |
r416 |
|
| 12 | 12 | div.pageTitle |
|---|
| 13 | 13 | { |
|---|
| 14 | | font-size: x-large; |
|---|
| | 14 | font-size: 160%; |
|---|
| 15 | 15 | font-weight: bold; |
|---|
| 16 | 16 | } |
|---|
| r301 |
r416 |
|
| 14 | 14 | height: 0px; |
|---|
| 15 | 15 | margin-top: 0px; |
|---|
| | 16 | } |
|---|
| | 17 | |
|---|
| | 18 | div.toolSectionPad |
|---|
| | 19 | { |
|---|
| | 20 | margin: 0; |
|---|
| | 21 | padding: 0; |
|---|
| | 22 | height: 5px; |
|---|
| | 23 | font-size: 0px; |
|---|
| 16 | 24 | } |
|---|
| 17 | 25 | |
|---|
| r301 |
r416 |
|
| 16 | 16 | { |
|---|
| 17 | 17 | color: #base_text; |
|---|
| | 18 | } |
|---|
| | 19 | |
|---|
| | 20 | div.historyLinks |
|---|
| | 21 | { |
|---|
| | 22 | padding: 5px; |
|---|
| | 23 | margin: 5px; |
|---|
| 18 | 24 | } |
|---|
| 19 | 25 | |
|---|
| r301 |
r416 |
|
| 12 | 12 | div.pageTitle |
|---|
| 13 | 13 | { |
|---|
| 14 | | font-size: x-large; |
|---|
| | 14 | font-size: 160%; |
|---|
| 15 | 15 | font-weight: bold; |
|---|
| 16 | 16 | } |
|---|
| r301 |
r416 |
|
| 14 | 14 | height: 0px; |
|---|
| 15 | 15 | margin-top: 0px; |
|---|
| | 16 | } |
|---|
| | 17 | |
|---|
| | 18 | div.toolSectionPad |
|---|
| | 19 | { |
|---|
| | 20 | margin: 0; |
|---|
| | 21 | padding: 0; |
|---|
| | 22 | height: 5px; |
|---|
| | 23 | font-size: 0px; |
|---|
| 16 | 24 | } |
|---|
| 17 | 25 | |
|---|
| r410 |
r416 |
|
| 306 | 306 | </body> |
|---|
| 307 | 307 | |
|---|
| 308 | | #if $app.config.get( "new_style_july_2007", "false" ) == "true" |
|---|
| | 308 | #if $app.config.get( "show_panel_footers", "true" ) == "true" |
|---|
| 309 | 309 | <div style="height: 20px"></div> |
|---|
| 310 | 310 | <div id="footer" > |
|---|
| r391 |
r416 |
|
| 4 | 4 | <TITLE>Galaxy</TITLE> |
|---|
| 5 | 5 | </HEAD> |
|---|
| 6 | | <FRAMESET rows="40,*" border="0" framespacing="0" frameborder="0"> |
|---|
| | 6 | <FRAMESET rows="36,*" border="0" framespacing="0" frameborder="0"> |
|---|
| 7 | 7 | <FRAME name="galaxy_masthead" src="$h.url_for('masthead')" frameborder="0" border="0" framespacing="0"> |
|---|
| 8 | 8 | <FRAME name="mainframe" src="$h.url_for('static/index_frame_three_col.html')" border="3" framespacing="3" frameborder="1"> |
|---|
| r391 |
r416 |
|
| 105 | 105 | </div> |
|---|
| 106 | 106 | |
|---|
| 107 | | #if $app.config.get( "new_style_july_2007", "false" ) == "true" |
|---|
| 108 | 107 | <div style="height: 20px"></div> |
|---|
| 109 | 108 | |
|---|
| … | … | |
| 112 | 111 | </div> |
|---|
| 113 | 112 | </body> |
|---|
| 114 | | #end if |
|---|
| 115 | 113 | |
|---|
| 116 | 114 | </html> |
|---|
| r410 |
r416 |
|
| 89 | 89 | ucsc_display_sites = main,test,archaea |
|---|
| 90 | 90 | gbrowse_display_sites = wormbase,flybase |
|---|
| | 91 | # Use the new iframe/javascript based layout |
|---|
| | 92 | use_new_layout=true |
|---|
| 91 | 93 | |
|---|
| 92 | 94 | # Static files |
|---|
| … | … | |
| 104 | 106 | paste.app_factory = galaxy.web.static:make_static |
|---|
| 105 | 107 | cache_seconds = 360 |
|---|
| 106 | | document_root = %(here)s/static/light_hatched_style/blue |
|---|
| | 108 | # The new (June 2007) style |
|---|
| | 109 | document_root = %(here)s/static/june_2007_style/blue |
|---|
| | 110 | # The old hatched style |
|---|
| | 111 | #document_root = %(here)s/static/light_hatched_style/blue |
|---|
| 107 | 112 | #document_root = %(here)s/static/light_hatched_style/green |
|---|
| 108 | 113 | #document_root = %(here)s/static/old_blue_style |
|---|