Archive: ComponentOwl Rails app, DB backups, go redirect script
This commit is contained in:
48
app/views/layouts/application.html.erb
Normal file
48
app/views/layouts/application.html.erb
Normal file
@@ -0,0 +1,48 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<%= render :partial => "shared/meta" %>
|
||||
<%= cached_stylesheets_base %>
|
||||
<%= yield :header %>
|
||||
</head>
|
||||
<body<%= ' class="d-homepage"' if @controller.controller_name == "home" %>>
|
||||
|
||||
<div class="d-page">
|
||||
|
||||
<%= render :partial => "shared/header" %>
|
||||
|
||||
<% if @controller.controller_name == "home" %>
|
||||
|
||||
<div class="d-content-wrap">
|
||||
<%= yield %>
|
||||
</div>
|
||||
|
||||
<% else %>
|
||||
|
||||
<div class="d-placing">
|
||||
<div class="d-content-wrap">
|
||||
<%= yield %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% end %>
|
||||
|
||||
<%= render :partial => "shared/footer" %>
|
||||
|
||||
</div>
|
||||
|
||||
<%= cached_javascripts_app %>
|
||||
<%= page_include %>
|
||||
|
||||
<!-- Place this tag after the last plusone tag -->
|
||||
<script type="text/javascript">
|
||||
(function() {
|
||||
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
|
||||
po.src = 'https://apis.google.com/js/plusone.js';
|
||||
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
|
||||
})();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user