diff options
| -rw-r--r-- | static/css/admin.css | 12 | ||||
| -rwxr-xr-x | static/css/header.css | 2 | ||||
| -rwxr-xr-x | static/css/profile.css | 2 | ||||
| -rw-r--r-- | static/js/pichat.js | 2 | ||||
| -rw-r--r-- | template/chat.st | 4 | ||||
| -rw-r--r-- | template/profile.st | 4 |
6 files changed, 19 insertions, 7 deletions
diff --git a/static/css/admin.css b/static/css/admin.css index f04af5d..10932e8 100644 --- a/static/css/admin.css +++ b/static/css/admin.css @@ -1,3 +1,15 @@ .errorbox { border: 2px solid red; +} +#adminmute{ +position:absolute; +color:red; +font-weight:bold; +top:0;left:5; +} +#adminmute a{ +color:red; +} +#adminmute a:hover{ +color:blue; }
\ No newline at end of file diff --git a/static/css/header.css b/static/css/header.css index bf2b0bd..102897b 100755 --- a/static/css/header.css +++ b/static/css/header.css @@ -316,7 +316,7 @@ image-rendering: -moz-crisp-edges; margin-top: 0px; height: 27px; width: 27px; - right: 6px; + right: 5px; top: 3px; display: block; } diff --git a/static/css/profile.css b/static/css/profile.css index 902cac7..9e5ecf5 100755 --- a/static/css/profile.css +++ b/static/css/profile.css @@ -120,7 +120,7 @@ display:inline-block; background-image:url(/static/img/btngrad1.png); font-weight:bold; word-spacing:7; - margin-top:0; + margin-top:15; margin-bottom:0; margin-left:-2; text-align:center; diff --git a/static/js/pichat.js b/static/js/pichat.js index 7cb465d..d6af36f 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -198,7 +198,7 @@ function buildUserDiv(user) { } else { return '<div class="username">' + '<a href="/u/' + escapeHtml(user.nick) + '" target="_blank">' - + '<img src="/static/noinfo.png" width="50" height="50">' + + '<img src="/static/img/noinfo.png" width="50" height="50">' + escapeHtml(user.nick) + '</a></div>'; } } diff --git a/template/chat.st b/template/chat.st index 422c640..8a02ccd 100644 --- a/template/chat.st +++ b/template/chat.st @@ -49,7 +49,7 @@ $users: { u | $if(u.avatar)$ <img src="$u.avatar$" width="50" height="50"> $else$ - <img src="/static/noinfo.png"> + <img src="/static/img/noinfo.png"> $endif$ $u.nick$</a><br> </div> @@ -110,4 +110,4 @@ $footer()$ </div> $preload()$ </body> -</html>
\ No newline at end of file +</html> diff --git a/template/profile.st b/template/profile.st index 2a65b36..1e7ee06 100644 --- a/template/profile.st +++ b/template/profile.st @@ -31,11 +31,11 @@ <div id="profile"> <h2>$nick$</h2> - + <div id="adminmute"> $if(isadmin)$ <a href="#" onclick="Admin.mute('$nick$'); return false">Mute $nick$!</a><br> $endif$ - +</div> $if(avatar)$ <img id="avatarPic" src="$avatar$" width="150px"/> $else$ |
