kuppayam 0.1.39 → 0.2.0.pre.materialize
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/fonts/Material-Design-Iconic-Font.eot +0 -0
- data/app/assets/fonts/Material-Design-Iconic-Font.svg +773 -0
- data/app/assets/fonts/Material-Design-Iconic-Font.ttf +0 -0
- data/app/assets/fonts/Material-Design-Iconic-Font.woff +0 -0
- data/app/assets/fonts/Roboto-Black.eot +0 -0
- data/app/assets/fonts/Roboto-Black.svg +10968 -0
- data/app/assets/fonts/Roboto-Black.ttf +0 -0
- data/app/assets/fonts/Roboto-Black.woff +0 -0
- data/app/assets/fonts/Roboto-Black.woff2 +0 -0
- data/app/assets/fonts/Roboto-BlackItalic.eot +0 -0
- data/app/assets/fonts/Roboto-BlackItalic.svg +11086 -0
- data/app/assets/fonts/Roboto-BlackItalic.ttf +0 -0
- data/app/assets/fonts/Roboto-BlackItalic.woff +0 -0
- data/app/assets/fonts/Roboto-BlackItalic.woff2 +0 -0
- data/app/assets/fonts/Roboto-Bold.eot +0 -0
- data/app/assets/fonts/Roboto-Bold.svg +11010 -0
- data/app/assets/fonts/Roboto-Bold.ttf +0 -0
- data/app/assets/fonts/Roboto-Bold.woff +0 -0
- data/app/assets/fonts/Roboto-Bold.woff2 +0 -0
- data/app/assets/fonts/Roboto-BoldItalic.eot +0 -0
- data/app/assets/fonts/Roboto-BoldItalic.svg +11096 -0
- data/app/assets/fonts/Roboto-BoldItalic.ttf +0 -0
- data/app/assets/fonts/Roboto-BoldItalic.woff +0 -0
- data/app/assets/fonts/Roboto-BoldItalic.woff2 +0 -0
- data/app/assets/fonts/Roboto-Light.eot +0 -0
- data/app/assets/fonts/Roboto-Light.svg +10564 -0
- data/app/assets/fonts/Roboto-Light.ttf +0 -0
- data/app/assets/fonts/Roboto-Light.woff +0 -0
- data/app/assets/fonts/Roboto-Light.woff2 +0 -0
- data/app/assets/fonts/Roboto-LightItalic.eot +0 -0
- data/app/assets/fonts/Roboto-LightItalic.svg +10646 -0
- data/app/assets/fonts/Roboto-LightItalic.ttf +0 -0
- data/app/assets/fonts/Roboto-LightItalic.woff +0 -0
- data/app/assets/fonts/Roboto-LightItalic.woff2 +0 -0
- data/app/assets/fonts/Roboto-Medium.eot +0 -0
- data/app/assets/fonts/Roboto-Medium.svg +10999 -0
- data/app/assets/fonts/Roboto-Medium.ttf +0 -0
- data/app/assets/fonts/Roboto-Medium.woff +0 -0
- data/app/assets/fonts/Roboto-Medium.woff2 +0 -0
- data/app/assets/fonts/Roboto-MediumItalic.eot +0 -0
- data/app/assets/fonts/Roboto-MediumItalic.svg +11100 -0
- data/app/assets/fonts/Roboto-MediumItalic.ttf +0 -0
- data/app/assets/fonts/Roboto-MediumItalic.woff +0 -0
- data/app/assets/fonts/Roboto-MediumItalic.woff2 +0 -0
- data/app/assets/fonts/Roboto-Regular.eot +0 -0
- data/app/assets/fonts/Roboto-Regular.svg +10520 -0
- data/app/assets/fonts/Roboto-Regular.ttf +0 -0
- data/app/assets/fonts/Roboto-Regular.woff +0 -0
- data/app/assets/fonts/Roboto-Regular.woff2 +0 -0
- data/app/assets/fonts/Roboto-RegularItalic.eot +0 -0
- data/app/assets/fonts/Roboto-RegularItalic.svg +10629 -0
- data/app/assets/fonts/Roboto-RegularItalic.ttf +0 -0
- data/app/assets/fonts/Roboto-RegularItalic.woff +0 -0
- data/app/assets/fonts/Roboto-RegularItalic.woff2 +0 -0
- data/app/assets/fonts/Roboto-Thin.eot +0 -0
- data/app/assets/fonts/Roboto-Thin.svg +10617 -0
- data/app/assets/fonts/Roboto-Thin.ttf +0 -0
- data/app/assets/fonts/Roboto-Thin.woff +0 -0
- data/app/assets/fonts/Roboto-Thin.woff2 +0 -0
- data/app/assets/fonts/Roboto-ThinItalic.eot +0 -0
- data/app/assets/fonts/Roboto-ThinItalic.svg +10726 -0
- data/app/assets/fonts/Roboto-ThinItalic.ttf +0 -0
- data/app/assets/fonts/Roboto-ThinItalic.woff +0 -0
- data/app/assets/fonts/Roboto-ThinItalic.woff2 +0 -0
- data/app/assets/fonts/fontawesome-webfont.woff2 +0 -0
- data/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/app/assets/fonts/weathericons-regular-webfont.eot +0 -0
- data/app/assets/fonts/weathericons-regular-webfont.svg +257 -0
- data/app/assets/fonts/weathericons-regular-webfont.ttf +0 -0
- data/app/assets/fonts/weathericons-regular-webfont.woff +0 -0
- data/app/assets/fonts/weathericons-regular-webfont.woff2 +0 -0
- data/app/assets/images/kuppayam/defaults/logo-large.png +0 -0
- data/app/assets/images/logo-white.png +0 -0
- data/app/assets/javascripts/kuppayam-materialize.js +24 -0
- data/app/assets/javascripts/{kuppayam.js → kuppayam-xenon.js} +0 -0
- data/app/assets/javascripts/materialize/app.min.js +1 -0
- data/app/assets/javascripts/materialize/hoe.js +1 -0
- data/app/assets/javascripts/materialize/materialize.min.js +10 -0
- data/app/assets/javascripts/materialize/vanillatree.js +210 -0
- data/app/assets/javascripts/materialize/vendors.min.js +35 -0
- data/app/assets/stylesheets/{kuppayam → general}/handycss.css +0 -0
- data/app/assets/stylesheets/kuppayam-materialize.css +27 -0
- data/app/assets/stylesheets/{kuppayam.css → kuppayam-xenon.css} +2 -2
- data/app/assets/stylesheets/materialize/custom.css +13 -0
- data/app/assets/stylesheets/materialize/hoe-horizontal-navigation.css +167 -0
- data/app/assets/stylesheets/materialize/hoe.scss +771 -0
- data/app/assets/stylesheets/materialize/staff-style.css +42 -0
- data/app/assets/stylesheets/materialize/style.css +796 -0
- data/app/assets/stylesheets/materialize/theme.scss +24397 -0
- data/app/assets/stylesheets/materialize/vanillatree.css +106 -0
- data/app/assets/stylesheets/materialize/vendors.min.css +1 -0
- data/app/assets/stylesheets/materialize/vendors.scss +3528 -0
- data/app/assets/stylesheets/{kuppayam → xenon}/custom.css +0 -0
- data/app/controllers/kuppayam/base_controller.rb +12 -8
- data/app/controllers/kuppayam/images_controller.rb +5 -5
- data/app/controllers/kuppayam/materialize_controller.rb +7 -0
- data/app/helpers/render_helper.rb +10 -0
- data/app/helpers/resource_helper.rb +37 -4
- data/app/views/kuppayam/images/_row.html.erb +2 -2
- data/app/views/kuppayam/materialize/icons.html.erb +751 -0
- data/app/views/kuppayam/workflows/parrot/create.js.erb +6 -2
- data/app/views/kuppayam/workflows/parrot/edit.js.erb +5 -1
- data/app/views/kuppayam/workflows/parrot/new.js.erb +7 -2
- data/app/views/kuppayam/workflows/parrot/update.js.erb +4 -0
- data/app/views/kuppayam/workflows/peacock/create.js.erb +7 -0
- data/app/views/kuppayam/workflows/peacock/edit.js.erb +5 -1
- data/app/views/kuppayam/workflows/peacock/new.js.erb +6 -2
- data/app/views/kuppayam/workflows/peacock/update.js.erb +7 -0
- data/app/views/layouts/kuppayam/materialize/_footer.html.erb +17 -0
- data/app/views/layouts/kuppayam/materialize/_head.html.erb +52 -0
- data/app/views/layouts/kuppayam/materialize/_header.html.erb +45 -0
- data/app/views/layouts/kuppayam/materialize/_heading.html.erb +11 -0
- data/app/views/layouts/kuppayam/materialize/_sidebar.html.erb +88 -0
- data/app/views/layouts/kuppayam/materialize/admin.html.erb +122 -0
- data/app/views/layouts/kuppayam/materialize/blank.html.erb +119 -0
- data/app/views/layouts/kuppayam/{image_upload.html.erb → materialize/image_upload.html.erb} +1 -1
- data/app/views/layouts/kuppayam/materialize/login.html.erb +21 -0
- data/app/views/layouts/kuppayam/{401.html.erb → xenon/401.html.erb} +0 -0
- data/app/views/layouts/kuppayam/{_footer.html.erb → xenon/_footer.html.erb} +0 -0
- data/app/views/layouts/kuppayam/{_head.html.erb → xenon/_head.html.erb} +0 -0
- data/app/views/layouts/kuppayam/{_header.html.erb → xenon/_header.html.erb} +0 -0
- data/app/views/layouts/kuppayam/{_heading.html.erb → xenon/_heading.html.erb} +0 -0
- data/app/views/layouts/kuppayam/{_horizontal_menu.html.erb → xenon/_horizontal_menu.html.erb} +14 -14
- data/app/views/layouts/kuppayam/{_navbar.html.erb → xenon/_navbar.html.erb} +1 -1
- data/app/views/layouts/kuppayam/{_settings_pane.html.erb → xenon/_settings_pane.html.erb} +0 -0
- data/app/views/layouts/kuppayam/{_sidebar.html.erb → xenon/_sidebar.html.erb} +13 -13
- data/app/views/layouts/kuppayam/{_sidebar_old.html.erb → xenon/_sidebar_old.html.erb} +0 -0
- data/app/views/layouts/kuppayam/{admin.html.erb → xenon/admin.html.erb} +6 -6
- data/app/views/layouts/kuppayam/{blank.html.erb → xenon/blank.html.erb} +2 -2
- data/app/views/layouts/kuppayam/{blank_with_nav.html.erb → xenon/blank_with_nav.html.erb} +3 -3
- data/app/views/layouts/kuppayam/{docs.html.erb → xenon/docs.html.erb} +5 -5
- data/app/views/layouts/kuppayam/{document_upload.html.erb → xenon/document_upload.html.erb} +1 -1
- data/app/views/layouts/kuppayam/xenon/image_upload.html.erb +17 -0
- data/app/views/layouts/kuppayam/{layout_horizontal_menu.html.erb → xenon/layout_horizontal_menu.html.erb} +5 -5
- data/app/views/layouts/kuppayam/{print_a4.html.erb → xenon/print_a4.html.erb} +1 -1
- data/app/views/layouts/kuppayam/{user.html.erb → xenon/user.html.erb} +6 -6
- data/config/routes.rb +3 -0
- data/lib/kuppayam/action_view/form_helper.rb +16 -3
- data/lib/kuppayam/version.rb +1 -1
- metadata +127 -27
@@ -34,15 +34,19 @@
|
|
34
34
|
// Show Main Error Message on the form
|
35
35
|
<% error_message = content_tag(:div, I18n.t('errors.errors_highlighted'), class: "alert alert-danger mt-20") %>
|
36
36
|
$("#<%= @resource_options[:item_name] %>_form_error").html("<%= escape_javascript(error_message) %>");
|
37
|
-
|
37
|
+
|
38
|
+
<% if @resource_options[:load_rich_text_editor] %>
|
38
39
|
// Initialize WYSIHTML Editor
|
39
40
|
$(".wysihtml5").wysihtml5(
|
40
41
|
{"stylesheets": '/assets/wysiwyg-color.css'}
|
41
42
|
);
|
43
|
+
<% end %>
|
42
44
|
|
45
|
+
<% if @resource_options[:tagsinput] %>
|
43
46
|
// Initialize WYSIHTML Editor
|
44
47
|
$('input.kuppayam-tagsinput').tagsinput();
|
45
|
-
|
48
|
+
<% end %>
|
49
|
+
|
46
50
|
// Showing Growl Like Message
|
47
51
|
notifyError("<%= escape_javascript(@notification[:title]) %>", "<%= escape_javascript(raw(@notification[:message])) %>");
|
48
52
|
|
@@ -3,11 +3,15 @@ var heading = "Edit '<%= raw @r_object.try(:display_name) %>'";
|
|
3
3
|
var bodyContent = "<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/form")) %>";
|
4
4
|
showGenericModal(heading, bodyContent, true);
|
5
5
|
|
6
|
+
<% if @resource_options[:load_rich_text_editor] %>
|
6
7
|
// Initialize WYSIHTML Editor
|
7
8
|
$(".wysihtml5").wysihtml5(
|
8
|
-
|
9
|
+
{"stylesheets": '/assets/wysiwyg-color.css'}
|
9
10
|
);
|
11
|
+
<% end %>
|
10
12
|
|
13
|
+
<% if @resource_options[:tagsinput] %>
|
11
14
|
// Initialize WYSIHTML Editor
|
12
15
|
$('input.kuppayam-tagsinput').tagsinput();
|
16
|
+
<% end %>
|
13
17
|
|
@@ -4,9 +4,14 @@ var bodyContent = "<%= escape_javascript(render(:partial=>"#{@resource_options[:
|
|
4
4
|
|
5
5
|
showGenericModal(heading, bodyContent, true);
|
6
6
|
|
7
|
+
<% if @resource_options[:load_rich_text_editor] %>
|
8
|
+
// Initialize WYSIHTML Editor
|
7
9
|
$(".wysihtml5").wysihtml5(
|
8
|
-
|
10
|
+
{"stylesheets": '/assets/wysiwyg-color.css'}
|
9
11
|
);
|
12
|
+
<% end %>
|
10
13
|
|
14
|
+
<% if @resource_options[:tagsinput] %>
|
11
15
|
// Initialize WYSIHTML Editor
|
12
|
-
$('input.kuppayam-tagsinput').tagsinput();
|
16
|
+
$('input.kuppayam-tagsinput').tagsinput();
|
17
|
+
<% end %>
|
@@ -35,13 +35,17 @@
|
|
35
35
|
<% error_message = content_tag(:div, I18n.t('errors.errors_highlighted'), class: "alert alert-danger mt-20") %>
|
36
36
|
$("#<%= @resource_options[:item_name] %>_form_error").html("<%= escape_javascript(error_message) %>");
|
37
37
|
|
38
|
+
<% if @resource_options[:load_rich_text_editor] %>
|
38
39
|
// Initialize WYSIHTML Editor
|
39
40
|
$(".wysihtml5").wysihtml5(
|
40
41
|
{"stylesheets": '/assets/wysiwyg-color.css'}
|
41
42
|
);
|
43
|
+
<% end %>
|
42
44
|
|
45
|
+
<% if @resource_options[:tagsinput] %>
|
43
46
|
// Initialize WYSIHTML Editor
|
44
47
|
$('input.kuppayam-tagsinput').tagsinput();
|
48
|
+
<% end %>
|
45
49
|
|
46
50
|
// Showing Growl Like Message
|
47
51
|
notifyError("<%= escape_javascript(@notification[:title]) %>", "<%= escape_javascript(raw(@notification[:message])) %>");
|
@@ -35,10 +35,17 @@
|
|
35
35
|
<% error_message = content_tag(:div, I18n.t('errors.errors_highlighted'), class: "alert alert-danger mt-20") %>
|
36
36
|
$("#<%= @resource_options[:item_name] %>_form_error").html("<%= escape_javascript(error_message) %>");
|
37
37
|
|
38
|
+
<% if @resource_options[:load_rich_text_editor] %>
|
38
39
|
// Initialize WYSIHTML Editor
|
39
40
|
$(".wysihtml5").wysihtml5(
|
40
41
|
{"stylesheets": '/assets/wysiwyg-color.css'}
|
41
42
|
);
|
43
|
+
<% end %>
|
44
|
+
|
45
|
+
<% if @resource_options[:tagsinput] %>
|
46
|
+
// Initialize WYSIHTML Editor
|
47
|
+
$('input.kuppayam-tagsinput').tagsinput();
|
48
|
+
<% end %>
|
42
49
|
|
43
50
|
// Showing Growl Like Message
|
44
51
|
notifyError("<%= escape_javascript(@notification[:title]) %>", "<%= escape_javascript(raw(@notification[:message])) %>");
|
@@ -3,11 +3,15 @@ var heading = "Edit <%= @resource_options[:item_name].to_s.titleize %> - '<%= ra
|
|
3
3
|
var bodyContent = "<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/form")) %>";
|
4
4
|
showLargeModal(heading, bodyContent, true);
|
5
5
|
|
6
|
+
<% if @resource_options[:load_rich_text_editor] %>
|
6
7
|
// Initialize WYSIHTML Editor
|
7
8
|
$(".wysihtml5").wysihtml5(
|
8
|
-
|
9
|
+
{"stylesheets": '/assets/wysiwyg-color.css'}
|
9
10
|
);
|
11
|
+
<% end %>
|
10
12
|
|
13
|
+
<% if @resource_options[:tagsinput] %>
|
11
14
|
// Initialize WYSIHTML Editor
|
12
15
|
$('input.kuppayam-tagsinput').tagsinput();
|
16
|
+
<% end %>
|
13
17
|
|
@@ -3,10 +3,14 @@ var heading = "Add <%= @resource_options[:item_name].to_s.titleize %>";
|
|
3
3
|
var bodyContent = "<%= escape_javascript(render(:partial=>"#{@resource_options[:view_path]}/form")) %>";
|
4
4
|
showLargeModal(heading, bodyContent, true);
|
5
5
|
|
6
|
+
<% if @resource_options[:load_rich_text_editor] %>
|
6
7
|
// Initialize WYSIHTML Editor
|
7
8
|
$(".wysihtml5").wysihtml5(
|
8
|
-
|
9
|
+
{"stylesheets": '/assets/wysiwyg-color.css'}
|
9
10
|
);
|
11
|
+
<% end %>
|
10
12
|
|
13
|
+
<% if @resource_options[:tagsinput] %>
|
11
14
|
// Initialize WYSIHTML Editor
|
12
|
-
$('input.kuppayam-tagsinput').tagsinput();
|
15
|
+
$('input.kuppayam-tagsinput').tagsinput();
|
16
|
+
<% end %>
|
@@ -35,10 +35,17 @@
|
|
35
35
|
<% error_message = content_tag(:div, I18n.t('errors.errors_highlighted'), class: "alert alert-danger mt-20") %>
|
36
36
|
$("#<%= @resource_options[:item_name] %>_form_error").html("<%= escape_javascript(error_message) %>");
|
37
37
|
|
38
|
+
<% if @resource_options[:load_rich_text_editor] %>
|
38
39
|
// Initialize WYSIHTML Editor
|
39
40
|
$(".wysihtml5").wysihtml5(
|
40
41
|
{"stylesheets": '/assets/wysiwyg-color.css'}
|
41
42
|
);
|
43
|
+
<% end %>
|
44
|
+
|
45
|
+
<% if @resource_options[:tagsinput] %>
|
46
|
+
// Initialize WYSIHTML Editor
|
47
|
+
$('input.kuppayam-tagsinput').tagsinput();
|
48
|
+
<% end %>
|
42
49
|
|
43
50
|
// Showing Growl Like Message
|
44
51
|
notifyError("<%= escape_javascript(@notification[:title]) %>", "<%= escape_javascript(raw(@notification[:message])) %>");
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<footer>
|
2
|
+
|
3
|
+
<div class="footer-inner" style="text-align: center;">
|
4
|
+
|
5
|
+
<!-- Add your copyright text here -->
|
6
|
+
<div class="footer-text">
|
7
|
+
© 2017
|
8
|
+
<strong>Right IT Solutions</strong>
|
9
|
+
|
10
|
+
All rights reserved. <br>developed, maintained and hosted by <a href="http://rightsolutions.io" target="_blank" style="color:#e91e63">Right Solutions</a>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
|
14
|
+
</div>
|
15
|
+
|
16
|
+
</footer>
|
17
|
+
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<meta charset="utf-8">
|
2
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
3
|
+
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
5
|
+
<meta name="description" content="Admin Module" />
|
6
|
+
<meta name="author" content="Right IT Solutions" />
|
7
|
+
|
8
|
+
<meta name="msapplication-TileColor" content="#9f00a7">
|
9
|
+
<meta name="msapplication-TileImage" content="assets/img/favicon/mstile-144x144.png">
|
10
|
+
<meta name="theme-color" content="#ffffff">
|
11
|
+
|
12
|
+
<link rel="Shortcut Icon" href="/assets/favicon.png">
|
13
|
+
|
14
|
+
<title><%= title -%></title>
|
15
|
+
|
16
|
+
<%#= meta_tags %>
|
17
|
+
|
18
|
+
<!-- http://www.favicon-generator.org/ -->
|
19
|
+
|
20
|
+
<link rel="apple-touch-icon" sizes="57x57" href="/assets/apple-icon-57x57.png">
|
21
|
+
<link rel="apple-touch-icon" sizes="60x60" href="/assets/apple-icon-60x60.png">
|
22
|
+
<link rel="apple-touch-icon" sizes="72x72" href="/assets/apple-icon-72x72.png">
|
23
|
+
<link rel="apple-touch-icon" sizes="76x76" href="/assets/apple-icon-76x76.png">
|
24
|
+
<link rel="apple-touch-icon" sizes="114x114" href="/assets/apple-icon-114x114.png">
|
25
|
+
<link rel="apple-touch-icon" sizes="120x120" href="/assets/apple-icon-120x120.png">
|
26
|
+
<link rel="apple-touch-icon" sizes="144x144" href="/assets/apple-icon-144x144.png">
|
27
|
+
<link rel="apple-touch-icon" sizes="152x152" href="/assets/apple-icon-152x152.png">
|
28
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-icon-180x180.png">
|
29
|
+
<link rel="icon" type="image/png" sizes="192x192" href="/assets/android-icon-192x192.png">
|
30
|
+
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon-32x32.png">
|
31
|
+
<link rel="icon" type="image/png" sizes="96x96" href="/assets/favicon-96x96.png">
|
32
|
+
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon-16x16.png">
|
33
|
+
<link rel="manifest" href="/assets/manifest.json">
|
34
|
+
<meta name="msapplication-TileColor" content="#ffffff">
|
35
|
+
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
|
36
|
+
<meta name="theme-color" content="#ffffff">
|
37
|
+
|
38
|
+
<%= csrf_meta_tags %>
|
39
|
+
|
40
|
+
<!-- Stylesheets -->
|
41
|
+
|
42
|
+
<%= stylesheet_link_tag @stylesheet_filename, :media => "all" %>
|
43
|
+
|
44
|
+
<!-- Javascripts -->
|
45
|
+
|
46
|
+
<%= javascript_include_tag "jquery_and_family" -%>
|
47
|
+
|
48
|
+
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
49
|
+
<!--[if lt IE 9]>
|
50
|
+
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
51
|
+
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
52
|
+
<![endif]-->
|
@@ -0,0 +1,45 @@
|
|
1
|
+
<header id="hoe-header" hoe-lpanel-effect="shrink" class="navbar">
|
2
|
+
|
3
|
+
<div class="hoe-left-header">
|
4
|
+
<a href="/">
|
5
|
+
<%= image_tag("logo-small.png", class: "img-responsive res-logo-sidebar logo-small-sidebar") %>
|
6
|
+
<span>
|
7
|
+
<%= image_tag("logo.png", class: "img-responsive logo-large-sidebar") %>
|
8
|
+
</span>
|
9
|
+
</a>
|
10
|
+
<span class="hoe-sidebar-toggle"><a href="#"></a></span>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<div class="hoe-right-header" hoe-position-type="relative" >
|
14
|
+
<span class="hoe-sidebar-toggle"><a href="#"></a></span>
|
15
|
+
|
16
|
+
<div class="container-fluid">
|
17
|
+
<div class="navbar-header pull-left p-t-10 p-b-10">
|
18
|
+
<button type="button" class="navbar-toggle pull-left m-15" data-activates=".sidebar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button>
|
19
|
+
</div>
|
20
|
+
<ul class="nav navbar-nav navbar-right navbar-right-no-collapse">
|
21
|
+
<li class="pull-right">
|
22
|
+
<a href="index.html" class="pointer btn btn-link no-padding">
|
23
|
+
<i class=" pink-text fa fa-sign-out f20" style="float:left;margin-right:10px;"></i>
|
24
|
+
<span class="logout-text" style="float:left;">Log Out</span>
|
25
|
+
<span style="clear:both;"></span>
|
26
|
+
</a>
|
27
|
+
</li>
|
28
|
+
<li class="pull-right">
|
29
|
+
<div class="user-logged-in m-r-30">
|
30
|
+
|
31
|
+
<div class="profile-image-round" style="float:left;">
|
32
|
+
<%= image_tag "kuppayam/defaults/user-large.png", class: "img-responsive", width: "28" %>
|
33
|
+
</div>
|
34
|
+
<div class="user-name" style="float:left;margin-left:10px;"><b>Larry Leow</b></div>
|
35
|
+
<span style="clear:both;"></span>
|
36
|
+
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</li>
|
40
|
+
|
41
|
+
</ul>
|
42
|
+
</div>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
</header>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<div class="page-header">
|
2
|
+
<div class="title-env">
|
3
|
+
<h1 class="title pull-left m-r-10">
|
4
|
+
<i class="md md-account-circle"></i>
|
5
|
+
</h1>
|
6
|
+
<div class="pull-left">
|
7
|
+
<h1 class="title">Users (Konica Minolta)</h1>
|
8
|
+
<p class="description">Manage all Users at Konica Minolta</p>
|
9
|
+
</div>
|
10
|
+
</div>
|
11
|
+
</div>
|
@@ -0,0 +1,88 @@
|
|
1
|
+
<aside id="hoe-left-panel" hoe-position-type="absolute">
|
2
|
+
<ul class="nav panel-list sidebar-scroll">
|
3
|
+
<li class="nav-level">Admin</li>
|
4
|
+
<li class="active">
|
5
|
+
<a href="manage_users.html">
|
6
|
+
<i class="md md-account-circle"></i>
|
7
|
+
<span class="menu-text">Users ( Konica Minolta )</span>
|
8
|
+
<span class="selected"></span>
|
9
|
+
</a>
|
10
|
+
</li>
|
11
|
+
|
12
|
+
<li>
|
13
|
+
<a href="manage_partners.html">
|
14
|
+
<i class="md md-account-child"></i>
|
15
|
+
<span class="menu-text">Partner Organisations</span>
|
16
|
+
<span class="selected"></span>
|
17
|
+
</a>
|
18
|
+
</li>
|
19
|
+
|
20
|
+
<li>
|
21
|
+
<a href="assessment_projects_list.html">
|
22
|
+
<i class="md md-description"></i>
|
23
|
+
<span class="menu-text">Assessment Projects</span>
|
24
|
+
<span class="selected"></span>
|
25
|
+
</a>
|
26
|
+
</li>
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
<li class="nav-level">Master Data</li>
|
31
|
+
<li>
|
32
|
+
<a href="manufatures.html">
|
33
|
+
<i class="md md-domain"></i>
|
34
|
+
<span class="menu-text">Manufatures</span>
|
35
|
+
<span class="selected"></span>
|
36
|
+
</a>
|
37
|
+
</li>
|
38
|
+
|
39
|
+
<li>
|
40
|
+
<a href="devices.html">
|
41
|
+
<i class="md md-domain"></i>
|
42
|
+
<span class="menu-text">Devices</span>
|
43
|
+
<span class="selected"></span>
|
44
|
+
</a>
|
45
|
+
</li>
|
46
|
+
|
47
|
+
<li>
|
48
|
+
<a href="devices.html">
|
49
|
+
<i class="md md-domain"></i>
|
50
|
+
<span class="menu-text">Pending Devices</span>
|
51
|
+
<span class="selected"></span>
|
52
|
+
</a>
|
53
|
+
</li>
|
54
|
+
|
55
|
+
<li>
|
56
|
+
<a href="exchange_rate.html">
|
57
|
+
<i class="md md-domain"></i>
|
58
|
+
<span class="menu-text">Exchange Rates</span>
|
59
|
+
<span class="selected"></span>
|
60
|
+
</a>
|
61
|
+
</li>
|
62
|
+
|
63
|
+
|
64
|
+
<li class="nav-level">Partner Reports</li>
|
65
|
+
<li>
|
66
|
+
<a href="javascript:void(0)">
|
67
|
+
<i class="md md-receipt"></i>
|
68
|
+
<span class="menu-text">Partner Performance Report</span>
|
69
|
+
<span class="selected"></span>
|
70
|
+
</a>
|
71
|
+
</li>
|
72
|
+
|
73
|
+
<li>
|
74
|
+
<a href="javascript:void(0)">
|
75
|
+
<i class="md md-receipt"></i>
|
76
|
+
<span class="menu-text">Assessment Projects Report</span>
|
77
|
+
<span class="selected"></span>
|
78
|
+
</a>
|
79
|
+
</li>
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
</ul>
|
88
|
+
</aside>
|
@@ -0,0 +1,122 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<!-- Head -->
|
5
|
+
<%= render :partial=>"/layouts/kuppayam/materialize/head" -%>
|
6
|
+
</head>
|
7
|
+
|
8
|
+
<body hoe-navigation-type="vertical" hoe-nav-placement="left" theme-layout="wide-layout" theme-bg="bg1" >
|
9
|
+
|
10
|
+
<div id="hoeapp-wrapper" class="hoe-hide-lpanel" hoe-device-type="desktop">
|
11
|
+
|
12
|
+
<!-- Top Navigation -->
|
13
|
+
<%= render :partial=>"/layouts/kuppayam/materialize/header" -%>
|
14
|
+
|
15
|
+
<div id="hoeapp-container" hoe-color-type="lpanel-bg2" hoe-lpanel-effect="shrink">
|
16
|
+
|
17
|
+
<!-- Sidebar Navigation -->
|
18
|
+
<%= render :partial=>"/layouts/kuppayam/materialize/sidebar" -%>
|
19
|
+
|
20
|
+
<%#* Page Content Starts here -%>
|
21
|
+
<main>
|
22
|
+
<section id="main-content" class="main-container">
|
23
|
+
<div class="main-content" autoscroll="true" bs-affix-target="" init-ripples="" style="">
|
24
|
+
|
25
|
+
<!-- Heading & Breadcrumbs -->
|
26
|
+
<%#= render :partial=>"/layouts/kuppayam/materialize/heading" -%>
|
27
|
+
|
28
|
+
<%#* Show flash messages if controller has set any. -%>
|
29
|
+
<!-- <div id="div_flash_message">
|
30
|
+
<%#= flash_message(false) if defined?(flash) -%>
|
31
|
+
</div>
|
32
|
+
-->
|
33
|
+
|
34
|
+
<%= yield %>
|
35
|
+
|
36
|
+
<!-- Footer -->
|
37
|
+
<%= render :partial=>"/layouts/kuppayam/materialize/footer" -%>
|
38
|
+
|
39
|
+
</div>
|
40
|
+
</section>
|
41
|
+
</main>
|
42
|
+
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="div_modal_generic" class="modal" style="z-index: 1056;">
|
47
|
+
<div class="modal-dialog">
|
48
|
+
<div class="modal-content">
|
49
|
+
<div class="modal-header">
|
50
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
51
|
+
<h3 class="modal-title">Modal title</h3>
|
52
|
+
</div>
|
53
|
+
<div class="modal-body-main"></div>
|
54
|
+
</div><!-- /.modal-content -->
|
55
|
+
</div><!-- /.modal-dialog -->
|
56
|
+
</div><!-- /.modal -->
|
57
|
+
|
58
|
+
<div id="div_modal_large" class="modal">
|
59
|
+
<div class="modal-dialog modal-lg" style="width: 96%">
|
60
|
+
<div class="modal-content">
|
61
|
+
<div class="modal-header">
|
62
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
63
|
+
<h3 class="modal-title">Modal title</h3>
|
64
|
+
</div>
|
65
|
+
<div class="modal-body-main"></div>
|
66
|
+
</div><!-- /.modal-content -->
|
67
|
+
</div><!-- /.modal-dialog -->
|
68
|
+
</div><!-- /.modal -->
|
69
|
+
|
70
|
+
<div id="div_modal_message" class="modal fade">
|
71
|
+
<div class="modal-dialog">
|
72
|
+
<div class="modal-content">
|
73
|
+
<div class="modal-header">
|
74
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
75
|
+
<h3 class="modal-title">Modal title</h3>
|
76
|
+
</div>
|
77
|
+
<div class="modal-body">
|
78
|
+
<p>One fine body…</p>
|
79
|
+
</div>
|
80
|
+
<div class="modal-footer">
|
81
|
+
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
|
82
|
+
</div>
|
83
|
+
</div><!-- /.modal-content -->
|
84
|
+
</div><!-- /.modal-dialog -->
|
85
|
+
</div><!-- /.modal -->
|
86
|
+
|
87
|
+
<div id="div_modal_image_upload" class="modal" style="z-index: 1057;">
|
88
|
+
<div class="modal-dialog">
|
89
|
+
<div class="modal-content">
|
90
|
+
<div class="modal-header">
|
91
|
+
<button type="button" class="close" aria-hidden="true" onclick="closeImageUploadModal();" >×</button>
|
92
|
+
<h3 class="modal-title">Modal title</h3>
|
93
|
+
</div>
|
94
|
+
<div class="modal-body-main"></div>
|
95
|
+
</div><!-- /.modal-content -->
|
96
|
+
</div><!-- /.modal-dialog -->
|
97
|
+
</div><!-- /.modal -->
|
98
|
+
|
99
|
+
<script type="text/javascript">
|
100
|
+
$('.modal').on('shown.bs.modal', function(e){
|
101
|
+
$(this).modal('handleUpdate'); //Update backdrop on modal show
|
102
|
+
$(this).scrollTop(0); //reset modal to top position
|
103
|
+
});
|
104
|
+
</script>
|
105
|
+
|
106
|
+
<!-- Page Loading Overlay -->
|
107
|
+
<!-- <div class="page-loading-overlay">
|
108
|
+
<div class="loader-3"></div>
|
109
|
+
</div> -->
|
110
|
+
|
111
|
+
<%#* Loading Javascripts -%>
|
112
|
+
<%= javascript_include_tag @javascript_filename -%>
|
113
|
+
|
114
|
+
<%= yield :javascript_footer -%>
|
115
|
+
|
116
|
+
<iframe id="iframe_document" name="iframe_document" width="100%" style="display:none"></iframe>
|
117
|
+
|
118
|
+
<iframe id="iframe_image" name="iframe_image" width="100%" style="display:none"></iframe>
|
119
|
+
|
120
|
+
</body>
|
121
|
+
|
122
|
+
</html>
|