carte-server 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config.json +2 -1
- data/lib/carte/client.jade +53 -0
- data/lib/carte/shared/default.json +12 -1
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b09ab46ccb5644a9d121ecd4a18703224078d53
|
4
|
+
data.tar.gz: d742663eafe59d80f06bff8e6b60269eb4166ed4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1a38c67501d8482eeb2fe5cb6d102b82b9517ddf8a453909ebcd625a538bc60487a9731fec1faf3eed7e194ed67978a59e305cabb1e2b0d7c79eb0283df713d
|
7
|
+
data.tar.gz: e019aee4fbfce8950e9036df9c22c84db94d329311ee3469623e9124581e98c04ed3460c868766d3b991075f8e53ca8560641fefe726828d424be5554bbaa91c
|
data/config.json
CHANGED
@@ -19,5 +19,6 @@
|
|
19
19
|
"apple_touch_icon_114_path": "images/apple-touch-icon-114x114.png",
|
20
20
|
"apple_touch_icon_120_path": "images/apple-touch-icon-120x120.png",
|
21
21
|
"apple_touch_icon_144_path": "images/apple-touch-icon-144x144.png",
|
22
|
-
"apple_touch_icon_152_path": "images/apple-touch-icon-152x152.png"
|
22
|
+
"apple_touch_icon_152_path": "images/apple-touch-icon-152x152.png",
|
23
|
+
"enable_apple_touch_startup_image": true
|
23
24
|
}
|
data/lib/carte/client.jade
CHANGED
@@ -12,6 +12,59 @@ html(manifest="app.manifest")
|
|
12
12
|
link(href='/apple-touch-icon.png',rel='apple-touch-icon')
|
13
13
|
for size in ['', '57', '72', '76', '114', '120', '144', '152']
|
14
14
|
link(href=config['apple_touch_icon_' + size + '_path'],rel='apple-touch-icon',sizes=size + 'x' + size)
|
15
|
+
|
16
|
+
if config.enable_apple_touch_startup_image
|
17
|
+
link(
|
18
|
+
href=config["apple_touch_startup_image_1536x2008_path"],
|
19
|
+
media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)",
|
20
|
+
rel="apple-touch-startup-image"
|
21
|
+
)
|
22
|
+
link(
|
23
|
+
href=config["apple_touch_startup_image_1496x2048_path"],
|
24
|
+
media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)",
|
25
|
+
rel="apple-touch-startup-image"
|
26
|
+
)
|
27
|
+
link(
|
28
|
+
href=config["apple_touch_startup_image_768x1004_path"],
|
29
|
+
media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 1) and (orientation: portrait)",
|
30
|
+
rel="apple-touch-startup-image"
|
31
|
+
)
|
32
|
+
link(
|
33
|
+
href=config["apple_touch_startup_image_748x1024_path"],
|
34
|
+
media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 1) and (orientation: landscape)",
|
35
|
+
rel="apple-touch-startup-image"
|
36
|
+
)
|
37
|
+
link(
|
38
|
+
href=config["apple_touch_startup_image_1242x2148_path"],
|
39
|
+
media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)",
|
40
|
+
rel="apple-touch-startup-image"
|
41
|
+
)
|
42
|
+
link(
|
43
|
+
href=config["apple_touch_startup_image_1182x2208_path"],
|
44
|
+
media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)",
|
45
|
+
rel="apple-touch-startup-image"
|
46
|
+
)
|
47
|
+
link(
|
48
|
+
href=config["apple_touch_startup_image_750x1294_path"],
|
49
|
+
media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)",
|
50
|
+
rel="apple-touch-startup-image"
|
51
|
+
)
|
52
|
+
link(
|
53
|
+
href=config["apple_touch_startup_image_640x1096_path"],
|
54
|
+
media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)",
|
55
|
+
rel="apple-touch-startup-image"
|
56
|
+
)
|
57
|
+
link(
|
58
|
+
href=config["apple_touch_startup_image_640x920_path"],
|
59
|
+
media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)",
|
60
|
+
rel="apple-touch-startup-image"
|
61
|
+
)
|
62
|
+
link(
|
63
|
+
href=config["apple_touch_startup_image_320x460_path"],
|
64
|
+
media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)",
|
65
|
+
rel="apple-touch-startup-image"
|
66
|
+
)
|
67
|
+
|
15
68
|
style.
|
16
69
|
a {
|
17
70
|
color: #{config.link_color};
|
@@ -24,5 +24,16 @@
|
|
24
24
|
"apple_touch_icon_114_path": "images/apple-touch-icon-114x114.png",
|
25
25
|
"apple_touch_icon_120_path": "images/apple-touch-icon-120x120.png",
|
26
26
|
"apple_touch_icon_144_path": "images/apple-touch-icon-144x144.png",
|
27
|
-
"apple_touch_icon_152_path": "images/apple-touch-icon-152x152.png"
|
27
|
+
"apple_touch_icon_152_path": "images/apple-touch-icon-152x152.png",
|
28
|
+
"enable_apple_touch_startup_image": true,
|
29
|
+
"apple_touch_startup_image_1536x2008_path": "images/apple-touch-startup-image-1536x2008.png",
|
30
|
+
"apple_touch_startup_image_1496x2048_path": "images/apple-touch-startup-image-1496x2048.png",
|
31
|
+
"apple_touch_startup_image_768x1004_path": "images/apple-touch-startup-image-768x1004.png",
|
32
|
+
"apple_touch_startup_image_748x1024_path": "images/apple-touch-startup-image-748x1024.png",
|
33
|
+
"apple_touch_startup_image_1242x2148_path": "images/apple-touch-startup-image-1242x2148.png",
|
34
|
+
"apple_touch_startup_image_1182x2208_path": "images/apple-touch-startup-image-1182x2208.png",
|
35
|
+
"apple_touch_startup_image_750x1294_path": "images/apple-touch-startup-image-750x1294.png",
|
36
|
+
"apple_touch_startup_image_640x1096_path": "images/apple-touch-startup-image-640x1096.png",
|
37
|
+
"apple_touch_startup_image_640x920_path": "images/apple-touch-startup-image-640x920.png",
|
38
|
+
"apple_touch_startup_image_320x460_path": "images/apple-touch-startup-image-320x460.png"
|
28
39
|
}
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carte-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tily
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|