ish_manager 0.1.8.244 → 0.1.8.245
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/ish_manager/application.css +2 -0
- data/app/assets/stylesheets/ish_manager/galleries.css +4 -0
- data/app/assets/stylesheets/ish_manager/reset.css +96 -0
- data/app/assets/stylesheets/ish_manager/user_profiles.scss +9 -0
- data/app/views/ish_manager/reports/_form.haml +12 -6
- data/app/views/ish_manager/reports/_show_mini.haml +15 -0
- data/app/views/ish_manager/reports/show.haml +2 -2
- data/app/views/ish_manager/user_profiles/index.haml +3 -3
- data/app/views/ish_manager/user_profiles/show.haml +14 -0
- data/app/views/layouts/ish_manager/application.haml +4 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd7915ad6bfd53231f4546857b3ef2f2888387855d42acfe8bbb69bb2c20dfa7
|
4
|
+
data.tar.gz: fad21d67cb5a7b3c4bbf69648daa6bc48e0ea07d82d2cf184cc4324142e0a3d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89c5da23f5ca2628dc6c6d2a6ac5c03edc8625b70b9ca20ccb35db62dfcda630be5c48bbc208df3f39ee746a844ecbb345e4d35a96c53d0f6441463a018b9338
|
7
|
+
data.tar.gz: 5f57513f152a76464c306f3741b5196eae35630b55bf64d4f6f70583dec4b9067971f5435ab54ea1ff7edf91292803e3cf5bbb6bfb1cdea8f699e2dc78d0daf3
|
@@ -11,12 +11,14 @@
|
|
11
11
|
* It is generally better to create a new file per style scope.
|
12
12
|
*
|
13
13
|
*= require ish_manager/bootstrap
|
14
|
+
*= require ish_manager/reset
|
14
15
|
*= require_self
|
15
16
|
*= require ish_manager/tags
|
16
17
|
*= require ish_manager/maps
|
17
18
|
*= require ish_manager/utils
|
18
19
|
*= require ish_manager/jquery-ui
|
19
20
|
*= require ish_manager/galleries
|
21
|
+
*= require ish_manager/user_profiles
|
20
22
|
*/
|
21
23
|
|
22
24
|
|
@@ -0,0 +1,96 @@
|
|
1
|
+
/* Box sizing rules */
|
2
|
+
*,
|
3
|
+
*::before,
|
4
|
+
*::after {
|
5
|
+
box-sizing: border-box;
|
6
|
+
}
|
7
|
+
|
8
|
+
/* Remove default margin */
|
9
|
+
body,
|
10
|
+
h1,
|
11
|
+
h2,
|
12
|
+
h3,
|
13
|
+
h4,
|
14
|
+
p,
|
15
|
+
figure,
|
16
|
+
blockquote,
|
17
|
+
dl,
|
18
|
+
dd {
|
19
|
+
margin: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
|
23
|
+
ul[role='list'],
|
24
|
+
ol[role='list'] {
|
25
|
+
list-style: none;
|
26
|
+
}
|
27
|
+
|
28
|
+
/* Set core root defaults */
|
29
|
+
html:focus-within {
|
30
|
+
scroll-behavior: smooth;
|
31
|
+
}
|
32
|
+
|
33
|
+
/* Set core body defaults */
|
34
|
+
body {
|
35
|
+
min-height: 100vh;
|
36
|
+
text-rendering: optimizeSpeed;
|
37
|
+
line-height: 1.5;
|
38
|
+
}
|
39
|
+
|
40
|
+
/* A elements that don't have a class get default styles */
|
41
|
+
a:not([class]) {
|
42
|
+
text-decoration-skip-ink: auto;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Make images easier to work with */
|
46
|
+
img,
|
47
|
+
picture {
|
48
|
+
max-width: 100%;
|
49
|
+
display: block;
|
50
|
+
}
|
51
|
+
|
52
|
+
/* Inherit fonts for inputs and buttons */
|
53
|
+
input,
|
54
|
+
button,
|
55
|
+
textarea,
|
56
|
+
select {
|
57
|
+
font: inherit;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
|
61
|
+
@media (prefers-reduced-motion: reduce) {
|
62
|
+
html:focus-within {
|
63
|
+
scroll-behavior: auto;
|
64
|
+
}
|
65
|
+
|
66
|
+
*,
|
67
|
+
*::before,
|
68
|
+
*::after {
|
69
|
+
animation-duration: 0.01ms !important;
|
70
|
+
animation-iteration-count: 1 !important;
|
71
|
+
transition-duration: 0.01ms !important;
|
72
|
+
scroll-behavior: auto !important;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
|
77
|
+
html, body, div, span, applet, object, iframe,
|
78
|
+
p, blockquote, pre,
|
79
|
+
a, abbr, acronym, address, big, cite, code,
|
80
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
81
|
+
small, strike, strong, sub, sup, tt, var,
|
82
|
+
b, u, i, center,
|
83
|
+
dl, dt, dd, ol, ul, li,
|
84
|
+
fieldset, form, label, legend,
|
85
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
86
|
+
article, aside, canvas, details, embed,
|
87
|
+
figure, figcaption, footer, header, hgroup,
|
88
|
+
menu, nav, output, ruby, section, summary,
|
89
|
+
time, mark, audio, video {
|
90
|
+
margin: 0;
|
91
|
+
padding: 0;
|
92
|
+
border: 0;
|
93
|
+
font-size: 100%;
|
94
|
+
font: inherit;
|
95
|
+
vertical-align: baseline;
|
96
|
+
}
|
@@ -28,13 +28,10 @@
|
|
28
28
|
%br
|
29
29
|
|
30
30
|
.row
|
31
|
-
.col-md-4
|
32
|
-
%label{} City
|
33
|
-
= select :report, :city_id, @cities_list, :class=>"btn"
|
34
|
-
.col-sm-4
|
35
|
-
= f.label :premium_tier
|
36
|
-
= f.number_field :premium_tier
|
37
31
|
.col-md-4
|
32
|
+
.field
|
33
|
+
%label City
|
34
|
+
= select :report, :city_id, @cities_list, :class=>"btn"
|
38
35
|
.field
|
39
36
|
= f.label :Coordinates
|
40
37
|
.panel.panel-default
|
@@ -48,6 +45,15 @@
|
|
48
45
|
.form-group
|
49
46
|
%label{} Y-coordinate
|
50
47
|
= f.text_field :y, :placeholder => "y", :type => "text", :class=>"form-control"
|
48
|
+
.col-sm-4
|
49
|
+
.field
|
50
|
+
= f.label :premium_tier
|
51
|
+
= f.number_field :premium_tier
|
52
|
+
.field
|
53
|
+
= f.label :user_profile
|
54
|
+
= select :report, :user_profile_id, @user_profiles_list
|
55
|
+
.col-md-4
|
56
|
+
unused
|
51
57
|
|
52
58
|
.row
|
53
59
|
.col-md-6
|
@@ -0,0 +1,15 @@
|
|
1
|
+
|
2
|
+
.manager-reports--show-mini
|
3
|
+
.row
|
4
|
+
.large-12.columns
|
5
|
+
.title
|
6
|
+
= report.name
|
7
|
+
= link_to '[~]', edit_report_path( report )
|
8
|
+
|
9
|
+
.meta
|
10
|
+
On #{report.created_at.to_s.slice(0, 10)}
|
11
|
+
- if report.city
|
12
|
+
In #{link_to report.city.name, city_path( report.city )}
|
13
|
+
|
14
|
+
- if report.subhead.length > 3
|
15
|
+
.subhead= report.subhead
|
@@ -10,9 +10,9 @@
|
|
10
10
|
.row
|
11
11
|
.col-sm-4
|
12
12
|
%ul
|
13
|
-
%li
|
14
|
-
|
15
|
-
|
13
|
+
%li
|
14
|
+
<b>Email:</b> #{link_to profile.email, user_profile_path(profile)}
|
15
|
+
= link_to '[edit]', edit_user_profile_path( profile )
|
16
16
|
%li <b>Name:</b> #{profile.name}
|
17
17
|
%li <b>Role:</b> #{profile.role_name}
|
18
18
|
%li <b>User.email:</b> #{profile.user ? profile.user.email : nil}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
|
2
|
+
.user-profiles--show
|
3
|
+
%ul
|
4
|
+
%li
|
5
|
+
User profile: #{@user_profile.inspect}
|
6
|
+
%li
|
7
|
+
Purchased Items:
|
8
|
+
%ul
|
9
|
+
- @user_profile.premium_purchases.each do |purchase|
|
10
|
+
%li
|
11
|
+
-# = purchase.item_type.constantize.find(purchase.item_id).inspect
|
12
|
+
= render 'ish_manager/reports/show_mini', report: purchase.item_type.constantize.find(purchase.item_id)
|
13
|
+
|
14
|
+
|
@@ -12,11 +12,14 @@
|
|
12
12
|
%script{ :src => "//cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js" }
|
13
13
|
= stylesheet_link_tag "//cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"
|
14
14
|
= stylesheet_link_tag "//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css", :media => 'all'
|
15
|
-
|
15
|
+
|
16
16
|
= stylesheet_link_tag "ish_manager/materialize", media: "all"
|
17
|
+
= stylesheet_link_tag "ish_manager/application", media: "all"
|
17
18
|
= stylesheet_link_tag "//fonts.googleapis.com/icon?family=Material+Icons"
|
19
|
+
|
18
20
|
= javascript_include_tag "ish_manager/application"
|
19
21
|
= javascript_include_tag "ish_manager/materialize"
|
22
|
+
|
20
23
|
= csrf_meta_tags
|
21
24
|
%body#application
|
22
25
|
.bg-white
|
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.245
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- piousbox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -180,9 +180,11 @@ files:
|
|
180
180
|
- app/assets/stylesheets/ish_manager/jquery-ui.css
|
181
181
|
- app/assets/stylesheets/ish_manager/maps.scss
|
182
182
|
- app/assets/stylesheets/ish_manager/materialize.css
|
183
|
+
- app/assets/stylesheets/ish_manager/reset.css
|
183
184
|
- app/assets/stylesheets/ish_manager/tags.css
|
184
185
|
- app/assets/stylesheets/ish_manager/trash/bootstrap.min.css
|
185
186
|
- app/assets/stylesheets/ish_manager/trash/bootstrap.min.css.map
|
187
|
+
- app/assets/stylesheets/ish_manager/user_profiles.scss
|
186
188
|
- app/assets/stylesheets/ish_manager/utils.scss
|
187
189
|
- app/controllers/ish_manager/ally_controller.rb
|
188
190
|
- app/controllers/ish_manager/application_controller.rb
|
@@ -307,6 +309,7 @@ files:
|
|
307
309
|
- app/views/ish_manager/photos/without_gallery.haml
|
308
310
|
- app/views/ish_manager/reports/_form.haml
|
309
311
|
- app/views/ish_manager/reports/_index.haml
|
312
|
+
- app/views/ish_manager/reports/_show_mini.haml
|
310
313
|
- app/views/ish_manager/reports/edit.haml
|
311
314
|
- app/views/ish_manager/reports/index.haml
|
312
315
|
- app/views/ish_manager/reports/new.haml
|
@@ -338,6 +341,7 @@ files:
|
|
338
341
|
- app/views/ish_manager/user_profiles/edit.haml
|
339
342
|
- app/views/ish_manager/user_profiles/index.haml
|
340
343
|
- app/views/ish_manager/user_profiles/new.haml
|
344
|
+
- app/views/ish_manager/user_profiles/show.haml
|
341
345
|
- app/views/ish_manager/users/_index.haml
|
342
346
|
- app/views/ish_manager/venues/_form.haml
|
343
347
|
- app/views/ish_manager/venues/_index.haml
|