Pretty buttons for Log Off screen
authorThierry Pasqualier <thierry@uncensored.citadel.org>
Tue, 23 Oct 2007 08:50:14 +0000 (08:50 +0000)
committerThierry Pasqualier <thierry@uncensored.citadel.org>
Tue, 23 Oct 2007 08:50:14 +0000 (08:50 +0000)
webcit/auth.c
webcit/static/webcit.css

index e35c20e568a8af96ff8d3b0febcf02701becf82f..c8f458b0da9fa4d5ed2392f0063c7718e3d78514 100644 (file)
@@ -312,12 +312,13 @@ void do_logout(void)
                );
        }
 
-       wprintf("<hr /><div><a href=\".\">");
+       wprintf("<hr /><div class=\"buttons\"> "
+               "<span class=\"button_link\"><a href=\".\">");
        wprintf(_("Log in again"));
-       wprintf("</a>&nbsp;&nbsp;&nbsp;"
+       wprintf("</a></span>&nbsp;&nbsp;&nbsp;<span class=\"button_link\">"
                "<a href=\"javascript:window.close();\">");
        wprintf(_("Close window"));
-       wprintf("</a></div></div></div></div>\n");
+       wprintf("</a></span></div></div></div></div>\n");
        wDumpContent(2);
        end_webcit_session();
 }
index 23056c68596bde03131ffc7f337939fd292922e2..f8dea8165457e20760da4634a7600160d3ede144 100644 (file)
@@ -449,6 +449,7 @@ a:visited { color: purple; }
 
 
 .button_link a {
+       font-weight: normal;
        color: #333;
 }
 
@@ -898,7 +899,7 @@ dt { clear: both; }
        text-align: center;
 }
 
-.msgbuttons a span, .buttons span {
+.msgbuttons a span {
        display: none;
 }