[Koha-patches] [PATCH] Fix for Bug 4534, Box for SQL not visible in "Create Report from SQL"

Owen Leonard oleonard at myacpl.org
Thu May 20 14:16:02 CEST 2010


Changed style of SQL box and altered markup for a somewhat
cleaner layout
---
 .../en/modules/reports/guided_reports_start.tmpl   |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl
index 5b3c569..7a24859 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tmpl
@@ -17,7 +17,7 @@
 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
 <style type="text/css">
-    #sql { width: 90%; height: 9em; border: 1px solid #EEE; }
+    #sql { width: 90%; height: 9em;}
 </style>
 <script type="text/javascript">
 //<![CDATA[
@@ -69,7 +69,6 @@ $(document).ready(function(){
 <div id="bd">
 <div id="yui-main">
     <div class="yui-b">
-    <div class="details">
 
 <!-- TMPL_IF NAME="start" -->
     <h2>Guided Reports</h2>
@@ -477,9 +476,14 @@ NAME="name" -->"><!-- TMPL_VAR NAME="name"--></label></td><td>
             <option value="3" disabled="disabled">Matrix</option>
         </select>
     </li>
-    <li><label for="sql">SQL: </label><textarea  id="sql" name="sql" cols="50" rows="10"><!-- TMPL_VAR NAME="sql" DEFAULT="" --></textarea></li>
 </ol>
 </fieldset>
+<fieldset class="rows">
+<legend>SQL:</legend>
+<div style="margin:1em;">
+<textarea  id="sql" name="sql" cols="50" rows="10"><!-- TMPL_VAR NAME="sql" DEFAULT="" --></textarea>
+</div>
+</fieldset>
 
 <fieldset class="action"><input type="hidden" name="phase" value="Save Report" />
 <input type="submit" name="submit" value="Save Report" /></fieldset>
@@ -578,7 +582,6 @@ Sub report:<select name="subreport">
 
 </div>
 </div>
-</div>
 <div class="yui-b">
 <!-- TMPL_INCLUDE NAME="guided-reports-view.inc" -->
 </div>
-- 
1.7.0.4




More information about the Koha-patches mailing list