kuppayam 0.1.5 → 0.1.6dev2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/app/assets/images/{kuppayam/favicon.png → favicon.png} +0 -0
- data/app/assets/images/{kuppayam/logo.png → logo.png} +0 -0
- data/app/assets/javascripts/kuppayam.js +3 -0
- data/app/assets/javascripts/kuppayam/utilities.js +28 -0
- data/app/assets/stylesheets/kuppayam.css +1 -0
- data/app/assets/stylesheets/kuppayam/custom.css +4 -0
- data/app/controllers/kuppayam/base_controller.rb +14 -4
- data/app/controllers/kuppayam/documents_controller.rb +24 -0
- data/app/controllers/kuppayam/images_controller.rb +41 -1
- data/app/helpers/breadcrumbs_helper.rb +1 -1
- data/app/helpers/filter_helper.rb +9 -3
- data/app/helpers/image_helper.rb +11 -3
- data/app/helpers/kuppayam_helper.rb +2 -2
- data/app/helpers/meta_tags_helper.rb +0 -4
- data/app/helpers/notification_helper.rb +6 -6
- data/app/helpers/render_helper.rb +11 -2
- data/app/helpers/resource_helper.rb +23 -9
- data/app/models/document/base.rb +13 -15
- data/app/models/document/import_data_file.rb +14 -0
- data/app/models/document/import_report_file.rb +8 -0
- data/app/models/image/base.rb +12 -14
- data/app/models/import_data.rb +19 -2
- data/app/models/kuppayam/application_record.rb +3 -0
- data/app/uploaders/document_uploader.rb +4 -4
- data/app/uploaders/image_uploader.rb +1 -1
- data/app/uploaders/import_data_uploader.rb +15 -0
- data/app/views/kuppayam/documents/create.html.erb +1 -1
- data/app/views/kuppayam/documents/edit.js.erb +1 -1
- data/app/views/kuppayam/documents/new.js.erb +1 -1
- data/app/views/kuppayam/documents/update.html.erb +1 -1
- data/app/views/kuppayam/filters/_display_dropdown_filters.html.erb +11 -0
- data/app/views/kuppayam/filters/_display_filters.html.erb +29 -0
- data/app/views/kuppayam/http_status/404.html.erb +1 -0
- data/app/views/kuppayam/images/_form.html.erb +1 -1
- data/app/views/kuppayam/images/_index.html.erb +17 -20
- data/app/views/kuppayam/images/_show.html.erb +32 -0
- data/app/views/kuppayam/images/create.html.erb +4 -4
- data/app/views/kuppayam/images/crop.html.erb +1 -1
- data/app/views/kuppayam/images/destroy.js.erb +19 -0
- data/app/views/kuppayam/images/edit.js.erb +3 -3
- data/app/views/kuppayam/images/index.html.erb +8 -1
- data/app/views/kuppayam/images/new.js.erb +1 -1
- data/app/views/kuppayam/images/update.html.erb +5 -5
- data/app/views/kuppayam/import_data/new.js.erb +1 -1
- data/app/views/kuppayam/import_data/update.html.erb +1 -1
- data/app/views/kuppayam/workflows/parrot/create.js.erb +11 -6
- data/app/views/kuppayam/workflows/parrot/edit.js.erb +1 -1
- data/app/views/kuppayam/workflows/parrot/new.js.erb +2 -2
- data/app/views/kuppayam/workflows/parrot/row.js.erb +1 -1
- data/app/views/kuppayam/workflows/parrot/update.js.erb +10 -5
- data/app/views/kuppayam/workflows/peacock/create.js.erb +12 -7
- data/app/views/kuppayam/workflows/peacock/edit.js.erb +2 -2
- data/app/views/kuppayam/workflows/peacock/new.js.erb +2 -2
- data/app/views/kuppayam/workflows/peacock/row.js.erb +1 -1
- data/app/views/kuppayam/workflows/peacock/update.js.erb +11 -6
- data/app/views/layouts/kuppayam/_footer.html.erb +1 -0
- data/app/views/layouts/kuppayam/_head.html.erb +11 -2
- data/app/views/layouts/kuppayam/_heading.html.erb +11 -2
- data/app/views/layouts/kuppayam/_horizontal_menu.html.erb +932 -0
- data/app/views/layouts/kuppayam/_sidebar.html.erb +5 -2
- data/app/views/layouts/kuppayam/admin.html.erb +63 -6
- data/app/views/layouts/kuppayam/blank.html.erb +62 -5
- data/app/views/layouts/kuppayam/document_upload.html.erb +3 -2
- data/app/views/layouts/kuppayam/image_upload.html.erb +3 -2
- data/app/views/layouts/kuppayam/layout_horizontal_menu.html.erb +116 -0
- data/app/views/layouts/kuppayam/print_a4.html.erb +32 -0
- data/app/views/layouts/kuppayam/user.html.erb +120 -0
- data/config/initializers/importer.rb +303 -0
- data/config/initializers/validators.rb +78 -0
- data/config/locales/kuppayam/general.yml +1 -0
- data/config/routes.rb +1 -1
- data/db/migrate/20170000000000_create_images.rb +1 -0
- data/db/migrate/20170000000001_create_documents.rb +2 -1
- data/db/migrate/20170000000002_create_import_data.rb +2 -2
- data/lib/kuppayam/action_view/form_helper.rb +1 -1
- data/lib/kuppayam/action_view/theme_helper.rb +8 -2
- data/lib/kuppayam/engine.rb +2 -0
- data/lib/kuppayam/version.rb +1 -1
- data/lib/tasks/template.rake +72 -0
- data/lib/tasks/test_import.rake +40 -0
- data/vendor/assets/stylesheets/custom.css +0 -0
- metadata +76 -16
- data/app/views/kuppayam/images/_action_buttons.html.erb +0 -14
- data/app/views/layouts/kuppayam/_overlays.html.erb +0 -47
- data/config/initializers/kuppayam_validators.rb +0 -76
- data/lib/tasks/kuppayam_tasks.rake +0 -4
@@ -7,11 +7,11 @@
|
|
7
7
|
<!-- logo -->
|
8
8
|
<div class="logo">
|
9
9
|
<a href="/" class="logo-expanded">
|
10
|
-
<img src="/assets/
|
10
|
+
<img src="/assets/logo.png" width="180" alt="" />
|
11
11
|
</a>
|
12
12
|
|
13
13
|
<a href="/" class="logo-collapsed">
|
14
|
-
<img src="/assets/
|
14
|
+
<img src="/assets/logo.png" width="40" alt="" />
|
15
15
|
</a>
|
16
16
|
</div>
|
17
17
|
|
@@ -60,6 +60,7 @@
|
|
60
60
|
</li>
|
61
61
|
</ul>
|
62
62
|
</li>
|
63
|
+
|
63
64
|
<li>
|
64
65
|
<a href="/xenon/xenon-files/html/dashboard-1.html">
|
65
66
|
<i class="linecons-cog"></i>
|
@@ -99,6 +100,7 @@
|
|
99
100
|
</li>
|
100
101
|
</ul>
|
101
102
|
</li>
|
103
|
+
|
102
104
|
<li>
|
103
105
|
<a href="/xenon/xenon-files/html/layout-variants.html">
|
104
106
|
<i class="linecons-desktop"></i>
|
@@ -167,6 +169,7 @@
|
|
167
169
|
</li>
|
168
170
|
</ul>
|
169
171
|
</li>
|
172
|
+
|
170
173
|
<li>
|
171
174
|
<a href="/xenon/xenon-files/html/ui-panels.html">
|
172
175
|
<i class="linecons-note"></i>
|
@@ -41,13 +41,70 @@
|
|
41
41
|
|
42
42
|
</div>
|
43
43
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
44
|
+
<div id="div_modal_generic" class="modal" style="z-index: 1056;">
|
45
|
+
<div class="modal-dialog">
|
46
|
+
<div class="modal-content">
|
47
|
+
<div class="modal-header">
|
48
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
49
|
+
<h3 class="modal-title">Modal title</h3>
|
50
|
+
</div>
|
51
|
+
<div class="modal-body-main"></div>
|
52
|
+
</div><!-- /.modal-content -->
|
53
|
+
</div><!-- /.modal-dialog -->
|
54
|
+
</div><!-- /.modal -->
|
55
|
+
|
56
|
+
<div id="div_modal_large" class="modal">
|
57
|
+
<div class="modal-dialog modal-lg" style="width: 96%">
|
58
|
+
<div class="modal-content">
|
59
|
+
<div class="modal-header">
|
60
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
61
|
+
<h3 class="modal-title">Modal title</h3>
|
62
|
+
</div>
|
63
|
+
<div class="modal-body-main"></div>
|
64
|
+
</div><!-- /.modal-content -->
|
65
|
+
</div><!-- /.modal-dialog -->
|
66
|
+
</div><!-- /.modal -->
|
67
|
+
|
68
|
+
<div id="div_modal_message" class="modal fade">
|
69
|
+
<div class="modal-dialog">
|
70
|
+
<div class="modal-content">
|
71
|
+
<div class="modal-header">
|
72
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
73
|
+
<h3 class="modal-title">Modal title</h3>
|
74
|
+
</div>
|
75
|
+
<div class="modal-body">
|
76
|
+
<p>One fine body…</p>
|
77
|
+
</div>
|
78
|
+
<div class="modal-footer">
|
79
|
+
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
|
80
|
+
</div>
|
81
|
+
</div><!-- /.modal-content -->
|
82
|
+
</div><!-- /.modal-dialog -->
|
83
|
+
</div><!-- /.modal -->
|
84
|
+
|
85
|
+
<div id="div_modal_image_upload" class="modal" style="z-index: 1057;">
|
86
|
+
<div class="modal-dialog">
|
87
|
+
<div class="modal-content">
|
88
|
+
<div class="modal-header">
|
89
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
90
|
+
<h3 class="modal-title">Modal title</h3>
|
91
|
+
</div>
|
92
|
+
<div class="modal-body-main"></div>
|
93
|
+
</div><!-- /.modal-content -->
|
94
|
+
</div><!-- /.modal-dialog -->
|
95
|
+
</div><!-- /.modal -->
|
96
|
+
|
97
|
+
<script type="text/javascript">
|
98
|
+
$('.modal').on('shown.bs.modal', function(e){
|
99
|
+
$(this).modal('handleUpdate'); //Update backdrop on modal show
|
100
|
+
$(this).scrollTop(0); //reset modal to top position
|
101
|
+
});
|
102
|
+
</script>
|
48
103
|
|
49
|
-
|
50
|
-
|
104
|
+
<!-- Page Loading Overlay -->
|
105
|
+
<!-- <div class="page-loading-overlay">
|
106
|
+
<div class="loader-3"></div>
|
107
|
+
</div> -->
|
51
108
|
|
52
109
|
<%#* Loading Javascripts -%>
|
53
110
|
<%= javascript_include_tag @javascript_filename -%>
|
@@ -19,13 +19,70 @@
|
|
19
19
|
|
20
20
|
</div>
|
21
21
|
|
22
|
+
<div id="div_modal_generic" class="modal" style="z-index: 1056;">
|
23
|
+
<div class="modal-dialog">
|
24
|
+
<div class="modal-content">
|
25
|
+
<div class="modal-header">
|
26
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
27
|
+
<h3 class="modal-title">Modal title</h3>
|
28
|
+
</div>
|
29
|
+
<div class="modal-body-main"></div>
|
30
|
+
</div><!-- /.modal-content -->
|
31
|
+
</div><!-- /.modal-dialog -->
|
32
|
+
</div><!-- /.modal -->
|
33
|
+
|
34
|
+
<div id="div_modal_large" class="modal">
|
35
|
+
<div class="modal-dialog modal-lg" style="width: 96%">
|
36
|
+
<div class="modal-content">
|
37
|
+
<div class="modal-header">
|
38
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
39
|
+
<h3 class="modal-title">Modal title</h3>
|
40
|
+
</div>
|
41
|
+
<div class="modal-body-main"></div>
|
42
|
+
</div><!-- /.modal-content -->
|
43
|
+
</div><!-- /.modal-dialog -->
|
44
|
+
</div><!-- /.modal -->
|
45
|
+
|
46
|
+
<div id="div_modal_message" class="modal fade">
|
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">
|
54
|
+
<p>One fine body…</p>
|
55
|
+
</div>
|
56
|
+
<div class="modal-footer">
|
57
|
+
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
|
58
|
+
</div>
|
59
|
+
</div><!-- /.modal-content -->
|
60
|
+
</div><!-- /.modal-dialog -->
|
61
|
+
</div><!-- /.modal -->
|
62
|
+
|
63
|
+
<div id="div_modal_image_upload" class="modal" style="z-index: 1057;">
|
64
|
+
<div class="modal-dialog">
|
65
|
+
<div class="modal-content">
|
66
|
+
<div class="modal-header">
|
67
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
68
|
+
<h3 class="modal-title">Modal title</h3>
|
69
|
+
</div>
|
70
|
+
<div class="modal-body-main"></div>
|
71
|
+
</div><!-- /.modal-content -->
|
72
|
+
</div><!-- /.modal-dialog -->
|
73
|
+
</div><!-- /.modal -->
|
74
|
+
|
75
|
+
<script type="text/javascript">
|
76
|
+
$('.modal').on('shown.bs.modal', function(e){
|
77
|
+
$(this).modal('handleUpdate'); //Update backdrop on modal show
|
78
|
+
$(this).scrollTop(0); //reset modal to top position
|
79
|
+
});
|
80
|
+
</script>
|
81
|
+
|
22
82
|
<!-- Page Loading Overlay -->
|
23
|
-
<div class="page-loading-overlay">
|
83
|
+
<!-- <div class="page-loading-overlay">
|
24
84
|
<div class="loader-2"></div>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
<%#* Display Hidden Overlays -%>
|
28
|
-
<%#= render :partial=>"/layouts/kuppayam/overlays" -%>
|
85
|
+
</div> -->
|
29
86
|
|
30
87
|
<%#* Loading Javascripts -%>
|
31
88
|
<%= javascript_include_tag @javascript_filename -%>
|
@@ -0,0 +1,116 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<!-- Head -->
|
5
|
+
<%= render :partial=>"/layouts/kuppayam/head" -%>
|
6
|
+
</head>
|
7
|
+
|
8
|
+
<body class="page-body">
|
9
|
+
|
10
|
+
<!-- <div class="settings-pane" id="settings_pane">
|
11
|
+
<%#= render :partial=>"/layouts/kuppayam/settings_pane" -%>
|
12
|
+
</div> -->
|
13
|
+
|
14
|
+
<%= render :partial=>"/layouts/kuppayam/horizontal_menu" -%>
|
15
|
+
|
16
|
+
<div class="page-container">
|
17
|
+
|
18
|
+
<div class="main-content">
|
19
|
+
|
20
|
+
<!-- Heading & Breadcrumbs -->
|
21
|
+
<%= render :partial=>"/layouts/kuppayam/heading" -%>
|
22
|
+
|
23
|
+
<%#* Show flash messages if controller has set any. -%>
|
24
|
+
<div id="div_flash_message" class="mt-10">
|
25
|
+
<%= flash_message(false) if defined?(flash) -%>
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<%#* Page Content Starts here -%>
|
29
|
+
<div id="div_page_content_main">
|
30
|
+
<%= yield %>
|
31
|
+
</div>
|
32
|
+
|
33
|
+
<!-- Footer -->
|
34
|
+
<%= render :partial=>"/layouts/kuppayam/footer" -%>
|
35
|
+
|
36
|
+
</div>
|
37
|
+
|
38
|
+
</div>
|
39
|
+
|
40
|
+
<div id="div_modal_generic" class="modal" style="z-index: 1056;">
|
41
|
+
<div class="modal-dialog">
|
42
|
+
<div class="modal-content">
|
43
|
+
<div class="modal-header">
|
44
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
45
|
+
<h3 class="modal-title">Modal title</h3>
|
46
|
+
</div>
|
47
|
+
<div class="modal-body-main"></div>
|
48
|
+
</div><!-- /.modal-content -->
|
49
|
+
</div><!-- /.modal-dialog -->
|
50
|
+
</div><!-- /.modal -->
|
51
|
+
|
52
|
+
<div id="div_modal_large" class="modal">
|
53
|
+
<div class="modal-dialog modal-lg" style="width: 96%">
|
54
|
+
<div class="modal-content">
|
55
|
+
<div class="modal-header">
|
56
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
57
|
+
<h3 class="modal-title">Modal title</h3>
|
58
|
+
</div>
|
59
|
+
<div class="modal-body-main"></div>
|
60
|
+
</div><!-- /.modal-content -->
|
61
|
+
</div><!-- /.modal-dialog -->
|
62
|
+
</div><!-- /.modal -->
|
63
|
+
|
64
|
+
<div id="div_modal_message" class="modal fade">
|
65
|
+
<div class="modal-dialog">
|
66
|
+
<div class="modal-content">
|
67
|
+
<div class="modal-header">
|
68
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
69
|
+
<h3 class="modal-title">Modal title</h3>
|
70
|
+
</div>
|
71
|
+
<div class="modal-body">
|
72
|
+
<p>One fine body…</p>
|
73
|
+
</div>
|
74
|
+
<div class="modal-footer">
|
75
|
+
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
|
76
|
+
</div>
|
77
|
+
</div><!-- /.modal-content -->
|
78
|
+
</div><!-- /.modal-dialog -->
|
79
|
+
</div><!-- /.modal -->
|
80
|
+
|
81
|
+
<div id="div_modal_image_upload" class="modal" style="z-index: 1057;">
|
82
|
+
<div class="modal-dialog">
|
83
|
+
<div class="modal-content">
|
84
|
+
<div class="modal-header">
|
85
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
86
|
+
<h3 class="modal-title">Modal title</h3>
|
87
|
+
</div>
|
88
|
+
<div class="modal-body-main"></div>
|
89
|
+
</div><!-- /.modal-content -->
|
90
|
+
</div><!-- /.modal-dialog -->
|
91
|
+
</div><!-- /.modal -->
|
92
|
+
|
93
|
+
<script type="text/javascript">
|
94
|
+
$('.modal').on('shown.bs.modal', function(e){
|
95
|
+
$(this).modal('handleUpdate'); //Update backdrop on modal show
|
96
|
+
$(this).scrollTop(0); //reset modal to top position
|
97
|
+
});
|
98
|
+
</script>
|
99
|
+
|
100
|
+
<!-- Page Loading Overlay -->
|
101
|
+
<!-- <div class="page-loading-overlay">
|
102
|
+
<div class="loader-3"></div>
|
103
|
+
</div> -->
|
104
|
+
|
105
|
+
<%#* Loading Javascripts -%>
|
106
|
+
<%= javascript_include_tag @javascript_filename -%>
|
107
|
+
|
108
|
+
<%= yield :javascript_footer -%>
|
109
|
+
|
110
|
+
<iframe id="iframe_document" name="iframe_document" width="100%" style="display:none"></iframe>
|
111
|
+
|
112
|
+
<iframe id="iframe_image" name="iframe_image" width="100%" style="display:none"></iframe>
|
113
|
+
|
114
|
+
</body>
|
115
|
+
|
116
|
+
</html>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<!-- Head -->
|
5
|
+
<%= render :partial=>"/layouts/kuppayam/head" -%>
|
6
|
+
|
7
|
+
<!-- <style type="text/css">
|
8
|
+
@page {
|
9
|
+
size: A4;
|
10
|
+
margin: 0;
|
11
|
+
}
|
12
|
+
@media print {
|
13
|
+
html, body {
|
14
|
+
width: 210mm;
|
15
|
+
height: 297mm;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
</style> -->
|
19
|
+
|
20
|
+
</head>
|
21
|
+
|
22
|
+
<body class="page-body">
|
23
|
+
|
24
|
+
<div class="page-container">
|
25
|
+
<div class="main-content">
|
26
|
+
<%= yield %>
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
|
30
|
+
</body>
|
31
|
+
|
32
|
+
</html>
|
@@ -0,0 +1,120 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<!-- Head -->
|
5
|
+
<%= render :partial=>"/layouts/kuppayam/head" -%>
|
6
|
+
</head>
|
7
|
+
|
8
|
+
<body class="page-body">
|
9
|
+
|
10
|
+
<!-- <div class="settings-pane" id="settings_pane">
|
11
|
+
<%#= render :partial=>"/layouts/kuppayam/settings_pane" -%>
|
12
|
+
</div> -->
|
13
|
+
|
14
|
+
<div class="page-container">
|
15
|
+
|
16
|
+
<!-- Sidebar Navigation -->
|
17
|
+
<%= render :partial=>"/layouts/kuppayam/sidebar" -%>
|
18
|
+
|
19
|
+
<div class="main-content">
|
20
|
+
|
21
|
+
<!-- Top Navigation -->
|
22
|
+
<%= render :partial=>"/layouts/kuppayam/navbar" -%>
|
23
|
+
|
24
|
+
<!-- Heading & Breadcrumbs -->
|
25
|
+
<%= render :partial=>"/layouts/kuppayam/heading" -%>
|
26
|
+
|
27
|
+
<%#* Show flash messages if controller has set any. -%>
|
28
|
+
<div id="div_flash_message" class="mt-10">
|
29
|
+
<%= flash_message(false) if defined?(flash) -%>
|
30
|
+
</div>
|
31
|
+
|
32
|
+
<%#* Page Content Starts here -%>
|
33
|
+
<div id="div_page_content_main">
|
34
|
+
<%= yield %>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<!-- Footer -->
|
38
|
+
<%= render :partial=>"/layouts/kuppayam/footer" -%>
|
39
|
+
|
40
|
+
</div>
|
41
|
+
|
42
|
+
</div>
|
43
|
+
|
44
|
+
<div id="div_modal_generic" class="modal" style="z-index: 1056;">
|
45
|
+
<div class="modal-dialog">
|
46
|
+
<div class="modal-content">
|
47
|
+
<div class="modal-header">
|
48
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
49
|
+
<h3 class="modal-title">Modal title</h3>
|
50
|
+
</div>
|
51
|
+
<div class="modal-body-main"></div>
|
52
|
+
</div><!-- /.modal-content -->
|
53
|
+
</div><!-- /.modal-dialog -->
|
54
|
+
</div><!-- /.modal -->
|
55
|
+
|
56
|
+
<div id="div_modal_large" class="modal">
|
57
|
+
<div class="modal-dialog modal-lg" style="width: 96%">
|
58
|
+
<div class="modal-content">
|
59
|
+
<div class="modal-header">
|
60
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
61
|
+
<h3 class="modal-title">Modal title</h3>
|
62
|
+
</div>
|
63
|
+
<div class="modal-body-main"></div>
|
64
|
+
</div><!-- /.modal-content -->
|
65
|
+
</div><!-- /.modal-dialog -->
|
66
|
+
</div><!-- /.modal -->
|
67
|
+
|
68
|
+
<div id="div_modal_message" class="modal fade">
|
69
|
+
<div class="modal-dialog">
|
70
|
+
<div class="modal-content">
|
71
|
+
<div class="modal-header">
|
72
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
73
|
+
<h3 class="modal-title">Modal title</h3>
|
74
|
+
</div>
|
75
|
+
<div class="modal-body">
|
76
|
+
<p>One fine body…</p>
|
77
|
+
</div>
|
78
|
+
<div class="modal-footer">
|
79
|
+
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
|
80
|
+
</div>
|
81
|
+
</div><!-- /.modal-content -->
|
82
|
+
</div><!-- /.modal-dialog -->
|
83
|
+
</div><!-- /.modal -->
|
84
|
+
|
85
|
+
<div id="div_modal_image_upload" class="modal" style="z-index: 1057;">
|
86
|
+
<div class="modal-dialog">
|
87
|
+
<div class="modal-content">
|
88
|
+
<div class="modal-header">
|
89
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
90
|
+
<h3 class="modal-title">Modal title</h3>
|
91
|
+
</div>
|
92
|
+
<div class="modal-body-main"></div>
|
93
|
+
</div><!-- /.modal-content -->
|
94
|
+
</div><!-- /.modal-dialog -->
|
95
|
+
</div><!-- /.modal -->
|
96
|
+
|
97
|
+
<script type="text/javascript">
|
98
|
+
$('.modal').on('shown.bs.modal', function(e){
|
99
|
+
$(this).modal('handleUpdate'); //Update backdrop on modal show
|
100
|
+
$(this).scrollTop(0); //reset modal to top position
|
101
|
+
});
|
102
|
+
</script>
|
103
|
+
|
104
|
+
<!-- Page Loading Overlay -->
|
105
|
+
<!-- <div class="page-loading-overlay">
|
106
|
+
<div class="loader-3"></div>
|
107
|
+
</div> -->
|
108
|
+
|
109
|
+
<%#* Loading Javascripts -%>
|
110
|
+
<%= javascript_include_tag @javascript_filename -%>
|
111
|
+
|
112
|
+
<%= yield :javascript_footer -%>
|
113
|
+
|
114
|
+
<iframe id="iframe_document" name="iframe_document" width="100%" style="display:none"></iframe>
|
115
|
+
|
116
|
+
<iframe id="iframe_image" name="iframe_image" width="100%" style="display:none"></iframe>
|
117
|
+
|
118
|
+
</body>
|
119
|
+
|
120
|
+
</html>
|