Browse Source

fix bug in authentication_complete callback. update screenshots.

sisyphus
Dustin Falgout 9 years ago
parent
commit
10f365fac4
  1. 2
      themes/antergos/README.md
  2. BIN
      themes/antergos/img/screenshot1.jpg
  3. BIN
      themes/antergos/img/screenshot2.jpg
  4. BIN
      themes/antergos/img/screenshot3.jpg
  5. 2
      themes/antergos/index.theme
  6. 3
      themes/antergos/js/greeter-compiled.js
  7. 2
      themes/antergos/js/greeter-compiled.js.map
  8. 3
      themes/antergos/js/greeter.js

2
themes/antergos/README.md

@ -8,7 +8,9 @@ This is the default theme included with [lightdm-webkit2-greeter](http://github.
### Screenshots ### Screenshots
<img src="img/screenshot1.jpg" alt="screenshot1" /> <img src="img/screenshot1.jpg" alt="screenshot1" />
<hr/>
<img src="img/screenshot2.jpg" alt="screenshot2" /> <img src="img/screenshot2.jpg" alt="screenshot2" />
<hr/>
<img src="img/screenshot3.jpg" alt="screenshot3" /> <img src="img/screenshot3.jpg" alt="screenshot3" />
### Prerequisites ### Prerequisites

BIN
themes/antergos/img/screenshot1.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

After

Width:  |  Height:  |  Size: 66 KiB

BIN
themes/antergos/img/screenshot2.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 39 KiB

BIN
themes/antergos/img/screenshot3.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 59 KiB

2
themes/antergos/index.theme

@ -1,6 +1,6 @@
[theme] [theme]
name=Antergos name=Antergos
version=2.3.0 version=2.3.1
description=Antergos Theme description=Antergos Theme
engine=lightdm-webkit2-greeter engine=lightdm-webkit2-greeter
url=index.html url=index.html

3
themes/antergos/js/greeter-compiled.js

@ -611,7 +611,7 @@ var AntergosTheme = (function () {
key: 'authentication_complete', key: 'authentication_complete',
value: function authentication_complete() { value: function authentication_complete() {
var selected_session = $('.selected').attr('data-session-id'), var selected_session = $('.selected').attr('data-session-id'),
err_msg = this.translations.auth_failed[this.lang]; err_msg = _self.translations.auth_failed[_self.lang];
_self.auth_pending = false; _self.auth_pending = false;
_self.cache_set(selected_session, 'user', lightdm.authentication_user, 'session'); _self.cache_set(selected_session, 'user', lightdm.authentication_user, 'session');
@ -623,7 +623,6 @@ var AntergosTheme = (function () {
lightdm.login(lightdm.authentication_user, selected_session); lightdm.login(lightdm.authentication_user, selected_session);
} else { } else {
// The user did not enter the correct password. Show error message. // The user did not enter the correct password. Show error message.
$('#statusArea').show(); $('#statusArea').show();
} }
} }

2
themes/antergos/js/greeter-compiled.js.map

File diff suppressed because one or more lines are too long

3
themes/antergos/js/greeter.js

@ -407,7 +407,7 @@ class AntergosTheme {
*/ */
authentication_complete() { authentication_complete() {
var selected_session = $( '.selected' ).attr( 'data-session-id' ), var selected_session = $( '.selected' ).attr( 'data-session-id' ),
err_msg = this.translations.auth_failed[ this.lang ]; err_msg = _self.translations.auth_failed[ _self.lang ];
_self.auth_pending = false; _self.auth_pending = false;
_self.cache_set( selected_session, 'user', lightdm.authentication_user, 'session' ); _self.cache_set( selected_session, 'user', lightdm.authentication_user, 'session' );
@ -419,7 +419,6 @@ class AntergosTheme {
lightdm.login( lightdm.authentication_user, selected_session ); lightdm.login( lightdm.authentication_user, selected_session );
} else { } else {
// The user did not enter the correct password. Show error message. // The user did not enter the correct password. Show error message.
$( '#statusArea' ).show(); $( '#statusArea' ).show();
} }
} }

Loading…
Cancel
Save