Sha256: be47766d8cc6eb7b2a022b46232b91bda07f0aaf22fe23964c2d23c32a2a2de4

Contents?: true

Size: 1.25 KB

Versions: 2

Compression:

Stored size: 1.25 KB

Contents

<html>
	<head>
		<title>Kitsune CMS</title>
		<%= stylesheet_link_tag 'kitsune/global.css' %>
		<!--[if IE]>
      <%= stylesheet_link_tag 'kitsune/ie.css' %>
    <![endif]-->
		<%= javascript_include_tag 'kitsune/nicEdit.js' %>
	</head>
	<body>
		<div id='content'>
			<div id='header'>
				<h1><%= link_to 'Kitsune CMS', :controller => 'admin/kitsune/models' %></h1>
				<a href='/'>View Site</a>
			</div>
			<div class='kitsune_container'>
				<div class='kitsune_right_container'>
					<div class='kitsune_right'>
						<%= yield %>
					</div>
				</div>
				<div class='kitsune_left'>
					<% @models.each do |model| %>
						<% if model.is_a? Hash %>
							<% model.each do |key, value| %>
								<div class='kitsune_category'>
									<h3><%= key %></h3>
									<% value.each do |inner_model| %>
										<div class='kitsune_inner_model_link'><%= link_to inner_model.admin_name, :controller => 'admin/kitsune/records', :model_id => inner_model.object_class %></div>
									<% end %>
								</div>
							<% end %>
						<% else %>
							<div class='kitsune_model_link'><%= link_to model.admin_name, :controller => 'admin/kitsune/records', :model_id => model.object_class %></div>
						<% end %>
					<% end %>
				</div>
			</div>
		</div>
	</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kitsune-0.0.13 app/views/layouts/admin/kitsune.html.erb
kitsune-0.0.12 app/views/layouts/admin/kitsune.html.erb