tenon 1.0.50 → 1.0.51
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/icon-114x114.png +0 -0
- data/app/assets/images/tenon/icon-144x144.png +0 -0
- data/app/assets/images/tenon/icon-192x192.png +0 -0
- data/app/assets/images/tenon/icon-36x36.png +0 -0
- data/app/assets/images/tenon/icon-48x48.png +0 -0
- data/app/assets/images/tenon/icon-57x57.png +0 -0
- data/app/assets/images/tenon/icon-72x72.png +0 -0
- data/app/assets/images/tenon/icon-96x96.png +0 -0
- data/app/assets/javascripts/tenon/manifest.json +44 -0
- data/app/helpers/tenon/platform_hints_helper.rb +9 -0
- data/app/views/layouts/tenon/application.html.haml +3 -2
- data/app/views/layouts/tenon/login.html.haml +3 -5
- data/app/views/tenon/shared/_platform_hints.html.haml +26 -0
- data/config/initializers/tenon.rb +4 -0
- data/lib/tenon/version.rb +1 -1
- data/lib/tenon.rb +1 -1
- metadata +14 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1052906ed20a82597981ba08ce6fd371e4623da7
|
4
|
+
data.tar.gz: 63a66b9c310d34277cfb168311e23a0de6a7bf70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7793cd262a35059f3eb9222d8914aa43b83a7c75996089fa64e4ff0d836a764f8c3f93d49dee0d77dd651c4060e8e7eabd0eafa4c35ca37bd323b5fb35cce556
|
7
|
+
data.tar.gz: 41e7edfeaeee739cf8bf1bae76ab9599ba3d0d98b236c532b665004f1c471dcb43bb6e64fffc637a695c9d4b05547875b77835eb98bc3601496ad04827ac76e5
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,44 @@
|
|
1
|
+
{
|
2
|
+
"name": "Tenon",
|
3
|
+
"icons": [
|
4
|
+
{
|
5
|
+
"src": "/assets/tenon/icon-36x36.png",
|
6
|
+
"sizes": "36x36",
|
7
|
+
"type": "image/png",
|
8
|
+
"density": "0.75"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"src": "/assets/tenon/icon-48x48.png",
|
12
|
+
"sizes": "48x48",
|
13
|
+
"type": "image/png",
|
14
|
+
"density": "1.0"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"src": "/assets/tenon/icon-72x72.png",
|
18
|
+
"sizes": "72x72",
|
19
|
+
"type": "image/png",
|
20
|
+
"density": "1.5"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"src": "/assets/tenon/icon-96x96.png",
|
24
|
+
"sizes": "96x96",
|
25
|
+
"type": "image/png",
|
26
|
+
"density": "2.0"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"src": "/assets/tenon/icon-144x144.png",
|
30
|
+
"sizes": "144x144",
|
31
|
+
"type": "image/png",
|
32
|
+
"density": "3.0"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"src": "/assets/tenon/icon-192x192.png",
|
36
|
+
"sizes": "192x192",
|
37
|
+
"type": "image/png",
|
38
|
+
"density": "4.0"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
// "start_url": "",
|
42
|
+
"display": "standalone",
|
43
|
+
"orientation": "portrait"
|
44
|
+
}
|
@@ -4,11 +4,12 @@
|
|
4
4
|
= csrf_meta_tag
|
5
5
|
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }/
|
6
6
|
%meta{ :content => 'initial-scale=1,width=device-width,user-scalable=no', :name => 'viewport' }
|
7
|
+
= platform_hints(Tenon.config.primary_color) if Tenon.config.primary_color.present?
|
8
|
+
|
7
9
|
%title
|
8
|
-
= raw @page_title + ": " if @page_title
|
9
10
|
= Tenon::MySettings.site_title if Tenon::MySettings.site_title
|
10
|
-
= stylesheet_link_tag 'tenon/tenon', '//fonts.googleapis.com/css?family=Open+Sans:400,700'
|
11
11
|
|
12
|
+
= stylesheet_link_tag 'tenon/tenon', '//fonts.googleapis.com/css?family=Open+Sans:400,700'
|
12
13
|
= javascript_include_tag 'tenon/tenon_manifest'
|
13
14
|
|
14
15
|
%body{data: { controller: params[:controller], action: params[:action] }, class: ('menu-open' if content_for?(:sidebar))}
|
@@ -4,14 +4,12 @@
|
|
4
4
|
= csrf_meta_tag
|
5
5
|
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }/
|
6
6
|
%meta{ :content => 'initial-scale=1,width=device-width', :name => 'viewport' }
|
7
|
+
= platform_hints(Tenon.config.client_color) if Tenon.config.client_color.present?
|
8
|
+
|
7
9
|
%title
|
8
|
-
- if controller_name == 'passwords'
|
9
|
-
Forgot Password:
|
10
|
-
- else
|
11
|
-
Sign In:
|
12
10
|
= Tenon::MySettings.site_title if Tenon::MySettings.site_title
|
13
|
-
= stylesheet_link_tag 'tenon/tenon', '//fonts.googleapis.com/css?family=Open+Sans:400,700'
|
14
11
|
|
12
|
+
= stylesheet_link_tag 'tenon/tenon', '//fonts.googleapis.com/css?family=Open+Sans:400,700'
|
15
13
|
= javascript_include_tag 'tenon/tenon_manifest'
|
16
14
|
|
17
15
|
%body{data: { controller: params[:controller], action: params[:action] }, class: ('menu-open' if content_for?(:sidebar))}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
-# Android
|
2
|
+
-# https://developer.chrome.com/multidevice/android/installtohomescreen
|
3
|
+
-# http://updates.html5rocks.com/2014/11/Support-for-theme-color-in-Chrome-39-for-Android
|
4
|
+
%meta{ :content => color, :name => 'theme-color' }
|
5
|
+
%meta{ :content => 'yes', :name => 'mobile-web-app-capable' }
|
6
|
+
%link{ :rel => 'icon', :sizes => '192x192', :href => '/assets/tenon/icon-192x192.png' }
|
7
|
+
%link{ :rel => 'manifest', :href => '/assets/javascripts/manifest.json' }
|
8
|
+
|
9
|
+
-# iOS
|
10
|
+
-# https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html
|
11
|
+
%link{ :rel => 'apple-touch-icon', :sizes => '57x57', :href => '/assets/tenon/icon-57x57.png' }
|
12
|
+
%link{ :rel => 'apple-touch-icon', :sizes => '72x72', :href => '/assets/tenon/icon-72x72.png' }
|
13
|
+
%link{ :rel => 'apple-touch-icon', :sizes => '114x114', :href => '/assets/tenon/icon-114x114.png' }
|
14
|
+
%link{ :rel => 'apple-touch-icon', :sizes => '144x144', :href => '/assets/tenon/icon-144x144.png' }
|
15
|
+
%meta{ :content => 'yes', :name => 'apple-mobile-web-app-capable' }
|
16
|
+
%meta{ :content => 'default', :name => 'apple-mobile-web-app-status-bar-style' }
|
17
|
+
|
18
|
+
-# Windows
|
19
|
+
-# http://msdn.microsoft.com/en-us/library/ie/gg491732(v=vs.85).aspx
|
20
|
+
-# http://blogs.msdn.com/b/ie/archive/2012/06/08/high-quality-visuals-for-pinned-sites-in-windows-8.aspx
|
21
|
+
%meta{ :content => 'Tenon', :name => 'application-name' }
|
22
|
+
%meta{ :content => 'Tenon', :name => 'msapplication-tooltip' }
|
23
|
+
%meta{ :content => '/tenon', :name => 'msapplication-starturl' }
|
24
|
+
%meta{ :content => color, :name => 'msapplication-navbutton-color' }
|
25
|
+
%meta{ :content => color, :name => 'msapplication-TileColor' }
|
26
|
+
%meta{ :content => '/assets/tenon/icon-144x144.png', :name => 'msapplication-TileImage' }
|
@@ -18,6 +18,10 @@ Tenon.configure do |config|
|
|
18
18
|
}
|
19
19
|
}
|
20
20
|
|
21
|
+
# Set platform hints color(s)
|
22
|
+
config.client_color = '#9c0f17'
|
23
|
+
config.primary_color = '#df222A'
|
24
|
+
|
21
25
|
# Set the default after_update and after_create path
|
22
26
|
# :edit or :index
|
23
27
|
config.after_update_path = :edit
|
data/lib/tenon/version.rb
CHANGED
data/lib/tenon.rb
CHANGED
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.51
|
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-12-
|
11
|
+
date: 2014-12-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: better_errors
|
@@ -889,6 +889,14 @@ files:
|
|
889
889
|
- README.rdoc
|
890
890
|
- Rakefile
|
891
891
|
- app/assets/images/tenon/client-logo.png
|
892
|
+
- app/assets/images/tenon/icon-114x114.png
|
893
|
+
- app/assets/images/tenon/icon-144x144.png
|
894
|
+
- app/assets/images/tenon/icon-192x192.png
|
895
|
+
- app/assets/images/tenon/icon-36x36.png
|
896
|
+
- app/assets/images/tenon/icon-48x48.png
|
897
|
+
- app/assets/images/tenon/icon-57x57.png
|
898
|
+
- app/assets/images/tenon/icon-72x72.png
|
899
|
+
- app/assets/images/tenon/icon-96x96.png
|
892
900
|
- app/assets/images/tenon/icons/delete.png
|
893
901
|
- app/assets/images/tenon/icons/edit.png
|
894
902
|
- app/assets/images/tenon/icons/thumbdown.png
|
@@ -990,6 +998,7 @@ files:
|
|
990
998
|
- app/assets/javascripts/tenon/features/tenon_content/stretch_to_fill.js.coffee
|
991
999
|
- app/assets/javascripts/tenon/features/tenon_content/wrapped_sizing.js.coffee
|
992
1000
|
- app/assets/javascripts/tenon/features/video_feeds.js.coffee
|
1001
|
+
- app/assets/javascripts/tenon/manifest.json
|
993
1002
|
- app/assets/javascripts/tenon/medium_customizations.js
|
994
1003
|
- app/assets/javascripts/tenon/templates/assets/asset_field.jst.eco
|
995
1004
|
- app/assets/javascripts/tenon/templates/assets/asset_progress.jst.eco
|
@@ -1097,6 +1106,7 @@ files:
|
|
1097
1106
|
- app/helpers/tenon/i18n_helper.rb
|
1098
1107
|
- app/helpers/tenon/item_version_helper.rb
|
1099
1108
|
- app/helpers/tenon/nav_helper.rb
|
1109
|
+
- app/helpers/tenon/platform_hints_helper.rb
|
1100
1110
|
- app/helpers/tenon/tenon_content_helper.rb
|
1101
1111
|
- app/helpers/tenon/tenon_helper.rb
|
1102
1112
|
- app/helpers/tenon/tree_helper.rb
|
@@ -1231,6 +1241,7 @@ files:
|
|
1231
1241
|
- app/views/tenon/shared/_i18n_language_nav.html.haml
|
1232
1242
|
- app/views/tenon/shared/_main_nav.html.haml
|
1233
1243
|
- app/views/tenon/shared/_pagination.json.jbuilder
|
1244
|
+
- app/views/tenon/shared/_platform_hints.html.haml
|
1234
1245
|
- app/views/tenon/shared/_posts_nav.html.haml
|
1235
1246
|
- app/views/tenon/shared/_seo_fields.html.haml
|
1236
1247
|
- app/views/tenon/shared/_util_nav.html.haml
|
@@ -1491,7 +1502,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1491
1502
|
version: '0'
|
1492
1503
|
requirements: []
|
1493
1504
|
rubyforge_project:
|
1494
|
-
rubygems_version: 2.
|
1505
|
+
rubygems_version: 2.4.5
|
1495
1506
|
signing_key:
|
1496
1507
|
specification_version: 4
|
1497
1508
|
summary: A highly flexible mountable Rails CMS built for rapid application development.
|