express_translate 1.0.12 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -31,7 +31,7 @@ Login with demo account:
31
31
  ## Installation
32
32
  ### 1. Gemfile
33
33
  ```bash
34
- gem 'express_translate', '~> 1.0.12'
34
+ gem 'express_translate', '~> 1.0.13'
35
35
  ```
36
36
 
37
37
  ### 2. Setup
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.12
1
+ 1.0.13
@@ -29,9 +29,22 @@ function showInfo() {
29
29
  $(".username_show").html(getRlangCookie("username"));
30
30
  $(".logout").click(function(event) {
31
31
  event.preventDefault();
32
- setRlangCookie("token", "", -1);
33
- setRlangCookie("username", "", -1);
34
- window.location = "/express_translate";
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
 
@@ -728,6 +728,7 @@ body#express_translate {
728
728
  select {
729
729
  float:left;
730
730
  width:350px;
731
+ display:none;
731
732
  }
732
733
  .wSelect-selected{
733
734
  height:26px;
@@ -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>
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "express_translate"
8
- s.version = "1.0.12"
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.12
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: -3008604440187161714
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
Binary file