12 Commits

Author SHA1 Message Date
Ignacio R. Morelle
4ec6ef1734 wam: Left-align the whole tooltip, not just the contents 2017-07-24 22:34:04 -04:00
Ignacio R. Morelle
cf0a389e6f wam: Fix indentation 2017-07-24 21:53:35 -04:00
Ignacio R. Morelle
a642233513 wam: Fix add-on description tooltip's text alignment 2017-07-24 21:52:43 -04:00
Ignacio R. Morelle
9a7ef678ff wam: More styling work 2017-07-24 21:30:26 -04:00
Ignacio R. Morelle
acf5e3ec64 wam: Some additional content and styling tweaks
* Relabeled the "Notes" column to "Translations" since that's what it
   really is.
 * Replaced the Download label with an icon and moved it to the add-on
   names column.
 * Restyled add-on version/author a bit.
 * Add-on type is now more or less aligned to the middle of the icon
   (regardless of what the cell height actually is -- there can be extra
   empty space below the type line if the add-on title is too long, for
   instance).
2017-07-24 15:36:30 -04:00
Ignacio R. Morelle
86984f0040 wam: Update styles and markup for Wesmere
This also adds SVG icons to be used in table headers instead of GIF
images for browsers that support SVG in background-image. It makes
things scale better for high DPI screens.
2017-07-24 14:49:08 -04:00
Groggy Dice
cc059b64f6 style.css: no margin-bottom for <pre> 2014-05-15 03:53:04 -04:00
Groggy Dice
7fb303c57d html.py,style.css: use <pre> with no top-margin on all descriptions
After my last change dealing with this issue, I noticed that descriptions
with <pre> had an extra blank line at the top. Adding top-margin to the
CSS file made this go away, but it also made the <br/> superfluous. Thus,
it is simpler just to have every description use <pre> instead of <br/>.

This should finally resolve everything having to do with the add-on
descriptions.

If I'd noticed that the re module hadn't been imported, I probably wouldn't
have considered URL linking to be important enough to do so. Since I've
already written the code, however, I'll keep it.
2014-05-07 06:09:57 -04:00
Groggy Dice
faf82bed92 style.css,html.py: use <pre> instead of <br/>; re.sub instead of re.finditer
After looking into it some more, I think I've figured out how to handle <pre>
in the CSS. So, use that, when description has more than one line.

Also, go to re.sub for turning URLs into links. The version of Python I was
testing my code on wasn't properly handling backreferences in the replacement
string when in the form "\#", causing me to use finditer instead of sub. But
I've discovered that it does handle backreferences in the form "\g<#>". So
switch to much simpler re.sub code.
2014-05-05 04:20:51 -04:00
Gunter Labes
3a1686ebf1 added explanations for the different add-on types 2009-05-23 22:25:10 +00:00
Elias Pschernig
7211157845 addon_manager:
- Table sorting now displays nice arrows (using the "jquery"
  javascript library for this now).

- Auto-create --tar folder.
2008-10-12 13:05:11 +00:00
Elias Pschernig
464c1bd1db Added a --html option to wesnoth_addon_manager.
Soliton hinted that may be useful.
2008-09-27 15:24:38 +00:00