Browse Source

HUE-48. Beeswax error box too small

Aaron Newton 15 years ago
parent
commit
7bc2442392

+ 4 - 4
apps/beeswax/src/beeswax/templates/execute.mako

@@ -75,7 +75,7 @@
 ${wrappers.head('Hive Query', section='query')}
 % if error_message:
 <div class="alert_popup jframe_renders">
-  <dl class="bw-query">
+  <dl class="bw-query_error">
     <dt class="ccs-dt_cap">Your Query Has the Following Error(s):</dt>
     <dd class="ccs-dd_bottom ccs-error">
       <div class="validation-advice">
@@ -83,7 +83,7 @@ ${wrappers.head('Hive Query', section='query')}
       </div>
       % if log:
         <div class="bw-error_tab_msg">
-          (click the <b>Error Log</b> tab above for details)
+          (click the <b>Error Log</b> tab above the editor input for details)
         </div>
       % endif
     </dd>
@@ -246,8 +246,8 @@ ${wrappers.head('Hive Query', section='query')}
               <li>
                 ${query()}
               </li>
-              % if log:
-                <li class="jframe_padded">
+              % if error_message or log:
+                <li class="bw-results_log jframe_padded">
                   % if log:
                     <pre>${log}</pre>
                   % endif

+ 11 - 4
apps/beeswax/static/css/beeswax.css

@@ -788,14 +788,14 @@ div.beeswax .bw-actions ul li a.bw-download_xls {
 	background: #9acef5 url(/static/art/led-icons/doc_excel_table.png) no-repeat 4px 50%;
 }
 div.beeswax .ccs-window-toolbar .tabs {
-	left:206px;
-	position:absolute;
-	top:69px;
+	right: 7px;
+	position: absolute;
+	top: 69px;
 	margin: 0;
 }
 div.beeswax .bw-save_query_results input[type=radio] {
 	float: left;
-	clear:both;
+	clear: both;
 }
 div.beeswax .watch_results .bw-save_query_results .accordion .target {
 	clear: both;
@@ -828,6 +828,13 @@ div.beeswax .bw-save {
 	background: #9acef5 url(/static/art/icons/525_floppy.gif) no-repeat 4px 50%;
 }
 /* query page */
+div.beeswax .bw-query_error {
+	width: 400px;
+	min-height: 100px;
+}
+div.beeswax .bw-results_log {
+	background: #fff;
+}
 div.beeswax .bw-query-field {
 	width: 100%;
 	margin: 0px auto;