mirror of
https://github.com/grocy/grocy.git
synced 2025-08-21 04:43:32 +00:00
Reorganize project part 1
This commit is contained in:
12
views/viewjs/login.js
Normal file
12
views/viewjs/login.js
Normal file
@@ -0,0 +1,12 @@
|
||||
$(function()
|
||||
{
|
||||
$('.logout-button').hide();
|
||||
|
||||
$('#username').focus();
|
||||
|
||||
if (Grocy.GetUriParam('invalid') === 'true')
|
||||
{
|
||||
$('#login-error').text('Invalid credentials, please try again.');
|
||||
$('#login-error').show();
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user