conte_rails_template 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module ConteRailsTemplate
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -0,0 +1,59 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Conte</title>
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <%= stylesheet_link_tag "application", :media => "all" %>
7
+ <%= javascript_include_tag "application" %>
8
+ <%= csrf_meta_tags %>
9
+ </head>
10
+ <body>
11
+ <div id="page">
12
+ <div id="sidebar">
13
+ <div id="logo-bg">
14
+ <div id="logo"></div>
15
+ </div>
16
+ <div id="navigation">
17
+ <%= render_navigation(level: 1..2, renderer: :navigation_renderer, expand_all: true) %>
18
+ </div>
19
+ </div>
20
+ <div id="main" class="clearfix">
21
+ <div id="header">
22
+ <div class="container-fluid">
23
+ <div class="row-fluid">
24
+ <div class="span6">
25
+ <ul class="breadcrumb">
26
+ <%= yield :breadcrumbs %>
27
+ </ul>
28
+ </div>
29
+ <div class="span6">
30
+ <ul class="nav pull-right user-section">
31
+ <%- if user_signed_in? %>
32
+ <li class="dropdown">
33
+ <a href="javascript:void(0);" class="dropdown-toggle"><%= t("labels.welcome")%>, <strong><%= current_user.email %></strong> <b class="caret"></b></a>
34
+ <ul class="dropdown-menu">
35
+ <li>
36
+ <%= link_to(t("buttons.sign_out"), destroy_user_session_path, :method=>'delete') %>
37
+ </li>
38
+ </ul>
39
+ </li>
40
+ <% else %>
41
+ <li><%= link_to t("buttons.sign_in"), :user_session %></li>
42
+ <% end -%>
43
+ </ul>
44
+ </div>
45
+ </div>
46
+ </div>
47
+
48
+ </div>
49
+
50
+ <%= yield :page_toolbar %>
51
+
52
+ <div id="content">
53
+ <%= yield %>
54
+ </div>
55
+ </div>
56
+ </div>
57
+
58
+ </body>
59
+ </html>
@@ -0,0 +1,34 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title><%= Settings.app.name %></title>
5
+ <%= stylesheet_link_tag "single", :media => "all" %>
6
+
7
+ <%= csrf_meta_tags %>
8
+ </head>
9
+ <body>
10
+ <div id="page" class="container-fluid">
11
+ <div class="row-fluid">
12
+ <div class="span4"></div>
13
+ <div class="span4">
14
+ <%- if controller_name != 'sessions' %>
15
+ <%= link_to t('buttons.sign_in'), new_session_path(resource_name) %><br />
16
+ <% end -%>
17
+ </div>
18
+ </div>
19
+ <div class="row-fluid">
20
+ <div class="span4">
21
+ <div id="logo">
22
+ </div>
23
+ </div>
24
+ <div class="span6">
25
+ <div id="main">
26
+ <%= render :partial => 'shared/notification' %>
27
+ <%= yield %>
28
+ </div>
29
+ </div>
30
+ </div>
31
+ </div>
32
+
33
+ </body>
34
+ </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conte_rails_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: