tenon 1.0.18 → 1.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/images/tenon/client-logo.png +0 -0
- data/app/assets/images/tenon/tenon_icon.png +0 -0
- data/app/assets/stylesheets/tenon/colors-custom.css.scss +1 -1
- data/app/assets/stylesheets/tenon/layout/global.css.scss +4 -0
- data/app/assets/stylesheets/tenon/layout/sidebar.css.scss +0 -10
- data/app/assets/stylesheets/tenon/layout/util-nav.css.scss +1 -1
- data/app/assets/stylesheets/tenon/ui/login.css.scss +3 -2
- data/app/assets/stylesheets/tenon/ui/record-grids.css.scss +0 -1
- data/app/assets/stylesheets/tenon/ui/record-lists.css.scss +5 -6
- data/app/views/tenon/shared/_main_nav.html.haml +1 -1
- data/app/views/tenon/shared/_util_nav.html.haml +4 -2
- data/lib/tenon/version.rb +1 -1
- data/lib/tenon/warning_generator.rb +5 -5
- data/spec/features/tenon/comments_spec.rb +1 -1
- data/spec/lib/tenon/warning_generator_spec.rb +10 -10
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26fe2e2693358e70f326dc57a7dbd7dfdd3cb226
|
4
|
+
data.tar.gz: 2327627cafbf3bb52a11d5e6b15ec4f22389e41c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e29b905edcca21eea4fc5c67e44ad2130440817ebaebea716c2e9d34d70173e41f7f8939a8315c60bc16cd7963e5882a24b31b203ccfd203a2f0bb6a505fb22b
|
7
|
+
data.tar.gz: 745254829fe6c1fac1fbc26774889813a421b8506caaf7404dced70001d897cf262ff07849b6af43ff4b6b26765d95ef4558bc3795f71c1afde019f6d100623d
|
Binary file
|
Binary file
|
@@ -97,16 +97,6 @@
|
|
97
97
|
.notification {
|
98
98
|
margin-bottom: 20px;
|
99
99
|
font-size: 12px;
|
100
|
-
a {
|
101
|
-
display: inline-block;
|
102
|
-
margin-top: 3px;
|
103
|
-
padding: 5px 10px;
|
104
|
-
border-radius: 25px;
|
105
|
-
background: lighten($tn-sidebar, 10%);
|
106
|
-
color: $tn-primary-text;
|
107
|
-
text-align: left;
|
108
|
-
text-transform: uppercase;
|
109
|
-
}
|
110
100
|
}
|
111
101
|
}
|
112
102
|
}
|
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
form {
|
26
26
|
margin: 0 auto;
|
27
|
-
padding:
|
27
|
+
padding: 0;
|
28
28
|
border: 1px solid $tn-dark-grey;
|
29
29
|
border-radius: 5px;
|
30
30
|
background: #fff;
|
@@ -52,7 +52,8 @@
|
|
52
52
|
display: inline-block;
|
53
53
|
|
54
54
|
img {
|
55
|
-
height:
|
55
|
+
// height: 135px;
|
56
|
+
width: 100%;
|
56
57
|
}
|
57
58
|
}
|
58
59
|
|
@@ -55,7 +55,6 @@ ul.record-list {
|
|
55
55
|
@include clearfix;
|
56
56
|
color: $tn-black;
|
57
57
|
font-size: $tn-font-small;
|
58
|
-
text-transform: uppercase;
|
59
58
|
@include media($tablet-breakpoint) {
|
60
59
|
opacity: 0.5;
|
61
60
|
}
|
@@ -121,23 +120,23 @@ ul.record-list {
|
|
121
120
|
|
122
121
|
.record-list.with-thumbnail {
|
123
122
|
li {
|
124
|
-
min-height:
|
123
|
+
min-height: 80px;
|
125
124
|
background-color: #fff;
|
126
125
|
}
|
127
126
|
.thumbnail {
|
128
127
|
position: absolute;
|
129
128
|
top: 0;
|
130
129
|
left: 0;
|
131
|
-
width:
|
132
|
-
height:
|
130
|
+
width: 80px;
|
131
|
+
height: 80px;
|
133
132
|
img {
|
134
133
|
width: 100%;
|
135
134
|
height: 100%;
|
136
135
|
}
|
137
136
|
}
|
138
137
|
.record-details {
|
139
|
-
margin-left:
|
140
|
-
min-height:
|
138
|
+
margin-left: 80px;
|
139
|
+
min-height: 80px;
|
141
140
|
&:hover > .record-actions {
|
142
141
|
opacity: 1;
|
143
142
|
}
|
@@ -12,14 +12,16 @@
|
|
12
12
|
|
13
13
|
.header-menu.hamburger-toggle
|
14
14
|
= link_to '#', class: 'user-menu', data: { icon: 'user' } do
|
15
|
-
.header-icon
|
15
|
+
.header-icon
|
16
|
+
.mobile= fa_icon('fw user')
|
17
|
+
.tablet= fa_icon('fw caret-down')
|
16
18
|
.header-label= current_user.email
|
17
19
|
|
18
20
|
%ul
|
19
21
|
%li
|
20
22
|
= link_to edit_user_path(current_user) do
|
21
23
|
.header-icon= fa_icon('fw gear')
|
22
|
-
.header-label
|
24
|
+
.header-label Edit Info
|
23
25
|
%li
|
24
26
|
= link_to destroy_user_session_path, method: :delete do
|
25
27
|
.header-icon= fa_icon('fw sign-out')
|
data/lib/tenon/version.rb
CHANGED
@@ -6,11 +6,11 @@ module Tenon
|
|
6
6
|
|
7
7
|
def warnings
|
8
8
|
warnings = []
|
9
|
-
warnings << "Your site needs a title
|
10
|
-
warnings << "Your site needs an address
|
11
|
-
warnings << "You haven't entered an email address to receive contact messages.<br /><a href='/tenon/settings'>Correct This</a
|
12
|
-
warnings << "You haven't entered an email address from which to send contact messages and other site notices.<br /><a href='/tenon/settings'>Correct This</a
|
13
|
-
warnings << "You haven't entered the Google Analytics code.<br /><a href='/tenon/settings'>Correct This</a
|
9
|
+
warnings << "Your site needs a title.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>OK</a>".html_safe if Tenon::MySettings.site_title.blank?
|
10
|
+
warnings << "Your site needs an address.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>OK</a>".html_safe if Tenon::MySettings.site_url.blank?
|
11
|
+
warnings << "You haven't entered an email address to receive contact messages.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>".html_safe if Tenon::MySettings.contact_email.blank?
|
12
|
+
warnings << "You haven't entered an email address from which to send contact messages and other site notices.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>".html_safe if Tenon::MySettings.from_email.blank?
|
13
|
+
warnings << "You haven't entered the Google Analytics code.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>".html_safe if Tenon::MySettings.google_analytics.blank?
|
14
14
|
warnings << 'You have not included a custom favicon.' unless favicon && favicon.size > 0
|
15
15
|
warnings
|
16
16
|
end
|
@@ -12,7 +12,7 @@ describe 'An admin viewing the comments index', js: true do
|
|
12
12
|
|
13
13
|
it 'should see the comment in a list' do
|
14
14
|
visit comments_path
|
15
|
-
expect(page).to have_content('Test Comment'
|
15
|
+
expect(page).to have_content('Test Comment')
|
16
16
|
end
|
17
17
|
|
18
18
|
it 'should be able to delete the comment' do
|
@@ -13,7 +13,7 @@ describe Tenon::WarningGenerator do
|
|
13
13
|
end
|
14
14
|
|
15
15
|
it 'should include a warning about no site title' do
|
16
|
-
warning = "Your site needs a title
|
16
|
+
warning = "Your site needs a title.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>OK</a>"
|
17
17
|
expect(wg.warnings).to include(warning)
|
18
18
|
end
|
19
19
|
end
|
@@ -24,7 +24,7 @@ describe Tenon::WarningGenerator do
|
|
24
24
|
end
|
25
25
|
|
26
26
|
it 'should include a warning about no site title' do
|
27
|
-
warning = "Your site needs a title
|
27
|
+
warning = "Your site needs a title.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>OK</a>"
|
28
28
|
expect(wg.warnings).not_to include(warning)
|
29
29
|
end
|
30
30
|
end
|
@@ -35,7 +35,7 @@ describe Tenon::WarningGenerator do
|
|
35
35
|
end
|
36
36
|
|
37
37
|
it 'should not include a warning about no site domain' do
|
38
|
-
warning = "Your site needs an address
|
38
|
+
warning = "Your site needs an address.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>OK</a>"
|
39
39
|
expect(wg.warnings).to include(warning)
|
40
40
|
end
|
41
41
|
end
|
@@ -46,7 +46,7 @@ describe Tenon::WarningGenerator do
|
|
46
46
|
end
|
47
47
|
|
48
48
|
it 'should not include a warning about no site title' do
|
49
|
-
warning = "Your site needs an address
|
49
|
+
warning = "Your site needs an address.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>OK</a>"
|
50
50
|
expect(wg.warnings).not_to include(warning)
|
51
51
|
end
|
52
52
|
end
|
@@ -57,7 +57,7 @@ describe Tenon::WarningGenerator do
|
|
57
57
|
end
|
58
58
|
|
59
59
|
it 'should include a warning about no contact email' do
|
60
|
-
warning = "You haven't entered an email address to receive contact messages.<br /><a href='/tenon/settings'>Correct This</a
|
60
|
+
warning = "You haven't entered an email address to receive contact messages.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>"
|
61
61
|
expect(wg.warnings).to include(warning)
|
62
62
|
end
|
63
63
|
end
|
@@ -68,7 +68,7 @@ describe Tenon::WarningGenerator do
|
|
68
68
|
end
|
69
69
|
|
70
70
|
it 'should include a warning about no contact email' do
|
71
|
-
warning = "You haven't entered an email address to receive contact messages.<br /><a href='/tenon/settings'>Correct This</a
|
71
|
+
warning = "You haven't entered an email address to receive contact messages.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>"
|
72
72
|
expect(wg.warnings).not_to include(warning)
|
73
73
|
end
|
74
74
|
end
|
@@ -79,7 +79,7 @@ describe Tenon::WarningGenerator do
|
|
79
79
|
end
|
80
80
|
|
81
81
|
it 'should include a warning about no from email' do
|
82
|
-
warning = "You haven't entered an email address from which to send contact messages and other site notices.<br /><a href='/tenon/settings'>Correct This</a
|
82
|
+
warning = "You haven't entered an email address from which to send contact messages and other site notices.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>"
|
83
83
|
expect(wg.warnings).to include(warning)
|
84
84
|
end
|
85
85
|
end
|
@@ -90,7 +90,7 @@ describe Tenon::WarningGenerator do
|
|
90
90
|
end
|
91
91
|
|
92
92
|
it 'should include a warning about no from email' do
|
93
|
-
warning = "You haven't entered an email address from which to send contact messages and other site notices.<br /><a href='/tenon/settings'>Correct This</a
|
93
|
+
warning = "You haven't entered an email address from which to send contact messages and other site notices.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>"
|
94
94
|
expect(wg.warnings).not_to include(warning)
|
95
95
|
end
|
96
96
|
end
|
@@ -101,7 +101,7 @@ describe Tenon::WarningGenerator do
|
|
101
101
|
end
|
102
102
|
|
103
103
|
it 'should include a warning about no Google Analytics' do
|
104
|
-
warning = "You haven't entered the Google Analytics code.<br /><a href='/tenon/settings'>Correct This</a
|
104
|
+
warning = "You haven't entered the Google Analytics code.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>"
|
105
105
|
expect(wg.warnings).to include(warning)
|
106
106
|
end
|
107
107
|
end
|
@@ -112,7 +112,7 @@ describe Tenon::WarningGenerator do
|
|
112
112
|
end
|
113
113
|
|
114
114
|
it 'should include a warning about no Google Analytics' do
|
115
|
-
warning = "You haven't entered the Google Analytics code.<br /><a href='/tenon/settings'>Correct This</a
|
115
|
+
warning = "You haven't entered the Google Analytics code.<br /><br /><a class='btn btn-comp btn-block' href='/tenon/settings'>Correct This</a>"
|
116
116
|
expect(wg.warnings).not_to include(warning)
|
117
117
|
end
|
118
118
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tenon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- factor[e] design initiative
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: better_errors
|
@@ -1452,7 +1452,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1452
1452
|
version: '0'
|
1453
1453
|
requirements: []
|
1454
1454
|
rubyforge_project:
|
1455
|
-
rubygems_version: 2.
|
1455
|
+
rubygems_version: 2.3.0
|
1456
1456
|
signing_key:
|
1457
1457
|
specification_version: 4
|
1458
1458
|
summary: A highly flexible mountable Rails CMS built for rapid application development.
|