pixelforce_cms 0.9.9.5 → 0.9.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0be51af92abcca5271debfed2f787f8be10e545
4
- data.tar.gz: 2193be24b42d832facad7e49b5fad2b8bf630931
3
+ metadata.gz: 1da1ca2c4a98e02081f44d1e125e7b584df277f7
4
+ data.tar.gz: 9a6e946b9f1bef43ebe4eedff1e94ec5b6c86b31
5
5
  SHA512:
6
- metadata.gz: 3fd1f98f875c9fe2a634e95a6961cdb62f74590412ba6ae6ba3c9286abb27b15c3ed48e20e90f71ad0cacbd6a48c68deb4da07b50826b1dadcb8044b42b89dc1
7
- data.tar.gz: 0d20420935b4749649b21c0549314ac26c9eeced07db248addf7f82d4f42e72e90c0b01669cbc6c60f9bf8b34e7b4e84fa997967e544c964ad95a28f0ce497e4
6
+ metadata.gz: 3e3d9b289b7c7bfc49f6d7be13b32862b499ff52a8c4e8efced7e8f8b8365ee159b476719a7fe8d4cfe1ad65de234ad2d23276e34ae1bdd7e5c70df3a8fc1db8
7
+ data.tar.gz: 753990fefcb6d8e0a19975530dd12432d5562dff34dfac9393dd148e334ca6d35be73c4fdf45660f6fba1439c3f0bce8c2fb0da6ca57dad53b81795b5391bd88
@@ -1,7 +1,7 @@
1
1
  !!!
2
2
  - html_tag class: 'no-js', lang: 'en' do
3
3
  = render 'head'
4
- %body{ class: "#{ controller.controller_name }" }
4
+ %body{ class: "#{controller.controller_name} #{controller.action_name}" }
5
5
  #main
6
6
  = render 'chromeframe'
7
7
  = render 'header'
@@ -5,30 +5,40 @@
5
5
  /[if IE]
6
6
  <meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
7
7
  - if current_page?(root_url)
8
- - @title_tag = 'Free Classified Advertising Platform for Swapping Unwanted Items for Beer | Swap4Beer'
8
+ - @title_tag = 'Place Long Tagline Here | Brand'
9
9
  - else
10
- - @title_tag = 'Swap4Beer | Swapping Unwanted Items for Beer'
10
+ - @title_tag = 'Brand | Place Tagline Here'
11
11
  = display_meta_tags site: @title_tag,
12
12
  keywords: '',
13
- description: 'SWAP4BEER is a free classified ad platform for swapping your unwanted items for beer - Mates Rates Classifieds!',
13
+ description: '',
14
14
  separator: '|',
15
15
  reverse: true
16
16
 
17
17
  %meta{content: "PixelForce Systems", :name => "author"}
18
- %meta{:content => "Copyright AURA Health #{Date.today.year}. All Rights Reserved.", :name => "Copyright"}
18
+ %meta{:content => "Copyright Brand #{Date.today.year}. All Rights Reserved.", :name => "Copyright"}
19
19
 
20
- %meta#viewport{content: "width=720", name: "viewport"}
20
+ %meta{name:"viewport", content:"width=640, initial-scale=0.6"}
21
21
  :javascript
22
22
  (function(doc) {
23
- var viewport = document.getElementById('viewport');
24
- if ( navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i)) {
25
- doc.getElementById("viewport").setAttribute("content", "initial-scale=0.5");
23
+ viewport = document.querySelector("meta[name=viewport]");
24
+ if ( navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) ) {
25
+ viewport.setAttribute('content', 'width=device-width, initial-scale=0.5');
26
26
  } else if ( navigator.userAgent.match(/iPad/i) ) {
27
- doc.getElementById("viewport").setAttribute("content", "initial-scale=0.8");
27
+ viewport.setAttribute('content', 'width=device-width, initial-scale=0.8');
28
+ } else if ( navigator.userAgent.match(/Android/i) ) {
29
+ viewport.setAttribute('content', 'width=900, initial-scale=0.8');
28
30
  }
29
31
  }(document));
30
32
 
31
33
  %link{:href => "/favicon.ico", :rel => "shortcut icon"}
34
+ %link{href: "/apple-touch-icon.png", rel: "apple-touch-icon"}
35
+ %link{href: "/apple-touch-icon-57x57.png", rel: "apple-touch-icon", sizes: "57x57"}
36
+ %link{href: "/apple-touch-icon-72x72.png", rel: "apple-touch-icon", sizes: "72x72"}
37
+ %link{href: "/apple-touch-icon-76x76.png", rel: "apple-touch-icon", sizes: "76x76"}
38
+ %link{href: "/apple-touch-icon-114x114.png", rel: "apple-touch-icon", sizes: "114x114"}
39
+ %link{href: "/apple-touch-icon-120x120.png", rel: "apple-touch-icon", sizes: "120x120"}
40
+ %link{href: "/apple-touch-icon-144x144.png", rel: "apple-touch-icon", sizes: "144x144"}
41
+ %link{href: "/apple-touch-icon-152x152.png", rel: "apple-touch-icon", sizes: "152x152"}
32
42
  / %link{href: "http://fonts.googleapis.com/css?family=Open+Sans:300,400,700", rel: "stylesheet", type: "text/css"}
33
43
 
34
44
  = render 'stylesheets'
@@ -11,5 +11,5 @@
11
11
 
12
12
  *= require application/chromeframe
13
13
  *= require font-awesome
14
- *= require jquery.ui.all
14
+ *= require jquery.ui
15
15
  */
@@ -69,6 +69,7 @@ abbr[title] { border: 0; }
69
69
  .w_70 { width:70% !important; }
70
70
  .w_80 { width:80% !important; }
71
71
  .w_90 { width:90% !important; }
72
+ .w_100 { width:100% !important; }
72
73
  .w_auto { width:auto !important; }
73
74
 
74
75
  .font-mini { font-size:11px !important; }
@@ -83,28 +84,13 @@ abbr[title] { border: 0; }
83
84
 
84
85
  .text-primary { color: $blue !important; }
85
86
  .text-danger { color: $red !important; }
86
- .text-inverse { color: #fff !important; }
87
+
88
+ .text-white { color: white !important; }
87
89
  .text-black { color: black !important; }
88
90
 
89
91
  .pull-none { float: none; }
90
92
  .media > .pull-left { margin-right: $gutter*2; }
91
93
  .media > .pull-right { margin-left: $gutter*2; }
92
94
 
93
- #main {
94
- width: 100%;
95
- overflow: hidden;
96
- min-height: 900px;
97
- background: WhiteSmoke;
98
- border-bottom: 1px solid $light-gray;
99
- & > section { padding: 0 $gutter $gutter; }
100
- }
101
-
102
- .search-box {
103
- background: $blue;
104
- color: white;
105
- padding: 25px $gutter;
106
- a { color: white; }
107
- }
108
-
109
95
  @import 'style.responsive';
110
96
  @import 'layouts/*';
@@ -15,6 +15,6 @@
15
15
  //= require respond
16
16
  //= require jquery
17
17
  //= require jquery_ujs
18
- //= require jquery.ui.all
18
+ //= require jquery.ui
19
19
  //= require bootstrap
20
20
  //= require layout
@@ -1,3 +1,3 @@
1
1
  module PixelforceCms
2
- VERSION = "0.9.9.5"
2
+ VERSION = "0.9.9.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pixelforce_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9.5
4
+ version: 0.9.9.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Zhang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-22 00:00:00.000000000 Z
11
+ date: 2014-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler