kadmin 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/layouts/kadmin/application.html.erb +96 -96
- data/lib/kadmin/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbf1d95b7f00f351e61cddfbef2de92dd0fb430d178601cab3dda443361d3fd9
|
4
|
+
data.tar.gz: 8a2a628316d861856b54b2667485dad1a97db402751a4ed6ba802a7eb5635eb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2caa4660e15c6f21803c8b47b7c7bd78d34777e589a440d115d85f1d67d148373f646a7f4ee6005887b5d460625917b50c4ea33ed7b439b3c186f4b070927eb2
|
7
|
+
data.tar.gz: 8cffec59ad655d1858aa4fbaa42d86f5135edc04432584f7cc16fda537677ba13a48bc82a1a4b4e9799e77751a83ad61f97b956454c378ffa16c6903ab1856f2
|
@@ -1,105 +1,105 @@
|
|
1
1
|
<!doctype html>
|
2
2
|
<html lang="en">
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
4
|
+
<head>
|
5
|
+
<meta charset="utf-8">
|
6
|
+
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
7
|
+
<title>Apps/Services Admin</title>
|
8
|
+
<meta name="description" content="">
|
9
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
10
|
+
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
11
|
+
<!-- Place favicon.ico in the root directory -->
|
12
|
+
<%= stylesheet_link_tag "kadmin/application", media: "all" %>
|
13
|
+
<%= yield :stylesheets %>
|
14
|
+
<%= csrf_meta_tags %>
|
15
|
+
</head>
|
16
16
|
|
17
17
|
<!-- Wow, this is kind of silly, if the body class is not set the menu toggles don't work -->
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
18
|
+
<body class="loaded kadmin">
|
19
|
+
<div class="main-wrapper">
|
20
|
+
<div class="app" id="app">
|
21
|
+
<header class="header">
|
22
|
+
<div class="header-block header-block-nav">
|
23
|
+
<ul class="nav-profile">
|
24
|
+
<% if logged_in? %>
|
25
|
+
<% if false && authorized_user.admin? %>
|
26
|
+
<%= form_tag(Kadmin::Engine.routes.url_helpers.auth_change_organization_path) do -%>
|
27
|
+
<%= select_tag('organization_id', options_from_collection_for_select(Kadmin::Organization.all, :id, :name, @organization.id), onchange: "this.form.submit();", class: 'form-control')%>
|
28
|
+
<% end -%>
|
29
|
+
<% else %>
|
30
|
+
<li style="padding-right: 10px;"><%= authorized_user.organization %></li>
|
31
|
+
<% end %>
|
32
|
+
<li><%= link_to(t('kadmin.authorization.logout'), Kadmin::Engine.routes.url_helpers.auth_logout_path) %></li>
|
33
|
+
<% end %>
|
34
|
+
</ul>
|
35
|
+
</div>
|
36
|
+
</header>
|
37
|
+
<aside class="sidebar">
|
38
|
+
<div class="sidebar-container">
|
39
|
+
<div class="sidebar-header">
|
40
|
+
<div class="brand">
|
41
|
+
<a class="titlelink" href="/admin">Apps&Services Admin</a>
|
42
|
+
</div>
|
43
|
+
</div>
|
44
|
+
<% if (!Kadmin::Auth.config.enabled? || logged_in?) && !Kadmin.config.navbar_items.empty? %>
|
45
|
+
<nav class="menu">
|
46
|
+
<ul class="nav metismenu" id="sidebar-menu">
|
47
|
+
<% Kadmin.config.navbar_items_for_user(authorized_user).each do |item| %>
|
48
|
+
<%= item.present(self).render %>
|
49
|
+
<% end %>
|
50
|
+
</ul>
|
51
|
+
</nav>
|
52
|
+
<% end %>
|
53
|
+
</div>
|
54
|
+
</aside>
|
55
|
+
<div class="sidebar-overlay" id="sidebar-overlay"></div>
|
56
|
+
<article class="content dashboard-page">
|
57
|
+
<div class="row">
|
58
|
+
<% if content_for?(:sidebar) %>
|
59
|
+
<div class="col-xl-8">
|
60
|
+
<!-- main -->
|
61
|
+
<%= render partial: 'kadmin/helpers/alerts' %>
|
62
|
+
<%= yield %>
|
63
|
+
</div>
|
64
|
+
<div class="col-xl-4 helpsidebar">
|
65
|
+
<!-- sidebar -->
|
66
|
+
<div class="card card-default">
|
67
|
+
<div class="card-header">
|
68
|
+
<div class="header-block">
|
69
|
+
<p class="title">Help</p>
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
<div class="card-block">
|
73
|
+
<%= yield(:sidebar) %>
|
74
|
+
</div>
|
75
|
+
</div>
|
76
|
+
</div>
|
77
|
+
<% else %>
|
78
|
+
<div class="col-sm-12">
|
79
|
+
<%= render partial: 'kadmin/helpers/alerts' %>
|
80
|
+
<%= yield %>
|
81
|
+
</div>
|
82
|
+
<% end %>
|
83
|
+
</div>
|
84
|
+
</article>
|
85
|
+
<footer class="footer">
|
86
|
+
<div class="footer-block buttons"></div>
|
87
|
+
<div class="footer-block author">
|
88
|
+
<ul>
|
89
|
+
<li>Problems?
|
90
|
+
<a href="https://redmine.offerista.com/projects/apps-services/issues/new">Create a Ticket</a>
|
91
|
+
</li>
|
92
|
+
</ul>
|
93
|
+
</div>
|
94
|
+
</footer>
|
95
|
+
</div>
|
96
|
+
</div>
|
97
97
|
<%= javascript_include_tag "kadmin/application" %>
|
98
|
-
|
99
|
-
|
98
|
+
<script type='text/javascript'>
|
99
|
+
jQuery(document).ready(function () {
|
100
100
|
jQuery('#sidebar-menu').metisMenu({ activeClass: 'open' });
|
101
|
-
|
102
|
-
|
101
|
+
});
|
102
|
+
</script>
|
103
103
|
<%= yield :javascripts %>
|
104
|
-
|
104
|
+
</body>
|
105
105
|
</html>
|
data/lib/kadmin/version.rb
CHANGED