diff --git a/static/june_2007_style/base.css.tmpl b/static/june_2007_style/base.css.tmpl index 4ac2b432fe9..96813620669 100644 --- a/static/june_2007_style/base.css.tmpl +++ b/static/june_2007_style/base.css.tmpl @@ -9,8 +9,6 @@ body background-repeat: repeat-x; background-position: top; margin: 10px; - margin-right: 15px; - margin-left: 15px; } a:link, a:visited, a:active @@ -39,6 +37,8 @@ div.toolFormTitle { font-weight: bold; padding: 5px; + padding-left: 10px; + padding-right: 10px; background: $form_title_bg_bottom; background-image: url(form_title_bg.png); background-repeat: repeat-x; @@ -53,11 +53,13 @@ div.toolParamHelp div.toolFormBody { - padding: 10px; background: $form_body_bg_bottom; background-image: url(form_body_bg.png); background-repeat: repeat-x; background-position: top; + padding: 5px; + padding-left: 10px; + padding-right: 10px; } div.toolFormBody div.toolFormTitle @@ -86,11 +88,28 @@ div.form-row margin-bottom: 1em; } +div.form-title-row +{ + margin-bottom: 0.5em; +} + +div.repeat-group-item +{ + border-left: solid $form_border 5px; + padding-left: 10px; +} + +div.form-row-error +{ + background: $error_message_bg; + padding: 5px; +} + div.form-row label { font-weight: bold; display: block; - margin-bottom: .1em; + margin-bottom: .2em; } select, input, textarea @@ -242,4 +261,48 @@ div.odd_row #footer { display: none; +} + +## Tool panel stuff + +td.panel-body +{ + background: white; + color: $base_text; + background: $menu_bg_over url(menu_bg.png) top repeat-x; +} + +div.toolMenu +{ + padding: 10px; +} + +div.toolSectionPad +{ + margin: 0; + padding: 0; + height: 5px; + font-size: 0px; +} + +div.toolSectionDetailsInner +{ + margin-left: 5px; + margin-right: 5px; +} + +div.toolSectionTitle +{ + padding-bottom: 0px; + font-weight: bold; +} + +div.toolTitle +{ + padding-top: 5px; + padding-bottom: 5px; + margin-left: 16px; + margin-right: 10px; + display: list-item; + list-style: square outside; } \ No newline at end of file diff --git a/static/june_2007_style/blue/base.css b/static/june_2007_style/blue/base.css index cf6d56f1d94..3b7ad0105f6 100644 --- a/static/june_2007_style/blue/base.css +++ b/static/june_2007_style/blue/base.css @@ -9,8 +9,6 @@ body background-repeat: repeat-x; background-position: top; margin: 10px; - margin-right: 15px; - margin-left: 15px; } a:link, a:visited, a:active @@ -39,6 +37,8 @@ div.toolFormTitle { font-weight: bold; padding: 5px; + padding-left: 10px; + padding-right: 10px; background: #d2c099; background-image: url(form_title_bg.png); background-repeat: repeat-x; @@ -53,11 +53,13 @@ div.toolParamHelp div.toolFormBody { - padding: 10px; background: #FFFFFF; background-image: url(form_body_bg.png); background-repeat: repeat-x; background-position: top; + padding: 5px; + padding-left: 10px; + padding-right: 10px; } div.toolFormBody div.toolFormTitle @@ -86,11 +88,28 @@ div.form-row margin-bottom: 1em; } +div.form-title-row +{ + margin-bottom: 0.5em; +} + +div.repeat-group-item +{ + border-left: solid #d8b365 5px; + padding-left: 10px; +} + +div.form-row-error +{ + background: #FFCCCC; + padding: 5px; +} + div.form-row label { font-weight: bold; display: block; - margin-bottom: .1em; + margin-bottom: .2em; } select, input, textarea @@ -242,4 +261,47 @@ div.odd_row #footer { display: none; +} + + +td.panel-body +{ + background: white; + color: #303030; + background: #C1C9E5 url(menu_bg.png) top repeat-x; +} + +div.toolMenu +{ + padding: 10px; +} + +div.toolSectionPad +{ + margin: 0; + padding: 0; + height: 5px; + font-size: 0px; +} + +div.toolSectionDetailsInner +{ + margin-left: 5px; + margin-right: 5px; +} + +div.toolSectionTitle +{ + padding-bottom: 0px; + font-weight: bold; +} + +div.toolTitle +{ + padding-top: 5px; + padding-bottom: 5px; + margin-left: 16px; + margin-right: 10px; + display: list-item; + list-style: square outside; } \ No newline at end of file diff --git a/static/june_2007_style/blue/base_bg.png b/static/june_2007_style/blue/base_bg.png index 19ca36f9ee7..1c9d75ca81f 100644 Binary files a/static/june_2007_style/blue/base_bg.png and b/static/june_2007_style/blue/base_bg.png differ diff --git a/static/june_2007_style/blue/error_bg.png b/static/june_2007_style/blue/error_bg.png index 9e537638d5c..4aeea71a51b 100644 Binary files a/static/june_2007_style/blue/error_bg.png and b/static/june_2007_style/blue/error_bg.png differ diff --git a/static/june_2007_style/blue/footer_title_bg.png b/static/june_2007_style/blue/footer_title_bg.png index 577046d7f39..e4eb2a9e7fe 100644 Binary files a/static/june_2007_style/blue/footer_title_bg.png and b/static/june_2007_style/blue/footer_title_bg.png differ diff --git a/static/june_2007_style/blue/form_body_bg.png b/static/june_2007_style/blue/form_body_bg.png index 2d594ab7afe..c1259357b3b 100644 Binary files a/static/june_2007_style/blue/form_body_bg.png and b/static/june_2007_style/blue/form_body_bg.png differ diff --git a/static/june_2007_style/blue/form_title_bg.png b/static/june_2007_style/blue/form_title_bg.png index 56788e39fe2..50f45c420e8 100644 Binary files a/static/june_2007_style/blue/form_title_bg.png and b/static/june_2007_style/blue/form_title_bg.png differ diff --git a/static/june_2007_style/blue/gray_bg.png b/static/june_2007_style/blue/gray_bg.png index 2c59cafd6ff..1a5e712d0a8 100644 Binary files a/static/june_2007_style/blue/gray_bg.png and b/static/june_2007_style/blue/gray_bg.png differ diff --git a/static/june_2007_style/blue/masthead_bg.png b/static/june_2007_style/blue/masthead_bg.png index 0fa04cf0439..9014bc3c3c7 100644 Binary files a/static/june_2007_style/blue/masthead_bg.png and b/static/june_2007_style/blue/masthead_bg.png differ diff --git a/static/june_2007_style/blue/menu_bg.png b/static/june_2007_style/blue/menu_bg.png index 6847a88b260..a9ce6781270 100644 Binary files a/static/june_2007_style/blue/menu_bg.png and b/static/june_2007_style/blue/menu_bg.png differ diff --git a/static/june_2007_style/blue/ok_bg.png b/static/june_2007_style/blue/ok_bg.png index 838e2abdd6c..cecc373631a 100644 Binary files a/static/june_2007_style/blue/ok_bg.png and b/static/june_2007_style/blue/ok_bg.png differ diff --git a/static/june_2007_style/blue/panel_header_bg.png b/static/june_2007_style/blue/panel_header_bg.png index 195c9dade86..1c69e4ad706 100644 Binary files a/static/june_2007_style/blue/panel_header_bg.png and b/static/june_2007_style/blue/panel_header_bg.png differ diff --git a/static/june_2007_style/blue/warn_bg.png b/static/june_2007_style/blue/warn_bg.png index 30aa1ea5204..8273240b117 100644 Binary files a/static/june_2007_style/blue/warn_bg.png and b/static/june_2007_style/blue/warn_bg.png differ diff --git a/static/light_hatched_style/base.css.tmpl b/static/light_hatched_style/base.css.tmpl index 9faaca535ac..c06f1535851 100644 --- a/static/light_hatched_style/base.css.tmpl +++ b/static/light_hatched_style/base.css.tmpl @@ -77,6 +77,37 @@ div.toolHelpBody overflow: auto; } +/* Forms */ + +div.form-row +{ + margin-bottom: 1em; +} + +div.form-title-row +{ + margin-bottom: 0.5em; +} + +div.repeat-group-item +{ + border-left: solid $form_border 5px; + padding-left: 10px; +} + +div.form-row-error +{ + background: $error_message_bg; + padding: 5px; +} + +div.form-row label +{ + font-weight: bold; + display: block; + margin-bottom: .2em; +} + select { max-width: 300px; diff --git a/static/light_hatched_style/blue/base.css b/static/light_hatched_style/blue/base.css index cac70f3b838..8bd21dfced4 100644 --- a/static/light_hatched_style/blue/base.css +++ b/static/light_hatched_style/blue/base.css @@ -77,6 +77,37 @@ div.toolHelpBody overflow: auto; } +/* Forms */ + +div.form-row +{ + margin-bottom: 1em; +} + +div.form-title-row +{ + margin-bottom: 0.5em; +} + +div.repeat-group-item +{ + border-left: solid #d8b365 5px; + padding-left: 10px; +} + +div.form-row-error +{ + background: #FFCCCC; + padding: 5px; +} + +div.form-row label +{ + font-weight: bold; + display: block; + margin-bottom: .2em; +} + select { max-width: 300px; diff --git a/static/light_hatched_style/blue/base_bg.png b/static/light_hatched_style/blue/base_bg.png index 7bc65774ab5..f8f01ef338a 100644 Binary files a/static/light_hatched_style/blue/base_bg.png and b/static/light_hatched_style/blue/base_bg.png differ diff --git a/static/light_hatched_style/blue/error_bg.png b/static/light_hatched_style/blue/error_bg.png index 52d89b5869f..ea30849efe0 100644 Binary files a/static/light_hatched_style/blue/error_bg.png and b/static/light_hatched_style/blue/error_bg.png differ diff --git a/static/light_hatched_style/blue/footer_title_bg.png b/static/light_hatched_style/blue/footer_title_bg.png index 0d271f83951..438c4e047b9 100644 Binary files a/static/light_hatched_style/blue/footer_title_bg.png and b/static/light_hatched_style/blue/footer_title_bg.png differ diff --git a/static/light_hatched_style/blue/form_title_bg.png b/static/light_hatched_style/blue/form_title_bg.png index 2a35b6d4af3..1c3a1158fbf 100644 Binary files a/static/light_hatched_style/blue/form_title_bg.png and b/static/light_hatched_style/blue/form_title_bg.png differ diff --git a/static/light_hatched_style/blue/gray_bg.png b/static/light_hatched_style/blue/gray_bg.png index ed392936449..68ba1e642f7 100644 Binary files a/static/light_hatched_style/blue/gray_bg.png and b/static/light_hatched_style/blue/gray_bg.png differ diff --git a/static/light_hatched_style/blue/masthead_bg.png b/static/light_hatched_style/blue/masthead_bg.png index 32118cc15d1..ad51c7f40e3 100644 Binary files a/static/light_hatched_style/blue/masthead_bg.png and b/static/light_hatched_style/blue/masthead_bg.png differ diff --git a/static/light_hatched_style/blue/menu_bg.png b/static/light_hatched_style/blue/menu_bg.png index 363031cf958..fbf73542f8e 100644 Binary files a/static/light_hatched_style/blue/menu_bg.png and b/static/light_hatched_style/blue/menu_bg.png differ diff --git a/static/light_hatched_style/blue/ok_bg.png b/static/light_hatched_style/blue/ok_bg.png index 42cfd91d9d9..7584e6670bb 100644 Binary files a/static/light_hatched_style/blue/ok_bg.png and b/static/light_hatched_style/blue/ok_bg.png differ diff --git a/static/light_hatched_style/blue/warn_bg.png b/static/light_hatched_style/blue/warn_bg.png index f824057a317..253c5bb6b53 100644 Binary files a/static/light_hatched_style/blue/warn_bg.png and b/static/light_hatched_style/blue/warn_bg.png differ diff --git a/templates/tool_form.tmpl b/templates/tool_form.tmpl index 27217080755..086f5cd66f0 100644 --- a/templates/tool_form.tmpl +++ b/templates/tool_form.tmpl @@ -1,3 +1,4 @@ + #from galaxy.util.expressions import ExpressionContext @@ -12,33 +13,32 @@
-#if $getVar( 'error_message', None ) - - -#end if +## #if $getVar( 'error_message', None ) +## +## +## #end if #def do_inputs( $inputs, $tool_state, $errors, $prefix, $context=None ) #set $context = ExpressionContext( $tool_state, $context ) #for $input_index, $input in enumerate( $inputs.itervalues() ) #if $input.type == "repeat" - #if $input_index > 0 -
$parent_errors[$param.name]|
+
#if $tool_state.page == $tool.last_page
-
+
#else
-
+
#end if
- |