initial checkin of full application
This commit is contained in:
17
app/views/layouts/application.html.erb
Normal file
17
app/views/layouts/application.html.erb
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><%= @title.nil? ? (@menu.nil? ? t(:application_name) : @menu.capitalize + ' - ' + t(:application_name)) : @title + ' - ' + t(:application_name) %></title>
|
||||
<%= stylesheet_link_tag :all %>
|
||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
|
||||
<%= csrf_meta_tag %>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
<div id="header"><div class="fixedwidth"><%= render 'layouts/header' %></div></div>
|
||||
<div id="menuwrap" class="fixedwidth"><%= render 'layouts/menu' %></div>
|
||||
<div id="content" class="fixedwidth"><%= yield %></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user