repres-hyper_text 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/repres/hyper_text/application.js +1 -1
- data/app/assets/stylesheets/repres/hyper_text/application.css +0 -1
- data/app/views/layouts/repres/hyper_text/application.html.erb +3 -2
- data/app/views/repres/hyper_text/_icon.html.erb +56 -2
- data/app/views/repres/hyper_text/_meta.html.erb +29 -1
- data/app/views/repres/hyper_text/_script.html.erb +1 -1
- data/app/views/repres/hyper_text/_style.html.erb +2 -2
- data/lib/repres/hyper_text/version.rb +1 -1
- 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: 31b80f9223d9c29a2db2ef6a5a9e7608736b8c01
|
4
|
+
data.tar.gz: 557298e09e7b1f7e3ac4ee799f890ed8c74bc897
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d51f41fba50a0a0bb4a7b0a5b3d63f40bb37bed3eaa243ebc3c796f545651ffecb7d2d550ed25d2d61faf63b7ccc664b4954697fd7baa06adeb8b74a4272cc0
|
7
|
+
data.tar.gz: c7237e92003f62f24fb462ba922bd00447ccd9d8f94b0a3b6653be7b109aff4a67c0fe5d0c7a76d36532bcda501bf51f8b40d56781b10462b3c3cdb734a488c4
|
@@ -1,14 +1,15 @@
|
|
1
1
|
<!DOCTYPE html>
|
2
2
|
<html>
|
3
3
|
<head>
|
4
|
-
<title>
|
4
|
+
<title>Repres HyperText</title>
|
5
5
|
<%= stylesheet_link_tag "bootstrap/application", media: "all" %>
|
6
|
-
<%= javascript_include_tag "bootstrap/application" %>
|
7
6
|
<%= csrf_meta_tags %>
|
8
7
|
</head>
|
9
8
|
<body>
|
10
9
|
|
11
10
|
<%= yield %>
|
12
11
|
|
12
|
+
<%= javascript_include_tag 'bootstrap/application' %>
|
13
|
+
|
13
14
|
</body>
|
14
15
|
</html>
|
@@ -1,3 +1,5 @@
|
|
1
|
+
<link rel="icon" href="/favicon.ico" type="image/x-icon">
|
2
|
+
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
1
3
|
<link rel="apple-touch-icon" sizes="57x57" href="/favicons/apple-touch-icon-57x57.png">
|
2
4
|
<link rel="apple-touch-icon" sizes="60x60" href="/favicons/apple-touch-icon-60x60.png">
|
3
5
|
<link rel="apple-touch-icon" sizes="72x72" href="/favicons/apple-touch-icon-72x72.png">
|
@@ -17,5 +19,57 @@
|
|
17
19
|
<meta name="msapplication-TileColor" content="<%= defined?(options) ? options[:microsoft_application_title_color]||'#da532c' : '#da532c' %>">
|
18
20
|
<meta name="msapplication-TileImage" content="/favicons/mstile-144x144.png">
|
19
21
|
<meta name="theme-color" content="<%= defined?(options) ? options[:theme_color]||'#ffffff' : '#ffffff' %>">
|
20
|
-
|
21
|
-
|
22
|
+
|
23
|
+
<%
|
24
|
+
=begin
|
25
|
+
%>
|
26
|
+
|
27
|
+
<!-- https://github.com/audreyr/favicon-cheat-sheet -->
|
28
|
+
<!-- http://www.jonathantneal.com/blog/understand-the-favicon/ -->
|
29
|
+
<!-- http://realfavicongenerator.net/blog/android-chrome-and-its-favicon/ -->
|
30
|
+
|
31
|
+
<%= favicon_link_tag 'icon/icon.ico' %>
|
32
|
+
<%= favicon_link_tag 'icon/icon.ico', rel: 'icon' %>
|
33
|
+
<%= favicon_link_tag 'icon/icon.ico', rel: 'icon', type: 'image/vnd.microsoft.icon' %>
|
34
|
+
<%= favicon_link_tag 'icon/icon.png', rel: 'icon', type: 'image/png' %>
|
35
|
+
|
36
|
+
<!-- https://msdn.microsoft.com/en-us/library/gg491740%28v=vs.85%29.aspx -->
|
37
|
+
<!--
|
38
|
+
16x16: Address bar, Jump List tasks for Pinned site, Thumbnail Toolbar buttons for Pinned site, Overlay icons for Pinned site)
|
39
|
+
24x24: Pinned site browser UI
|
40
|
+
32x32: New Tab page, Taskbar button
|
41
|
+
64x64: Increased resolution of display devices and larger icons on the desktop
|
42
|
+
-->
|
43
|
+
<% [ 16, 24, 32, 64 ].each do |size| %>
|
44
|
+
<%= favicon_link_tag "icon/icon-#{size}x#{size}.ico", sizes: "#{size}x#{size}" %>
|
45
|
+
<% end %>
|
46
|
+
|
47
|
+
<!-- https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html -->
|
48
|
+
<!--
|
49
|
+
180x180: iPhone 6s Plus and iPhone 6 Plus (@3x)
|
50
|
+
120x120: iPhone 6s, iPhone 6, and iPhone 5 (@2x)
|
51
|
+
120x120: iPhone 4s (@2x)
|
52
|
+
152x152: iPad and iPad mini (@2x)
|
53
|
+
76x76: iPad 2 and iPad mini (@1x)
|
54
|
+
167x167: iPad Pro (@2x)
|
55
|
+
Deprecated sizes: [ 57, 60, 72, 76, 114, 120, 144, 152, 180 ]
|
56
|
+
-->
|
57
|
+
<% [ 76, 120, 152, 167, 180 ].each do |size| %>
|
58
|
+
<%= favicon_link_tag "icon/apple-touch-icon-#{size}x#{size}.png", rel: 'apple-touch-icon', type: 'image/png', sizes: "#{size}x#{size}" %>
|
59
|
+
<% end %>
|
60
|
+
|
61
|
+
<!-- https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html -->
|
62
|
+
<%= favicon_link_tag "icon/apple-touch-icon-60x60.png", rel: 'apple-touch-icon', type: 'image/png' %>
|
63
|
+
<%= favicon_link_tag "icon/apple-touch-startup-image-320x480.png", rel: 'apple-touch-startup-image', type: 'image/png' %>
|
64
|
+
|
65
|
+
<% [ 16, 32, 96, 194 ].each do |size| %>
|
66
|
+
<%= favicon_link_tag "favicons/favicon-#{size}x#{size}.png", rel: 'icon', type: 'image/png', sizes: "#{size}x#{size}" %>
|
67
|
+
<% end %>
|
68
|
+
|
69
|
+
<% [ 192 ].each do |size| %>
|
70
|
+
<%= favicon_link_tag "favicons/android-chrome-#{size}x#{size}.png", rel: 'icon', type: 'image/png', sizes: "#{size}x#{size}" %>
|
71
|
+
<% end %>
|
72
|
+
|
73
|
+
<%
|
74
|
+
=end
|
75
|
+
%>
|
@@ -1,6 +1,34 @@
|
|
1
1
|
<meta charset="UTF-8">
|
2
|
-
<meta name="format-detection" content="telephone=no">
|
3
2
|
<meta name="msapplication-tap-highlight" content="no">
|
4
3
|
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height">
|
5
4
|
<meta name="renderer" content="webkit">
|
6
5
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
6
|
+
|
7
|
+
<!-- https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html -->
|
8
|
+
<!-- <meta name="apple-mobile-web-app-capable" content="yes"> -->
|
9
|
+
<!-- <meta name="apple-mobile-web-app-status-bar-style" content="black"> -->
|
10
|
+
|
11
|
+
<!-- https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html -->
|
12
|
+
<meta name="format-detection" content="telephone=no">
|
13
|
+
|
14
|
+
<!--
|
15
|
+
https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html
|
16
|
+
-->
|
17
|
+
|
18
|
+
<!-- https://msdn.microsoft.com/library/gg491725%28v=vs.85%29.aspx -->
|
19
|
+
<!-- https://msdn.microsoft.com/library/gg491732%28v=vs.85%29.aspx -->
|
20
|
+
<!--
|
21
|
+
<meta name="application-name" content="Facebook"/>
|
22
|
+
<meta name="msapplication-tooltip" content="Start the Facebook App"/>
|
23
|
+
<meta name="msapplication-starturl" content="/"/>
|
24
|
+
<meta name="msapplication-window" content="width=800;height=600"/>
|
25
|
+
|
26
|
+
<meta name="msapplication-navbutton-color" content="#FF3300" />
|
27
|
+
<meta name="msapplication-task"
|
28
|
+
content="name=News;
|
29
|
+
action-uri=/home.php?sk=nf;
|
30
|
+
icon-uri=/images/icons/app/news.ico" />
|
31
|
+
<meta name="msapplication-task-separator" content="" />
|
32
|
+
-->
|
33
|
+
|
34
|
+
<!-- https://msdn.microsoft.com/library/dn455106%28v=vs.85%29.aspx -->
|
@@ -1,4 +1,4 @@
|
|
1
1
|
<% options = defined?(options) ? options : nil %>
|
2
2
|
|
3
3
|
<%= javascript_include_tag "//cdn.bootcss.com/modernizr/#{library_version(:modernizr, '2.8.3', options)}/modernizr.min.js" if library_enabled?(:modernizr, options) %>
|
4
|
-
<%= javascript_include_tag "//cdn.bootcss.com/jquery/#{library_version(:jquery, '2.2.
|
4
|
+
<%= javascript_include_tag "//cdn.bootcss.com/jquery/#{library_version(:jquery, '2.2.3', options)}/jquery.min.js" if library_enabled?(:jquery, options) %>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<% options = defined?(options) ? options : nil %>
|
2
2
|
|
3
|
-
<%= stylesheet_link_tag "//cdn.bootcss.com/font-awesome/#{library_version(:'font-awesome', '4.
|
3
|
+
<%= stylesheet_link_tag "//cdn.bootcss.com/font-awesome/#{library_version(:'font-awesome', '4.6.3', options)}/css/font-awesome.min.css", media: 'all' if library_enabled?(:'font-awesome', options) %>
|
4
4
|
<%= stylesheet_link_tag "//cdn.bootcss.com/Buttons/#{library_version(:buttons, '2.0.0', options)}/css/buttons.min.css", media: 'all' if library_enabled?(:buttons, options) %>
|
5
|
-
<%= stylesheet_link_tag "//cdn.bootcss.com/animate.css/#{library_version(:'animate.css', '3.5.
|
5
|
+
<%= stylesheet_link_tag "//cdn.bootcss.com/animate.css/#{library_version(:'animate.css', '3.5.2', options)}/animate.min.css", media: 'all' if library_enabled?(:'animate.css', options) %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: repres-hyper_text
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Topbit Du
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -70,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
72
|
rubyforge_project:
|
73
|
-
rubygems_version: 2.4
|
73
|
+
rubygems_version: 2.6.4
|
74
74
|
signing_key:
|
75
75
|
specification_version: 4
|
76
76
|
summary: Repres HyperText Resource Presentation Engine Repres超文本资源表现引擎
|