aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-02-19 18:55:04 +1300
committerDavid Phillips <dbphillipsnz@gmail.com>2016-02-19 18:55:04 +1300
commit29861de6201be182f0bffb9fe4376eb90e62dc7e (patch)
treed14ccfd1b7512889b6ac57d03a90a374596a14e8
parent01ed3385d5c688a78aa09232ed7d220bc9c50635 (diff)
parent2a23bc557f30942aa43631efe575d21ba44dc762 (diff)
downloadpetrichor-29861de6201be182f0bffb9fe4376eb90e62dc7e.tar.xz
Merge remote-tracking branch 'dfryer1193/master' into HEAD
-rw-r--r--petrichor.css7
-rw-r--r--petrichor.js2
2 files changed, 8 insertions, 1 deletions
diff --git a/petrichor.css b/petrichor.css
index 36dc4d9..1b8684c 100644
--- a/petrichor.css
+++ b/petrichor.css
@@ -132,3 +132,10 @@ div.user
margin-right: 30px;
font-size: 240px;
}
+
+a
+{
+ text-decoration: none;
+ display: block;
+ color: white;
+}
diff --git a/petrichor.js b/petrichor.js
index c96c21e..5a8089c 100644
--- a/petrichor.js
+++ b/petrichor.js
@@ -133,7 +133,7 @@ function start()
else
image = user.image;
- document.write('<div class="user" id="user_' + user.name +'"onclick="start_authentication(\'' + user.name + '\')" style="cursor: pointer;">');
+ document.write('<a href="#" class="user" id="user_' + user.name +'"onclick="start_authentication(\'' + user.name + '\')" style="cursor: pointer;">');
document.write('<img class="avatar" src="file:///' + image + '" /><span class="name">'+user.display_name+'</span>');
if (user.name == lightdm.autologin_user && lightdm.autologin_timeout > 0)