dashstrap 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b6fb8fd59dc184003d0e82a9da5c0aca6d888d0
|
4
|
+
data.tar.gz: f359ae8beabd33eee01e55ee1c83b578013da2bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a2bd1c800d1c71b34bc692e2276c17f22755ecb682bf835d2f8ca96c732d575f611bd59aa3863a7b40c9b16e79bb1b4405eca335ac0957f28b32c0d140d3c17
|
7
|
+
data.tar.gz: 3d90ec50a6c6fbe81cb94d6d6e2a4896f05831a216d9a8f9beab2edff887f421ffbeb99135f1a4d2e359c422384982b6cd5fc5dcc8d9aba97a1633a2bfdef10d
|
data/lib/dashstrap/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dashstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sameer Rahmani
|
@@ -317,9 +317,6 @@ files:
|
|
317
317
|
- app/views/faalis/dashboard/not_found.html.slim
|
318
318
|
- app/views/faalis/dashboard/not_found.js.erb
|
319
319
|
- app/views/layouts/dashstrap/.keep
|
320
|
-
- app/views/layouts/faalis/application.html.erb
|
321
|
-
- app/views/layouts/faalis/dashboard.html.erb
|
322
|
-
- app/views/layouts/faalis/simple.html.erb
|
323
320
|
- config/initializers/assets.rb
|
324
321
|
- dashstrap.gemspec
|
325
322
|
- lib/dashstrap.rb
|
@@ -1,83 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title><%= Faalis::Engine.site_title %></title>
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
6
|
-
<%= stylesheet_link_tag Faalis::I18n.direction(I18n.locale) + "/application", media: "all" %>
|
7
|
-
<%= javascript_include_tag :modernizr %>
|
8
|
-
<%= csrf_meta_tags %>
|
9
|
-
</head>
|
10
|
-
<body>
|
11
|
-
<div class="header">
|
12
|
-
<div class="large-12 columns">
|
13
|
-
<!-- Navigation -->
|
14
|
-
<nav class="top-bar" data-topbar>
|
15
|
-
<ul class="title-area">
|
16
|
-
<li class="name">
|
17
|
-
<h1>
|
18
|
-
<a href="<%= faalis.root_path %>">
|
19
|
-
<%= Faalis::Engine.site_title %>
|
20
|
-
</a>
|
21
|
-
</h1>
|
22
|
-
</li>
|
23
|
-
<li class="toggle-topbar menu-icon"><a href="#"><%= _('Menu') %></a></li>
|
24
|
-
</ul>
|
25
|
-
|
26
|
-
<section class="top-bar-section">
|
27
|
-
<!-- Right Nav Section -->
|
28
|
-
<ul class="<%= Faalis::I18n.direction(I18n.locale) == "ltr" ? "right" : "left" %>">
|
29
|
-
<% unless user_signed_in? %>
|
30
|
-
<li class="has-form"><%= link_to(faalis.new_user_registration_path, :class => "alert button expand") { content_tag(:i, "", class: "fa fa-user") + " #{_('Register')}" } %></li>
|
31
|
-
|
32
|
-
<li class="has-form"><%= link_to(faalis.user_session_path, :class => "button expand") { content_tag(:i, "", class: "fa fa-sign-in") + " #{_('Sign in')}" } %></li>
|
33
|
-
<% else %>
|
34
|
-
<li class="has-form"><%= link_to(faalis.dashboard_path, :class => "success button expand") { content_tag(:i, "", class: "fa fa-dashboard") + " #{_('Dashboard')}" }%></li>
|
35
|
-
</li>
|
36
|
-
<li class="has-form"><%= link_to(faalis.destroy_user_session_path, :class => "alert button expand", :method => :delete) { content_tag(:i, "", class: "fa fa-sign-out") + " #{_('Sign out')}" } %></li>
|
37
|
-
<% end %>
|
38
|
-
</ul>
|
39
|
-
|
40
|
-
<!-- Left Nav Section -->
|
41
|
-
<ul class="<%= Faalis::I18n.direction(I18n.locale) == "ltr" ? "left" : "right" %>">
|
42
|
-
|
43
|
-
<li class="has-dropdown"><a href="#"><i class="fa fa-flag"></i> <%= _("Languages") %></a>
|
44
|
-
<ul class="dropdown">
|
45
|
-
<% ::I18n.available_locales.each do |locale| %>
|
46
|
-
<li><a href="<%= "/#{locale.to_s}/" %>"><%= locale %></a></li>
|
47
|
-
<% end %>
|
48
|
-
</ul>
|
49
|
-
</li>
|
50
|
-
|
51
|
-
</ul>
|
52
|
-
</section>
|
53
|
-
</nav>
|
54
|
-
|
55
|
-
<!-- End Navigation -->
|
56
|
-
</div>
|
57
|
-
</div>
|
58
|
-
|
59
|
-
<%= yield %>
|
60
|
-
|
61
|
-
<%= debug I18n.locale %>
|
62
|
-
<!-- Footer -->
|
63
|
-
|
64
|
-
<footer>
|
65
|
-
<div class="row">
|
66
|
-
<div class="large-6 columns">
|
67
|
-
<p>© Copyright no one at all. Go to town.</p>
|
68
|
-
</div>
|
69
|
-
<div class="large-6 columns">
|
70
|
-
<ul class="inline-list right">
|
71
|
-
<li><a href="#">Link 1</a></li>
|
72
|
-
<li><a href="#">Link 2</a></li>
|
73
|
-
<li><a href="#">Link 3</a></li>
|
74
|
-
<li><a href="#">Link 4</a></li>
|
75
|
-
</ul>
|
76
|
-
</div>
|
77
|
-
</div>
|
78
|
-
</footer>
|
79
|
-
<%= javascript_include_tag "faalis/application" %>
|
80
|
-
<%= javascript_include_tag "locale/#{::I18n.locale}" %>
|
81
|
-
|
82
|
-
</body>
|
83
|
-
</html>
|
@@ -1,51 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="<%= ::I18n.locale %>" dir="<%= Faalis::I18n.direction(I18n.locale) %>">
|
3
|
-
<head>
|
4
|
-
<meta charset="UTF-8">
|
5
|
-
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
6
|
-
<title><%= Faalis::Engine.site_title %></title>
|
7
|
-
|
8
|
-
<%= stylesheet_link_tag "dashboard/" + Faalis::I18n.direction(I18n.locale) + "/application", media: "all" %>
|
9
|
-
<%= javascript_include_tag :modernizr %>
|
10
|
-
<%= javascript_include_tag Faalis::Engine.dashboard_js_manifest %>
|
11
|
-
|
12
|
-
<%= csrf_meta_tags %>
|
13
|
-
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
14
|
-
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
15
|
-
<!--[if lt IE 9]>
|
16
|
-
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
17
|
-
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
18
|
-
<![endif]-->
|
19
|
-
</head>
|
20
|
-
<body class="skin-blue">
|
21
|
-
|
22
|
-
<%= render 'dashstrap/shared/header' %>
|
23
|
-
<div class="wrapper row-offcanvas row-offcanvas-left">
|
24
|
-
|
25
|
-
<%= render 'dashstrap/shared/sidebar' %>
|
26
|
-
|
27
|
-
<!-- Right side column. Contains the navbar and content of the page -->
|
28
|
-
<aside class="right-side">
|
29
|
-
<%= render 'dashstrap/shared/content_header' %>
|
30
|
-
<!-- Main content -->
|
31
|
-
<section class="content">
|
32
|
-
|
33
|
-
<div class="row">
|
34
|
-
<div class="col-sm-12">
|
35
|
-
<br />
|
36
|
-
<div id="flash-alert" class="alert alert-danger alert-dismissable hide">
|
37
|
-
<i id="flash-icon" class="fa"></i>
|
38
|
-
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
39
|
-
<span id="flash-msg"></span>
|
40
|
-
</div>
|
41
|
-
</div>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<%= yield %>
|
45
|
-
</section><!-- /.content -->
|
46
|
-
</aside><!-- /.right-side -->
|
47
|
-
</div>
|
48
|
-
|
49
|
-
<%= javascript_include_tag "locales/#{::I18n.locale}" %>
|
50
|
-
</body>
|
51
|
-
</html>
|
@@ -1,22 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html class="bg-black" lang="<%= ::I18n.locale %>" dir="<%= Faalis::I18n.direction(I18n.locale) %>">
|
3
|
-
<head>
|
4
|
-
<meta charset="UTF-8">
|
5
|
-
<title><%= Faalis::Engine.site_title %></title>
|
6
|
-
|
7
|
-
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
8
|
-
<%= stylesheet_link_tag 'simple/' + Faalis::I18n.direction(I18n.locale) + "/application", media: "all" %>
|
9
|
-
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
10
|
-
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
11
|
-
<!--[if lt IE 9]>
|
12
|
-
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
13
|
-
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
14
|
-
<![endif]-->
|
15
|
-
</head>
|
16
|
-
<body class="bg-black">
|
17
|
-
<%= yield %>
|
18
|
-
|
19
|
-
<%= javascript_include_tag 'simple' %>
|
20
|
-
<%= javascript_include_tag "locale/#{::I18n.locale}" %>
|
21
|
-
</body>
|
22
|
-
</html>
|