Please set focus to "username" when page loads
Please set focus to "username" when page loads
It would be nice to save a clickstroke and not have to select the username field when first loading the NLS login page. Would it be possible to have the username field automatically selected for focus when the page loads?
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Please set focus to "username" when page loads
Change /var/www/html/nagioslogserver/application/views/auth/login.php line 26 from:
to
and I'll put in a feature request to make this permanent.
Code: Select all
<input type="text" name="username" value="<?php echo $username; ?>" placeholder="<?php echo _('Username'); ?>"><br/>
Code: Select all
<input type="text" name="username" value="<?php echo $username; ?>" placeholder="<?php echo _('Username'); ?>" autofocus><br/>
Former Nagios employee
Re: Please set focus to "username" when page loads
Oh, like I'm going to add one word to a piece of HTML to solve my own problems. Inconceivable!
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Please set focus to "username" when page loads
Shall I do it in Javascript? Or perhaps a nice Flash applet that will move your cursor to the field and click for you?
Former Nagios employee
Re: Please set focus to "username" when page loads
I expect an HTML5 app on my mobile phone that connects to my desktop via gotomypc.com, scripts a telnet session to log me into our NLS server, and does the work for me by exposing the disk to the appropriate cosmic rays needed to change the orientation of the correct dipoles.
Oh, and please, God, close this thread.
Oh, and please, God, close this thread.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
Re: Please set focus to "username" when page loads
Pointing out this will be in the 2015R1.1 release 
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.