Module: nagvis
Branch: master
Commit: fbb7bac32979e0ce405fc1ffd9f8894503508962
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=fbb7bac32979e0ce405fc1ffd9f8894503508962

Author: Lars Michelsen <[email protected]>
Date:   Sun Oct 18 21:25:50 2009 +0200

Some double slash fixes and added js code to focus the name field on page load; 
Thanks to WP for the nice login screen

---

 share/userfiles/templates/pages/default.login.html |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/share/userfiles/templates/pages/default.login.html 
b/share/userfiles/templates/pages/default.login.html
index a0ebf3f..4ff9bae 100644
--- a/share/userfiles/templates/pages/default.login.html
+++ b/share/userfiles/templates/pages/default.login.html
@@ -4,13 +4,13 @@
        <title>{$pageTitle}</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link rel='stylesheet' id='login-css'  href='{$stylesheet}' 
type='text/css' media='all' />
-       <link rel="shortcut icon" 
href="{$htmlBase}/frontend/nagvis-js/images/internal/favicon.png" />
+       <link rel="shortcut icon" 
href="{$htmlBase}frontend/nagvis-js/images/internal/favicon.png" />
        <meta name='robots' content='noindex,nofollow' />
 </head>
 <body class="login">
 
 <div id="login">
-<h1><h1><a href="#" title="{$pageTitle}" 
style="background-image:url({$htmlImages}/internal/logo_119x31.png)">{$pageTitle}</a></h1>
+<h1><h1><a href="#" title="{$pageTitle}" 
style="background-image:url({$htmlImages}internal/logo_119x31.png)">{$pageTitle}</a></h1>
 
 <form name="loginform" id="loginform" action="{$formTarget}" method="post">
        <p>
@@ -26,8 +26,10 @@
                <input type="submit" name="submit" id="submit" 
value="{$langLogin}" tabindex="100" />
        </p>
 </form>
-
 </div>
 
+<script type="text/javascript">
+try{document.getElementById('user_login').focus();}catch(e){}
+</script>
 </body>
 </html>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to