* Cleaned up the look of the 'more' link in the new BBS view
authorArt Cancro <ajc@citadel.org>
Wed, 30 Dec 2009 16:44:53 +0000 (16:44 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 30 Dec 2009 16:44:53 +0000 (16:44 +0000)
webcit/bbsview_renderer.c
webcit/static/webcit.css

index bdaf4dbb879b063818921b81afb58cbad6b51354..f9cb8dab9c5bc42a2a8769fee4b85db9a410adb2 100644 (file)
@@ -451,7 +451,7 @@ int bbsview_RenderView_or_Tail(SharedMessageStatus *Stat,
        if (!WC->is_ajax) {     /* only supply the script during the initial page load */
           StrBufAppendPrintf(WC->trailing_javascript,
                "       function moremsgs(target_div, gt, maxmsgs, sortorder) {                         \n"
-               "               $(target_div).innerHTML = '%s ... <img src=\"static/throbber.gif\">';   \n"
+               "               $(target_div).innerHTML = '<div class=\"moreprompt\">%s ... <img src=\"static/throbber.gif\"><br><br><br></div>';       \n"
                "               p = 'gt=' + gt + '&maxmsgs=' + maxmsgs                                  \n"
                "                       + '&is_summary=0&SortOrder=' + sortorder + '&is_ajax=1'         \n"
                "                       + '&r=' + CtdlRandomString();                                   \n"
@@ -472,8 +472,10 @@ int bbsview_RenderView_or_Tail(SharedMessageStatus *Stat,
                        (Stat->reverse ? 2 : 1)
                );
        
-               wc_printf("div \"%s\" - click for more messages<br><br><br><br>", morediv);
-               wc_printf("</a>");
+               wc_printf("<div class=\"moreprompt\">"
+                       "&darr; &darr; &darr; %s &darr; &darr; &darr;"
+                       "</div>", _("more"));
+               wc_printf("</a><br><br><br>");
        }
        else {
                wc_printf("thththththat's all, folks!<br><br><br><br>");
index baff5648c8d45e93937c9b8c48eccb906489d3ee..4b7a07ba0f6087c343392e59f388898372058d9e 100644 (file)
@@ -560,6 +560,12 @@ body, #global {
 #hellomsg, .fmout, .nomsgs {
     text-align: center;
 }
+
+.moreprompt {
+       text-align: center;
+       font-size: 150%;
+}
+
 #login_screen, #logout_screen {
        margin: 0;
        padding: 3% 6% 3% 6%;