in reply to Re: Chatterbox KARMA support
in thread Chatterbox KARMA support

Would that be possible in the new cb stats, too?

Computer says no!

Well, actually i didn't even remember that this was a thing, even though i have screenshots (and source code) of the old site.

It's now implemented. If you like to change anything (add timestamps, add the karma giver, etc), just let me know.

BTW, anyone remember how to format HTML tables in the Monastery more nicely? You now, alternating table rows with slightly different backgrounds, using the user-selected stylesheets? I haven't played with that stuff on PM for so long, i've completely forgotten if that's even in the default stylesheets.

PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP

Replies are listed 'Best First'.
Re^3: Chatterbox KARMA support
by LanX (Saint) on Apr 22, 2024 at 21:19 UTC
    > you now, alternating table rows with slightly different backgrounds,

    If you look into Perl Monks Approved HTML tags (it's automatically linked when you comment) you'll see a list of allowed attributes per tag.

    tbody width, align, valign, colspan, rowspan, bgcolor, height, class td width, align, valign, colspan, rowspan, bgcolor, height, class tfoot width, align, valign, colspan, rowspan, bgcolor, height, class th width, align, valign, colspan, rowspan, bgcolor, height, class thead width, align, valign, colspan, rowspan, bgcolor, height, class tr width, align, valign, colspan, bgcolor, height, class

    you can go by class or bgcolor,

    > using the user-selected stylesheets?

    OK that's a bit trickier ... are you talking about themes?

    The monastery has a default set of CSS which is altered by theme. Users can overwrite whatever they want in their settings.

    I'm not aware of classes for tables, but you can look into the HTML of existing tables° or the CSS in the settings section.

    And if they don't exists, I'm sure the gods will grant you a wish to create them ... :)

    edit

    °) Saints in our Book is using <tr class="highlight"> for that.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    see Wikisyntax for the Monastery

      °) Saints in our Book is using <tr class="highlight"> for that.

      Used that for implementing somewhat nicer tables.

      PerlMonks XP is useless? Not anymore: XPD - Do more with your PerlMonks XP