hotspotlogin 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -195,6 +195,7 @@ module HotSpotLogin
195
195
  :custom_text => HotSpotLogin.config['custom-text'],
196
196
  :custom_footer => HotSpotLogin.config['custom-footer'],
197
197
  :logoext => logoext,
198
+ :logo_link => HotSpotLogin.config['logo-link'],
198
199
  :result => result,
199
200
  :reply => params['reply'] # Reply-Message
200
201
  }
@@ -1,6 +1,6 @@
1
1
  module HotSpotLogin
2
2
 
3
- VERSION = '1.2.1'
3
+ VERSION = '1.2.2'
4
4
 
5
5
  DEFAULT_CONFIG = {
6
6
  'listen-address' => '0.0.0.0',
@@ -46,6 +46,9 @@ h2 {
46
46
  margin: 0.5em 0;
47
47
  text-align: center;
48
48
  }
49
+ #logInLogOut-container a {
50
+ margin: 0 0.4ex;
51
+ }
49
52
  #status-container {
50
53
  text-align: center;
51
54
  margin: 0 0 1em 0;
@@ -11,7 +11,11 @@
11
11
  <h1><%= custom_headline %></h1>
12
12
  <% end %>
13
13
  <% if logoext %>
14
- <div id="logo-container"><img src="/hotspotlogin/logo<%= logoext %>"/></div>
14
+ <div id="logo-container">
15
+ <% if logo_link =~ /\S/ %><a href="<%= logo_link %>" target="_blank"><% end %>
16
+ <img src="/hotspotlogin/logo<%= logoext %>"/>
17
+ <% if logo_link =~ /\S/ %></a><% end %>
18
+ </div>
15
19
  <% end %>
16
20
 
17
21
  <h2 id="headline"><%= titel %></h2>
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 2
8
- - 1
9
- version: 1.2.1
8
+ - 2
9
+ version: 1.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Guido De Rosa