Sha256: ed6a85519eeec3bd6cd0b3b0a0ae2e80c87d49adca5136860c42b5b6f12ad2b6

Contents?: true

Size: 1.74 KB

Versions: 3

Compression:

Stored size: 1.74 KB

Contents

<script>
var host = "<%=@host%>";
var port = "<%=@port%>";
var report_view = "<%=@report_view%>";
</script>

<div class="os-block">
	<div class="ui-widget-header clearfix">
    	<%=OldSql.report_select_page_title%>
  	</div>

	<form id="report-form" name="report-form" action="/oldsql/reports/query" method="POST">
		<div class="report-form-row">
			<div class="report-form-label">SELECT A REPORT:</div>
			<div class="report-form-input">
				<select name="report" id="report" 
					onchange="report_selected()">
					<option></option>		
					<% @reports.each do |report, data| %>
					<option value="<%= data['name'] %>" report_sql="<%= data['report_sql'] %>" desc="<%= data['description'] %>" name="<%=report%>"><%= data['description'] %></option>
					<% end %>
				</select>
			</div>
		</div>
		
		<div class="report-form-row">
			<div class="report-form-label">START DATE:</div>
			<div class="report-form-input">
				<input type="text" id="datepicker-start" name="start_date" value="">
			</div>
		</div>
		
		<div class="report-form-row">
			<div class="report-form-label">END DATE:</div>
			<div class="report-form-input">
				<input type="text" id="datepicker-end" name="end_date" value="">
			</div>
		</div>
		
		<div class="report-form-row">
			<div class="report-form-label"></div>
			<input type="button" value="Run" onclick="load_report();"/>
		</div>
	</form>
	
	<div id="links">
		<div><%= link_to_function("Print Report", "javascript:print_report()") %></div>
		<div><%= link_to_function("Export To Excel", "javascript:export_report_to_excel()") %></div>
	</div>

	<div id="data_grid">
		<iframe id="data_grid_frame" src="" width="100%" height="530" frameborder="0" scrolling="no">
			<p>Your browser does not support iframes.</p>
		</iframe>
	</div>
		
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
old_sql-1.13.0 app/views/old_sql/report/index.html.erb
old_sql-1.12.0 app/views/old_sql/report/index.html.erb
old_sql-1.11.0 app/views/old_sql/report/index.html.erb