ish_manager 0.1.8.263 → 0.1.8.264

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: 3de793cb5988bda4c3422a8bf35d3133805fd3d90a0bdb12dd970b435302b5f0
4
+ data.tar.gz: 7f7a0c5b1370cb593a7322b645c5badd03b7e7d09d235393f3bee20e57533cb3
5
5
  SHA512:
6
- metadata.gz: d04670dd256406a4c75dab4a62796dcfde3fb22f38ec65b738ac6f2fe972a33b32b8fcc43f5613861b8e7400a7d3dd92582613eb68a1be59f4acda1494697864
7
- data.tar.gz: 104e3b96eef1193d21ba175122c8de72dba98f93e572af83af5654479dfe767860d3f654e669bb2634d0f8e6e9a678fb13381316cd4d568f6b792806b376026c
6
+ metadata.gz: efcba19861d53be3dbbd2c1af99094397e8e0f079dca30ceba46903dd097bdd315206b02983e5659ad79ee3de0b28c95421562479b0f50ce3753ef36aad5ddf7
7
+ data.tar.gz: 21310349049bb4d102e9cc0de03bcb4b9009c4d29bd01f606530f7449c69930fef480dcebc258b5f6b5902552acb92c7b1accc73a5e51e796f2733e9b0429234
@@ -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,12 +1,12 @@
1
1
 
2
2
  .meta
3
3
  - if defined?(item.premium_tier) && item.premium_tier > 0
4
- <b>$#{item.premium_tier}</b>
4
+ <b>Tier:$#{item.premium_tier}</b>
5
5
  <b>On</b> #{item.created_at.to_s[0...10]}
6
6
 
7
7
  - if item.city
8
8
  <b>In City:</b> #{link_to item.city.name, city_path( item.city )}
9
- - if item.tags
9
+ - if item.tags.length > 0
10
10
  <b>Tags:</b> #{ item.tags.map(&:name).join(', ') }
11
11
  - if item.site
12
12
  <b>Site:</b>
@@ -17,4 +17,4 @@
17
17
  - if item.user_profile
18
18
  <b>By UserProfile:</b>
19
19
  = link_to item.user_profile.name, edit_user_profile_path( item.user_profile )
20
-
20
+
@@ -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
12
- - if @galleries.respond_to? :total_pages
13
- = paginate @galleries, :param_name => param_name, :views_prefix => 'ish_manager'
8
+ .galleries--index.-index
14
9
 
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)
10
+ = render 'ish_manager/galleries/menu'
11
+
12
+ - if @galleries.length > 0
29
13
 
30
14
  - if @galleries.respond_to? :total_pages
31
15
  = paginate @galleries, :param_name => param_name, :views_prefix => 'ish_manager'
32
16
 
33
- - else
34
- %h5 No Galleries
17
+ .row
18
+ - @galleries.each do |g|
19
+ .col.s6
20
+ .item.panel
21
+ .panel-body
22
+ %h3
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)
33
+
34
+ - if @galleries.respond_to? :total_pages
35
+ = paginate @galleries, :param_name => param_name, :views_prefix => 'ish_manager'
36
+
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.264
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: 2021-12-08 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
@@ -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
- }