express_translate 1.0.12 → 1.0.13
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.
- data/README.md +1 -1
- data/VERSION +1 -1
- data/app/assets/images/express_translate/favicon.ico +0 -0
- data/app/assets/javascript/express_translate/base.js +16 -3
- data/app/assets/stylesheets/express_translate/express_translate.css.scss +1 -0
- data/app/views/layouts/express_translate/login.html.erb +1 -0
- data/app/views/layouts/express_translate/translate.html.erb +4 -0
- data/express_translate.gemspec +2 -5
- metadata +3 -6
- data/app/.DS_Store +0 -0
- data/app/assets/.DS_Store +0 -0
- data/app/assets/images/.DS_Store +0 -0
- data/app/assets/images/express_translate/.DS_Store +0 -0
data/README.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.13
|
|
Binary file
|
|
@@ -29,9 +29,22 @@ function showInfo() {
|
|
|
29
29
|
$(".username_show").html(getRlangCookie("username"));
|
|
30
30
|
$(".logout").click(function(event) {
|
|
31
31
|
event.preventDefault();
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
$(".logout_dialog").dialog({
|
|
33
|
+
resizable: false,
|
|
34
|
+
height:140,
|
|
35
|
+
modal: true,
|
|
36
|
+
buttons: {
|
|
37
|
+
Yes: function() {
|
|
38
|
+
$(this).dialog("close");
|
|
39
|
+
setRlangCookie("token", "", -1);
|
|
40
|
+
setRlangCookie("username", "", -1);
|
|
41
|
+
window.location = "/express_translate";
|
|
42
|
+
},
|
|
43
|
+
No: function() {
|
|
44
|
+
$(this).dialog("close");
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
})
|
|
35
48
|
});
|
|
36
49
|
}
|
|
37
50
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
4
|
<title>Express Translate | Login</title>
|
|
5
|
+
<link href="/assets/express_translate/favicon.ico" type="image/x-icon" rel="icon">
|
|
5
6
|
<%= stylesheet_link_tag "express_translate/application", :media => "all" %>
|
|
6
7
|
<%= javascript_include_tag "express_translate/application" %>
|
|
7
8
|
<%= csrf_meta_tags %>
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
4
|
<title>Express Translate</title>
|
|
5
|
+
<link href="/assets/express_translate/favicon.ico" type="image/x-icon" rel="icon">
|
|
5
6
|
<%= stylesheet_link_tag "express_translate/application", :media => "all" %>
|
|
6
7
|
<%= javascript_include_tag "express_translate/application" %>
|
|
7
8
|
<%= csrf_meta_tags %>
|
|
@@ -12,6 +13,9 @@
|
|
|
12
13
|
<div class="header">
|
|
13
14
|
<span class="username_show">Rubify</span>
|
|
14
15
|
<a class="logout" href="#"></a>
|
|
16
|
+
<div class="logout_dialog" style="display: none">
|
|
17
|
+
<h4>Are you sure you want to logout?</h4>
|
|
18
|
+
</div>
|
|
15
19
|
<a class="back" href="/express_translate"></a>
|
|
16
20
|
<a class="add" href="#add"></a>
|
|
17
21
|
<a class="file" href="#"></a>
|
data/express_translate.gemspec
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "express_translate"
|
|
8
|
-
s.version = "1.0.
|
|
8
|
+
s.version = "1.0.13"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Karl"]
|
|
@@ -28,15 +28,12 @@ Gem::Specification.new do |s|
|
|
|
28
28
|
"README.rdoc",
|
|
29
29
|
"Rakefile",
|
|
30
30
|
"VERSION",
|
|
31
|
-
"app/.DS_Store",
|
|
32
|
-
"app/assets/.DS_Store",
|
|
33
|
-
"app/assets/images/.DS_Store",
|
|
34
|
-
"app/assets/images/express_translate/.DS_Store",
|
|
35
31
|
"app/assets/images/express_translate/add.png",
|
|
36
32
|
"app/assets/images/express_translate/back.png",
|
|
37
33
|
"app/assets/images/express_translate/blur.svg",
|
|
38
34
|
"app/assets/images/express_translate/close.png",
|
|
39
35
|
"app/assets/images/express_translate/embed.png",
|
|
36
|
+
"app/assets/images/express_translate/favicon.ico",
|
|
40
37
|
"app/assets/images/express_translate/file.png",
|
|
41
38
|
"app/assets/images/express_translate/flags/Chad.png",
|
|
42
39
|
"app/assets/images/express_translate/flags/ar.png",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: express_translate
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.13
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -190,15 +190,12 @@ files:
|
|
|
190
190
|
- README.rdoc
|
|
191
191
|
- Rakefile
|
|
192
192
|
- VERSION
|
|
193
|
-
- app/.DS_Store
|
|
194
|
-
- app/assets/.DS_Store
|
|
195
|
-
- app/assets/images/.DS_Store
|
|
196
|
-
- app/assets/images/express_translate/.DS_Store
|
|
197
193
|
- app/assets/images/express_translate/add.png
|
|
198
194
|
- app/assets/images/express_translate/back.png
|
|
199
195
|
- app/assets/images/express_translate/blur.svg
|
|
200
196
|
- app/assets/images/express_translate/close.png
|
|
201
197
|
- app/assets/images/express_translate/embed.png
|
|
198
|
+
- app/assets/images/express_translate/favicon.ico
|
|
202
199
|
- app/assets/images/express_translate/file.png
|
|
203
200
|
- app/assets/images/express_translate/flags/Chad.png
|
|
204
201
|
- app/assets/images/express_translate/flags/ar.png
|
|
@@ -410,7 +407,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
410
407
|
version: '0'
|
|
411
408
|
segments:
|
|
412
409
|
- 0
|
|
413
|
-
hash: -
|
|
410
|
+
hash: -464025437284119620
|
|
414
411
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
415
412
|
none: false
|
|
416
413
|
requirements:
|
data/app/.DS_Store
DELETED
|
Binary file
|
data/app/assets/.DS_Store
DELETED
|
Binary file
|
data/app/assets/images/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|