ish_manager 0.1.8.309 → 0.1.8.311
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/ish_manager/application.js +3 -3
- data/app/assets/stylesheets/ish_manager/application.scss +37 -14
- data/app/views/ish_manager/application/_main_footer.haml +11 -14
- data/app/views/ish_manager/markers/_form.haml +3 -16
- data/app/views/ish_manager/newsitems/_form.haml +18 -19
- data/app/views/ish_manager/tags/show.haml +1 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 775bfc00b6ac264246781cada39abccc116bd31147ce9c01e9c3a69745b27935
|
4
|
+
data.tar.gz: 4f8c04eb7e9222a568b13e4173f0b6d717ae8b2ff9128280597fb854c3e4f751
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98bbd01e9f60bc860e864a5990598a980b853a264ce20397d5b1671b51b045e9eb1ec001f29295c3ada9c8b3923bf3ee931d3da1b6da35ecac66624990a0baf4
|
7
|
+
data.tar.gz: 463aa08364d17f216c47626c47d1ddce099a13678c0438804e8474c3c12c720558dc9617940e6920b851a23afd68a0df6e28288e3a618de9338af21c19c1b310
|
@@ -92,20 +92,20 @@ $(function () {
|
|
92
92
|
|
93
93
|
var mainFooterContext = $(".manager--main-footer")
|
94
94
|
$(".manager--main-footer #collapseFooter").click(function (_e) {
|
95
|
+
const el = $(this).next()
|
95
96
|
if ($(this).hasClass('fa-compress')) {
|
96
97
|
$(this).addClass('fa-expand')
|
97
98
|
$(this).removeClass('fa-compress')
|
98
99
|
localStorage.setItem('mainFooterCollapsed', 'true')
|
99
|
-
$(
|
100
|
+
$(el, $(this).parent()).css('display', 'none')
|
100
101
|
} else {
|
101
102
|
$(this).removeClass('fa-expand')
|
102
103
|
$(this).addClass('fa-compress')
|
103
104
|
localStorage.setItem('mainFooterCollapsed', 'false')
|
104
|
-
$(
|
105
|
+
$(el, $(this).parent()).css('display', 'block')
|
105
106
|
}
|
106
107
|
})
|
107
108
|
if (localStorage.getItem('mainFooterCollapsed') === 'true') {
|
108
|
-
console.log('here')
|
109
109
|
$("#collapseFooter").addClass('fa-expand')
|
110
110
|
$("#collapseFooter").removeClass('fa-compress')
|
111
111
|
$(".content", mainFooterContext).css("display", 'none')
|
@@ -13,6 +13,11 @@
|
|
13
13
|
* alphabetized : )
|
14
14
|
*
|
15
15
|
*= require_self
|
16
|
+
*
|
17
|
+
** Utils
|
18
|
+
** Newsitems
|
19
|
+
** Reports
|
20
|
+
*
|
16
21
|
*= require ish_manager/galleries
|
17
22
|
*= require ish_manager/jquery-ui
|
18
23
|
*= require ish_manager/maps
|
@@ -23,6 +28,12 @@
|
|
23
28
|
*= require ish_manager/videos
|
24
29
|
*/
|
25
30
|
|
31
|
+
|
32
|
+
|
33
|
+
/*
|
34
|
+
* Utils
|
35
|
+
**/
|
36
|
+
|
26
37
|
body {
|
27
38
|
background: #dedede;
|
28
39
|
font-size: 20px;
|
@@ -41,10 +52,6 @@ ul:not(.browser-default).bullets, {
|
|
41
52
|
}
|
42
53
|
}
|
43
54
|
|
44
|
-
/**
|
45
|
-
* utils
|
46
|
-
*/
|
47
|
-
|
48
55
|
.-index {
|
49
56
|
.item {
|
50
57
|
margin-bottom: 3em;
|
@@ -124,6 +131,9 @@ ul:not(.browser-default).bullets, {
|
|
124
131
|
.collapse-expand {
|
125
132
|
cursor: pointer;
|
126
133
|
}
|
134
|
+
#collapseFooter {
|
135
|
+
float: left;
|
136
|
+
}
|
127
137
|
|
128
138
|
/* D */
|
129
139
|
/* E */
|
@@ -292,20 +302,23 @@ ul.inline li {
|
|
292
302
|
padding: .2em;
|
293
303
|
}
|
294
304
|
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
.description {
|
300
|
-
border: 1px solid red;
|
301
|
-
padding: 1em;
|
302
|
-
font-size: 1.6em;
|
305
|
+
/* S */
|
306
|
+
.select2-container {
|
307
|
+
max-width: 100%;
|
308
|
+
display: block;
|
303
309
|
}
|
304
310
|
|
311
|
+
/* T */
|
312
|
+
|
313
|
+
/* U */
|
314
|
+
|
315
|
+
/* V */
|
316
|
+
|
317
|
+
/* W */
|
305
318
|
|
306
319
|
/*
|
307
|
-
*
|
308
|
-
|
320
|
+
* Newsitems
|
321
|
+
**/
|
309
322
|
.newsitems--item {
|
310
323
|
border: 1px solid green;
|
311
324
|
padding: 5px;
|
@@ -315,3 +328,13 @@ ul.inline li {
|
|
315
328
|
border-bottom: 5px solid black;
|
316
329
|
}
|
317
330
|
|
331
|
+
|
332
|
+
/**
|
333
|
+
* Reports
|
334
|
+
**/
|
335
|
+
.descr,
|
336
|
+
.description {
|
337
|
+
border: 1px solid red;
|
338
|
+
padding: 1em;
|
339
|
+
font-size: 1.6em;
|
340
|
+
}
|
@@ -1,27 +1,24 @@
|
|
1
1
|
|
2
2
|
.manager--main-footer
|
3
3
|
.container
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
4
|
+
|
5
|
+
%i.fa.fa-compress.collapse-expand#collapseFooter
|
6
|
+
.a
|
7
|
+
.row
|
8
|
+
.col-sm-6
|
9
|
+
- if @current_user
|
9
10
|
%ul
|
10
|
-
%li >[ #{current_user.email} ]<
|
11
|
-
%li >[ #{current_user.profile
|
11
|
+
%li >[ #{@current_user.email} ]<
|
12
|
+
%li >[ #{@current_user.profile&.role_name} ]<
|
12
13
|
- else
|
13
14
|
Please log in
|
14
15
|
= link_to '[+]', main_app.new_user_session_path
|
15
16
|
|
16
|
-
.col
|
17
|
+
.col-sm-4
|
17
18
|
%br
|
18
19
|
\~__^
|
19
20
|
= @version
|
20
21
|
-# <pre>#{@changelog}</pre>
|
21
|
-
|
22
|
-
|
23
|
-
%br
|
24
|
-
%br
|
25
|
-
%br
|
26
|
-
.col.s2
|
22
|
+
|
23
|
+
.col-sm--2
|
27
24
|
= button_to 'Logout', main_app.destroy_user_session_path, :method => :delete
|
@@ -75,21 +75,8 @@
|
|
75
75
|
= f.label :ordering
|
76
76
|
= f.text_field :ordering
|
77
77
|
.col.s4
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
.row
|
82
|
-
.col.s6
|
83
|
-
.field
|
84
|
-
= f.check_box :is_active
|
85
|
-
= f.label :is_active
|
86
|
-
.col.s6
|
87
|
-
.google-maps.row
|
88
|
-
.col.s4
|
89
|
-
= f.label "x, y"
|
90
|
-
.col.s4
|
91
|
-
= f.text_field :x
|
92
|
-
.col.s4
|
93
|
-
= f.text_field :y
|
78
|
+
.field
|
79
|
+
= f.check_box :is_active
|
80
|
+
= f.label :is_active
|
94
81
|
.actions
|
95
82
|
= f.submit 'Save'
|
@@ -4,7 +4,21 @@
|
|
4
4
|
|
5
5
|
= form_for newsitem, :html => { :multipart => true } do |f|
|
6
6
|
.row
|
7
|
+
.col-sm-6
|
8
|
+
.field
|
9
|
+
= f.label :map
|
10
|
+
= f.select :map_id, options_for_select( @maps_list, selected:( newsitem[:map_id] || params[:map_id] ) ), {}, class: 'select2'
|
11
|
+
-# .field
|
12
|
+
-# = f.label :site
|
13
|
+
-# = f.select :site_id, options_for_select( @sites_list, :selected => ( newsitem[:site_id] || params[:site_id] ) )
|
14
|
+
-# .field
|
15
|
+
-# = f.label :city
|
16
|
+
-# = f.select :city_id, options_for_select( @cities_list, :selected => ( newsitem[:city_id] || params[:city_id] ) )
|
17
|
+
.col-sm-6
|
18
|
+
= f.submit :submit
|
7
19
|
|
20
|
+
%hr
|
21
|
+
.row
|
8
22
|
.col-sm-6
|
9
23
|
.field
|
10
24
|
= f.label :name
|
@@ -16,31 +30,16 @@
|
|
16
30
|
= f.label :descr
|
17
31
|
= f.text_area :descr, :class => :tinymce
|
18
32
|
|
19
|
-
|
20
33
|
.col-sm-6
|
21
|
-
.field
|
22
|
-
= f.label :map
|
23
|
-
= f.select :map_id, options_for_select( @maps_list, selected:( newsitem[:map_id] || params[:map_id] ) ), {}, class: 'select2'
|
24
|
-
-# .field
|
25
|
-
-# = f.label :site
|
26
|
-
-# = f.select :site_id, options_for_select( @sites_list, :selected => ( newsitem[:site_id] || params[:site_id] ) )
|
27
|
-
.field
|
28
|
-
= f.label :city
|
29
|
-
= f.select :city_id, options_for_select( @cities_list, :selected => ( newsitem[:city_id] || params[:city_id] ) )
|
30
|
-
|
31
|
-
%hr
|
32
|
-
.row
|
33
|
-
.col.s6
|
34
34
|
.field
|
35
35
|
= f.label :video
|
36
|
-
= f.select :video_id, options_for_select( @videos_list, :selected => @newsitem.video_id )
|
36
|
+
= f.select :video_id, options_for_select( @videos_list, :selected => @newsitem.video_id ), {}, class: 'select2'
|
37
37
|
.field
|
38
38
|
= f.label :gallery
|
39
|
-
= f.select :gallery_id, options_for_select( @galleries_list, :selected => @newsitem.gallery_id )
|
39
|
+
= f.select :gallery_id, options_for_select( @galleries_list, :selected => @newsitem.gallery_id ), {}, class: 'select2'
|
40
40
|
.field
|
41
41
|
= f.label :report
|
42
|
-
= f.select :report_id, options_for_select( @reports_list, :selected => @newsitem.report_id )
|
42
|
+
= f.select :report_id, options_for_select( @reports_list, :selected => @newsitem.report_id ), {}, class: 'select2'
|
43
|
+
|
43
44
|
|
44
|
-
.col.s6
|
45
|
-
= f.submit :submit
|
46
45
|
|
@@ -8,12 +8,7 @@
|
|
8
8
|
.col.s12
|
9
9
|
= render 'meta', tag: @tag
|
10
10
|
.descr= @tag.descr # I don't wanna show this every time to everyone, they know what they are here for.
|
11
|
-
= render 'ish_manager/features/index', :features => @tag.features[0, Tag.n_features], resource: @tag
|
12
|
-
|
13
|
-
- proc do # nothing
|
14
|
-
.row
|
15
|
-
.col.s12
|
16
|
-
= render 'ish_manager/newsitems/index', :newsitems => @tag.newsitems, :resource => @tag, :tag => @tag
|
11
|
+
-# = render 'ish_manager/features/index', :features => @tag.features[0, Tag.n_features], resource: @tag
|
17
12
|
|
18
13
|
.row
|
19
14
|
.col.s12
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ish_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.8.
|
4
|
+
version: 0.1.8.311
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piousbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|