⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default.html.erb

📁 FusionCharts 是一个免费的图形显示组件
💻 ERB
字号:
<HTML>
	<HEAD>
		<TITLE>
			FusionCharts Free - Form Based Data Charting Example
		</TITLE>
		<style type="text/css">
			<!--
			body {
				font-family: Arial, Helvetica, sans-serif;
				font-size: 12px;
			}
			.text{
				font-family: Arial, Helvetica, sans-serif;
				font-size: 12px;
			}
			-->
		</style>
	</HEAD>
	<BODY>
		<CENTER>
			<h2><a href="http://www.fusioncharts.com" target="_blank" >FusionCharts Free</a> Form-Based Data Example</h2>
			<p class='text'>Please enter how many items of each category you
			sold within this week. We'll plot this data on a Pie chart.</p>
			<p class='text'>To keep things simple, we're not validating for
			non-numeric data here. So, please enter valid numeric values only. In
			your real-world applications, you can put your own validators.</p>
		
			<% form_tag(:action=>'chart') do -%>
				<table width='50%' align='center' cellpadding='2' cellspacing='1'
					border='0' class='text'>
					<tr>
						<td width='50%' align='right'><B>Soups:</B> &nbsp;</td>
						<td width='50%'><input type='text' size='5' name='Soups'
							value='108'> bowls</td>
					</tr>
					<tr>
						<td width='50%' align='right'><B>Salads:</B> &nbsp;</td>
						<td width='50%'><input type='text' size='5' name='Salads'
							value='162'> plates</td>
					</tr>
					<tr>
						<td width='50%' align='right'><B>Sandwiches:</B> &nbsp;</td>
						<td width='50%'><input type='text' size='5' name='Sandwiches'
							value='360'> pieces</td>
					</tr>
					<tr>
						<td width='50%' align='right'><B>Beverages:</B> &nbsp;</td>
						<td width='50%'><input type='text' size='5' name='Beverages'
							value='171'> cans</td>
					</tr>
					<tr>
						<td width='50%' align='right'><B>Desserts:</B> &nbsp;</td>
						<td width='50%'><input type='text' size='5' name='Desserts'
							value='99'> plates</td>
					</tr>
					<tr>
						<td width='50%' align='right'>&nbsp;</td>
						<td width='50%'><input type='submit' value='Chart it!'></td>
					</tr>
				<table>
			<% end -%> 
			<BR><h5><%= link_to '&laquo; Back to list of examples', :controller=>'fusioncharts/index'%></h5>	
		</CENTER>
	</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -