Browse Source

just trying to ensure we are using proper methods

sisyphus
Dustin Falgout 9 years ago
parent
commit
a9813ac47f
  1. 13
      themes/webkit/index.html

13
themes/webkit/index.html

@ -18,7 +18,8 @@ td
password_prompt = false;
selected_user = null;
time_remaining = 0
time_remaining = 0;
lightdm = lightdm || {};
function show_prompt(text)
{
@ -74,13 +75,13 @@ function reset()
password_prompt = false;
}
loading_text = ''
loading_text = '';
function throbber()
{
loading_text += '.';
if (loading_text == '....')
loading_text = '.'
loading_text = '.';
label = document.getElementById('countdown_label');
label.innerHTML = loading_text;
setTimeout('throbber()', 1000);
@ -126,7 +127,7 @@ function provide_secret()
function countdown()
{
label = document.getElementById('countdown_label');
label.innerHTML = ' in ' + time_remaining + ' seconds'
label.innerHTML = ' in ' + time_remaining + ' seconds';
time_remaining--;
if (time_remaining >= 0)
setTimeout('countdown()', 1000);
@ -138,9 +139,9 @@ for (i in lightdm.users)
user = lightdm.users[i];
if (user.image.length > 0)
image = user.image
image = user.image;
else
image = 'file:///usr/share/icons/gnome/32x32/stock/generic/stock_person.png'
image = 'file:///usr/share/icons/gnome/32x32/stock/generic/stock_person.png';
document.write('<tr id="user_' + user.name +'"onclick="start_authentication(\'' + user.name + '\')" style="cursor: pointer;">');
document.write('<td><img width="48px" height="48px" src="' + image + '" /></td>');

Loading…
Cancel
Save