stop_ie 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3355675baca0231a62dd55b45c259f7bd226270a
|
4
|
+
data.tar.gz: 1e26e08fa7a86b301d7c2bb89d64994c6e812ea9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e5e0db21d46dd9db8578e4a12952527bd8c457ff9e87caefe439289cb00c30eb136554d785daa38d4a506c0fa1b3c5dc3774ba7b71b0e12803d2c84fd8e0590
|
7
|
+
data.tar.gz: e3f1e888b7b163cea42b2e3142ebe36f477b110ccdebf9f7b26af4443fc930c2ed5676aa7e6150bd761da5ba7c8644fb2c7b48d6b97f9c899faf816d1b202b0b
|
data/README.rdoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= StopIe
|
2
2
|
|
3
|
-
Stop usage Internet Explorer version
|
3
|
+
Stop usage Internet Explorer version 8 and less!
|
4
4
|
|
5
5
|
== Usage
|
6
6
|
|
@@ -10,7 +10,7 @@ Gemfile:
|
|
10
10
|
|
11
11
|
to <head> layout/application:
|
12
12
|
|
13
|
-
<!--[if lte IE
|
13
|
+
<!--[if lte IE 8]>
|
14
14
|
<%= stylesheet_link_tag 'stop_ie/application' %>
|
15
15
|
<%= javascript_include_tag 'stop_ie/application' %>
|
16
16
|
<![endif]-->
|
File without changes
|
@@ -6,12 +6,14 @@ $(function() {
|
|
6
6
|
"<a href='#' class='cornerx' alt='Закрыть' title='Закрыть'></a>" +
|
7
7
|
"<div class='browsers'>" +
|
8
8
|
"<p><b>ВНИМАНИЕ!</b> Сайт может выглядеть некорректно.<br/> Причина этого – ваш <b>устаревший и небезопасный браузер</b>.<br/> Учтите, что это может стать причиной того, что ваша система может быть подвергнута атакам вредноностного кода<br/><b>Пожалуйста, обновите ваш браузер!</b></p>" +
|
9
|
-
"<
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
9
|
+
"<div class='links'>" +
|
10
|
+
"<a href='http://www.mozilla.org/ru/firefox/fx/' class='firefox'>FireFox</a>" +
|
11
|
+
"<a href='http://www.opera.com/browser/' class='opera'>Opera</a>" +
|
12
|
+
"<a href='http://www.apple.com/ru/safari/download/' class='safari'>Safari</a>" +
|
13
|
+
"<a href='http://www.google.com/chrome?hl=ru' class='chrome'>Google Chrome</a>" +
|
14
|
+
"<a href='http://windows.microsoft.com/ru-RU/internet-explorer/downloads/ie' class='ie9'>Internet Explorer 9</a>" +
|
15
|
+
"</div>" +
|
16
|
+
"<div class='summary'>Если Вы не уверены, что сможете самостоятельно обновить интернет-браузер, обратитесь в службу IT-поддержки</div>" +
|
15
17
|
"</div>" +
|
16
18
|
"</div>");
|
17
19
|
$("#ie6stop .cornerx").bind("click", function() {
|
@@ -1,11 +1,10 @@
|
|
1
1
|
/* Welcome to Compass. Use this file to alert IE use users.
|
2
2
|
* Import this file using the following HTML or equivalent:
|
3
|
-
* <!--[if lte IE
|
3
|
+
* <!--[if lte IE 8]>
|
4
4
|
* <%= stylesheet_link_tag "stop_ie/application" %>
|
5
5
|
* <%= javascript_include_tag "stop_ie/application" %>
|
6
6
|
* <![endif]-->
|
7
7
|
*/
|
8
|
-
|
9
8
|
#ie6stop
|
10
9
|
background-color: #feefda
|
11
10
|
border-bottom: 1px solid #f7941d
|
@@ -33,7 +32,7 @@
|
|
33
32
|
b
|
34
33
|
font-weight: bold
|
35
34
|
.cornerx
|
36
|
-
background:
|
35
|
+
background: image-url("stop_ie/cornerx.png") no-repeat
|
37
36
|
display: block
|
38
37
|
float: right
|
39
38
|
height: 16px
|
@@ -46,13 +45,13 @@
|
|
46
45
|
margin: 0 auto
|
47
46
|
width: 900px
|
48
47
|
p
|
49
|
-
background:
|
48
|
+
background: image-url("stop_ie/warning.png") no-repeat left
|
50
49
|
float: left
|
51
50
|
font-family: Arial, Verdana, sans-serif
|
52
51
|
margin: 10px 10px 0 0
|
53
52
|
padding-left: 70px
|
54
|
-
width:
|
55
|
-
.firefox, .safari, .chrome, .
|
53
|
+
width: 580px
|
54
|
+
.firefox, .safari, .chrome, .ie9, .opera
|
56
55
|
display: block
|
57
56
|
float: left
|
58
57
|
height: 73px
|
@@ -60,16 +59,19 @@
|
|
60
59
|
overflow: hidden
|
61
60
|
text-indent: -9999em
|
62
61
|
width: 49px
|
62
|
+
.links
|
63
|
+
display: block
|
64
|
+
float: right
|
63
65
|
.firefox
|
64
|
-
background:
|
66
|
+
background: image-url("stop_ie/firefox.png")
|
65
67
|
.safari
|
66
|
-
background:
|
68
|
+
background: image-url("stop_ie/safari.png")
|
67
69
|
.chrome
|
68
|
-
background:
|
69
|
-
.
|
70
|
-
background:
|
70
|
+
background: image-url("stop_ie/chrome.png")
|
71
|
+
.ie9
|
72
|
+
background: image-url("stop_ie/ie9.png")
|
71
73
|
.opera
|
72
|
-
background:
|
74
|
+
background: image-url("stop_ie/opera.png") no-repeat
|
73
75
|
height: 49px
|
74
76
|
.browsers div
|
75
77
|
font-family: Arial, Verdana, sans-serif
|
data/lib/stop_ie/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stop_ie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evgeny Lapin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jquery-rails
|
@@ -66,14 +66,14 @@ files:
|
|
66
66
|
- app/assets/images/stop_ie/cornerx.png
|
67
67
|
- app/assets/images/stop_ie/fakeimg.gif
|
68
68
|
- app/assets/images/stop_ie/firefox.png
|
69
|
-
- app/assets/images/stop_ie/
|
69
|
+
- app/assets/images/stop_ie/ie9.png
|
70
70
|
- app/assets/images/stop_ie/opera.png
|
71
71
|
- app/assets/images/stop_ie/safari.png
|
72
72
|
- app/assets/images/stop_ie/warning.png
|
73
73
|
- app/assets/javascripts/stop_ie/application.js
|
74
74
|
- app/assets/javascripts/stop_ie/stop_ie.js
|
75
75
|
- app/assets/stylesheets/stop_ie/application.css
|
76
|
-
- app/assets/stylesheets/stop_ie/stop_ie.sass
|
76
|
+
- app/assets/stylesheets/stop_ie/stop_ie.css.sass
|
77
77
|
- app/controllers/stop_ie/application_controller.rb
|
78
78
|
- app/helpers/stop_ie/application_helper.rb
|
79
79
|
- app/views/layouts/stop_ie/application.html.erb
|