Sha256: e080d49c09c81b0b0a52f68d7cf9198e7fea4f1cc1bef20741f0a6f3a761f970

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

<html>
	<head>
		<title>Settings</title>
		<style>
			.path { 
				padding: 5px;
				font-size: 140%;
				background: #ddd;
			}
			.error { 
				padding: 5px;
				padding-top: 15px;
				font-size: 140%;
				color: #f00;
			}
			.load {
				padding: 5px;
				color: #555;
			}
			.source {
				border: 1px solid #ccc; 
				padding: 10px;
				margin-top: 10px; margin-bottom: 10px;
			}
			h2 {
				padding-left: 5px;
				background: #eee;
			}
			table {
				border-collapse: collapse; 
				width: 100%;
			}
			th {
				border: 1px solid #ccc; padding: 5px; background: #ff0
			}
			td {
				border: 1px solid #ccc; padding: 5px
			}
		</style>
	</head>
	<body>
		<h1>Settings</h1>

		<table width="100%">
			<tr>
				<th>Name</th>
				<th>Value</th>
				<th>Type</th>
				<th>Description</th>
			</tr>
		<?r	for s in Configuration.settings ?>
			<tr>
				<td>#{s.owner}.<strong>#{s.name}</strong></td>
				<td>#{s.value.inspect}</td>
				<td>#{s.type}</td>
				<td>#{s.options[:doc]}</td>
			</tr>
		<?r end ?>
		</table>
		
		<br /><br />
		Powered by <a href="http://www.nitrohq.com">Nitro</a> version #{Nitro::Version}
	</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nitro-0.20.0 proto/public/settings.xhtml