mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
166a086d20
Basically, coal style in hgweb is intended to be functionally equivalent (just different in style) to paper, and does this by reusing almost all templates from paper (except header.tmpl, where it specifies a different css file). Looks like everybody forgot this and so many improvements to paper templates, that should've also made it into coal, were often only half-done there (usually thanks to template reuse). Let's fix this by bulk-copying missing things from paper/map and style-paper.css to coal/map and style-coal.css. There were many improvements to paper that didn't touch coal, and that makes it hard to untangle the code and split this patch into many, but here are some of the changes (paper-only), that now get into coal: a9c9f5ef6abf - hgweb: color line which is linked to in file source view 1555d017cac7 - hgweb: highlight line which is linked to at annotate view a46863946982 - hgweb: code selection without line numbers in file source view 636594df4244 - hgweb: add line wrapping switch to file source view cc6bee069ce6 - hgweb: use css margin instead of empty <p> before diffstat table It also fixes line anchor in annotateline template (#42 vs #l42). |
||
---|---|---|
.. | ||
atom | ||
coal | ||
gitweb | ||
json | ||
monoblue | ||
paper | ||
raw | ||
rss | ||
spartan | ||
static | ||
map-cmdline.bisect | ||
map-cmdline.changelog | ||
map-cmdline.compact | ||
map-cmdline.default | ||
map-cmdline.phases | ||
map-cmdline.status | ||
map-cmdline.xml |