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>
|
||||
15
app/views/layouts/cute_admin.html.erb
Normal file
15
app/views/layouts/cute_admin.html.erb
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<title><%= controller.controller_name.singularize.camelize.constantize.human_name(:count => 2) %></title>
|
||||
<%= stylesheet_link_tag 'cute_admin' %>
|
||||
</head>
|
||||
<body>
|
||||
<% if flash[:notice] -%><p class="flash-notice"><%= flash[:notice] %></p><% end -%>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
17
app/views/layouts/iframe.html.erb
Normal file
17
app/views/layouts/iframe.html.erb
Normal file
@@ -0,0 +1,17 @@
|
||||
<!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" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<%= cached_stylesheets_base %>
|
||||
</head>
|
||||
<body class="d-iframe">
|
||||
|
||||
<%= javascript_tag "var t = #{locales['txt']['javascript'].to_json}" %>
|
||||
|
||||
<%= yield %>
|
||||
|
||||
<%= cached_javascripts_base %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
18
app/views/layouts/login.html.erb
Normal file
18
app/views/layouts/login.html.erb
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cz" lang="cz">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||
<title>Login</title>
|
||||
<%= stylesheet_link_tag 'login' %>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="d-login">
|
||||
<div class="pad">
|
||||
<%= yield %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
30
app/views/layouts/simple.html.erb
Normal file
30
app/views/layouts/simple.html.erb
Normal file
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<%= render :partial => "shared/meta" %>
|
||||
<%= cached_stylesheets_simple %>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<%= javascript_tag "var t = #{locales['txt']['javascript'].to_json}" %>
|
||||
|
||||
<div class="d-page">
|
||||
|
||||
<div class="d-border"></div>
|
||||
|
||||
<div class="d-content-wrap">
|
||||
<%= yield %>
|
||||
</div>
|
||||
|
||||
<div class="d-footer">
|
||||
<div class="d-placing">© 2011 Dextronet.com, ComponentOwl.com. All rights reserved. <%= link_to "Go to Component Owl Homepage", root_path %></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<%= page_include %>
|
||||
<%= cached_javascripts_simple %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user