ish_manager 0.1.8.263 → 0.1.8.268

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
  SHA256:
3
- metadata.gz: 418646349055afb3072f68d9fc12527add24597969d62ce4ff4aa41eef0d879b
4
- data.tar.gz: cc4e03f30e8c12df9227fb6424b33207f847ff12ef2bdf90df41dea1de2748e0
3
+ metadata.gz: 1019b22a7c32816d307d49ae29035bc9b94e0a9f52f0ab55d0c11e71fa5d3ae4
4
+ data.tar.gz: feca11d315c1012a4ab8b96baa25adcbd53508be0a8d60891b9daf87d7f47043
5
5
  SHA512:
6
- metadata.gz: d04670dd256406a4c75dab4a62796dcfde3fb22f38ec65b738ac6f2fe972a33b32b8fcc43f5613861b8e7400a7d3dd92582613eb68a1be59f4acda1494697864
7
- data.tar.gz: 104e3b96eef1193d21ba175122c8de72dba98f93e572af83af5654479dfe767860d3f654e669bb2634d0f8e6e9a678fb13381316cd4d568f6b792806b376026c
6
+ metadata.gz: c6e1086301ef4dd2f2829c2f51bc460ef8f3293c00ab5f243e002c9da33e869a960ab8afaa6e7c26fd1d3eb4b671a4dc81fdb64674da665ee722afd88fcf6dc4
7
+ data.tar.gz: 31fe198ae38a3f8feb9fde0a7922026d3c1af93edccd084830b37f248ba8c1671a70291d2db7aa01ae8f85dbc03c4473b7cc93b33e4b4bf662e16bfcb2ed9e27
@@ -13,7 +13,6 @@
13
13
  *= require_self
14
14
  *= require ish_manager/tags
15
15
  *= require ish_manager/maps
16
- *= require ish_manager/utils
17
16
  *= require ish_manager/jquery-ui
18
17
  *= require ish_manager/galleries
19
18
  *= require ish_manager/photos
@@ -25,15 +24,59 @@ body {
25
24
  background: #dedede;
26
25
  font-size: 20px;
27
26
  }
27
+
28
28
  pre {
29
29
  background: #e0e0e0;
30
30
  padding: 1em;
31
31
  }
32
32
 
33
+ ul:not(.browser-default).errors,
34
+ ul:not(.browser-default).bullets, {
35
+ > li {
36
+ list-style-type: circle;
37
+ margin-left: 1em;
38
+ }
39
+ }
40
+
33
41
  /**
34
42
  * utils
35
43
  */
36
44
 
45
+ .-index {
46
+ .item {
47
+ margin-bottom: 3em;
48
+ }
49
+
50
+ /* clear nth! */
51
+ .row div:nth-child(2n+1) {
52
+ clear:left
53
+ }
54
+
55
+ .row h3 {
56
+ margin-bottom: 0;
57
+ }
58
+ }
59
+
60
+
61
+ .flat-row {
62
+ display: flex;
63
+ flex-direction: row;
64
+ justify-content: flex-start;
65
+ align-content: flex-start;
66
+
67
+ height: 2.4em;
68
+ line-height: 3em;
69
+
70
+ width: 100%;
71
+ margin: 1em 0 0 0;
72
+ padding: 0;
73
+
74
+ > * {
75
+ padding-right: 1em;
76
+ }
77
+ }
78
+
79
+
37
80
  /* A */
38
81
 
39
82
  .addToggle + * {
@@ -89,6 +132,7 @@ pre {
89
132
 
90
133
  .flex-row {
91
134
  display: flex;
135
+ flex-wrap: wrap;
92
136
  }
93
137
 
94
138
  .float-left {
@@ -1,11 +1 @@
1
1
 
2
- .videos--index {
3
- .item {
4
- margin-bottom: 3em;
5
- }
6
-
7
- /* clear nth! */
8
- .row div:nth-child(2n+1) {
9
- clear:left
10
- }
11
- }
@@ -7,9 +7,9 @@
7
7
  .content
8
8
  %ul.nav.nav-pills
9
9
  %li{ :class => params[:controller] == 'ish_manager/galleries' ? 'active' : '' }= link_to 'Galleries', galleries_path
10
- %li{ :class => params[:controller] == 'ish_manager/reports' ? 'active' : '' }= link_to 'Reports', reports_path
11
- %li{ :class => params[:controller] == 'ish_manager/videos' ? 'active' : '' }= link_to 'Videos', videos_path
12
- %li{ :class => params[:controller] == 'ish_manager/friends ' ? 'active' : '' }= link_to 'Friends', friends_path
10
+ -# %li{ :class => params[:controller] == 'ish_manager/reports' ? 'active' : '' }= link_to 'Reports', reports_path
11
+ -# %li{ :class => params[:controller] == 'ish_manager/videos' ? 'active' : '' }= link_to 'Videos', videos_path
12
+ -# %li{ :class => params[:controller] == 'ish_manager/friends ' ? 'active' : '' }= link_to 'Friends', friends_path
13
13
  %ul.nav.nav-pills
14
14
  %hr
15
15
 
@@ -1,20 +1,18 @@
1
1
 
2
2
  .meta
3
- - if defined?(item.premium_tier) && item.premium_tier > 0
4
- <b>$#{item.premium_tier}</b>
3
+
5
4
  <b>On</b> #{item.created_at.to_s[0...10]}
5
+ - if item.user_profile
6
+ <b>By:</b>
7
+ = link_to item.user_profile.name, edit_user_profile_path( item.user_profile )
6
8
 
9
+ - if item.tags.length > 0
10
+ <b>Tags:</b> #{ item.tags.map(&:name).join(', ') }
7
11
  - if item.city
8
12
  <b>In City:</b> #{link_to item.city.name, city_path( item.city )}
9
- - if item.tags
10
- <b>Tags:</b> #{ item.tags.map(&:name).join(', ') }
11
- - if item.site
12
- <b>Site:</b>
13
- = link_to "#{item.site.domain}/#{item.site.lang}", site_path( item.site )
14
13
  - if item.respond_to?( :venue ) && item.venue
15
14
  <b>Venue:</b>
16
15
  = link_to item.venue.name, venue_path( item.venue )
17
- - if item.user_profile
18
- <b>By UserProfile:</b>
19
- = link_to item.user_profile.name, edit_user_profile_path( item.user_profile )
20
-
16
+
17
+ - if defined?(item.premium_tier) && item.premium_tier > 0
18
+ <b>Tier:$#{item.premium_tier}</b>
@@ -2,34 +2,38 @@
2
2
  -# ish_manager / galleries / _index.haml
3
3
  -#
4
4
 
5
- = render 'ish_manager/galleries/menu'
6
-
7
5
  - n_thumbs ||= 8
8
6
  - param_name ||= :galleries_page
9
7
 
10
- - if @galleries.length > 0
11
- .galleries--list
8
+ .galleries--index.-index
9
+
10
+ = render 'ish_manager/galleries/menu'
11
+
12
+ - if @galleries.length > 0
13
+
12
14
  - if @galleries.respond_to? :total_pages
13
15
  = paginate @galleries, :param_name => param_name, :views_prefix => 'ish_manager'
14
16
 
15
- - @galleries.each do |g|
16
- .panel
17
- .panel-body
18
- %h3
19
- = link_to '[~]', edit_gallery_path( g )
20
- = link_to g.name, gallery_path(g.slug)
21
- (#{g.photos.length})
22
- = render 'meta', :item => g
23
- - if g.photos.length == 0
24
- = image_missing
25
- - else
26
- .thumbnails
27
- - g.photos.limit( n_thumbs ).each do |photo|
28
- = link_to image_tag(photo.photo.url(:thumb), :alt => g.name), gallery_path(g.slug)
17
+ .row
18
+ - @galleries.each do |g|
19
+ .col.s6
20
+ .item.panel
21
+ .panel-body
22
+ %h4
23
+ = link_to '[~]', edit_gallery_path( g )
24
+ = link_to g.name, gallery_path(g.slug)
25
+ (#{g.photos.length})
26
+ = render 'meta', item: g
27
+ - if g.photos.length == 0
28
+ = image_missing
29
+ - else
30
+ .thumbnails.flex-row
31
+ - g.photos.limit( n_thumbs ).each do |photo|
32
+ = link_to image_tag(photo.photo.url(:thumb), :alt => g.name), gallery_path(g.slug)
29
33
 
30
34
  - if @galleries.respond_to? :total_pages
31
35
  = paginate @galleries, :param_name => param_name, :views_prefix => 'ish_manager'
32
36
 
33
- - else
34
- %h5 No Galleries
37
+ - else
38
+ %h5 No Galleries
35
39
 
@@ -2,7 +2,7 @@
2
2
  .title
3
3
  .row
4
4
  .col.s12.col.m12
5
- %h1.center #{params[:action]} (#{@galleries.count}) #{link_to '[+]', new_gallery_path}
5
+ %h1.center Galleries #{params[:action]} (#{@galleries.count}) #{link_to '[+]', new_gallery_path}
6
6
  = render 'search', path: galleries_path
7
7
  %ul.menu-secondary
8
8
  %li{ class: "#{params[:render_type] == 'index_titles' ? 'active' : ''}" }
@@ -1,7 +1,7 @@
1
1
 
2
2
  - videos ||= @videos
3
3
 
4
- .videos--index
4
+ .videos--index.-index
5
5
 
6
6
  %h5
7
7
  Videos (#{videos.count})
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.263
4
+ version: 0.1.8.268
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-19 00:00:00.000000000 Z
11
+ date: 2022-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -189,7 +189,6 @@ files:
189
189
  - app/assets/stylesheets/ish_manager/trash/bootstrap.min.css
190
190
  - app/assets/stylesheets/ish_manager/trash/bootstrap.min.css.map
191
191
  - app/assets/stylesheets/ish_manager/user_profiles.scss
192
- - app/assets/stylesheets/ish_manager/utils.scss
193
192
  - app/assets/stylesheets/ish_manager/videos.scss
194
193
  - app/controllers/ish_manager/application_controller.rb
195
194
  - app/controllers/ish_manager/campaigns_controller.rb
@@ -400,7 +399,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
400
399
  - !ruby/object:Gem::Version
401
400
  version: '0'
402
401
  requirements: []
403
- rubygems_version: 3.2.25
402
+ rubygems_version: 3.0.3.1
404
403
  signing_key:
405
404
  specification_version: 4
406
405
  summary: Summary of IshManager.
@@ -1,26 +0,0 @@
1
-
2
- ul:not(.browser-default).errors,
3
- ul:not(.browser-default).bullets, {
4
- > li {
5
- list-style-type: circle;
6
- margin-left: 1em;
7
- }
8
- }
9
-
10
- .flat-row {
11
- display: flex;
12
- flex-direction: row;
13
- justify-content: flex-start;
14
- align-content: flex-start;
15
-
16
- height: 2.4em;
17
- line-height: 3em;
18
-
19
- width: 100%;
20
- margin: 1em 0 0 0;
21
- padding: 0;
22
-
23
- > * {
24
- padding-right: 1em;
25
- }
26
- }