On Wed, 30 Oct 2013 15:23:40 +0100, Martijn Coppoolse
<[email protected]> wrote:
On 30-10-2013 12:15, j. van den hoff wrote:
On Wed, 30 Oct 2013 10:49:58 +0100, Richard Hipp <[email protected]> wrote:
== files ==
* it would be nice if directories where differentiated from files
(e.g. in
unix `ls -F' fashion) by trailing `/').
That can be done using CSS, nowadays. Since directories get a class of
"dir", you can specify the following in the CSS to get a trailing slash:
li.dir>a:after {
content: '/';
}
Or, if you’d rather the slash not be part of the link:
li.dir:after {
content: '/';
}
It’s also possible to change the bullet into a circle, for example:
li.dir {
list-style-type: circle;
}
thanks a lot for this info. I don't know anything of CSS related things, I
was not aware of this possibility. and it sure fixes the issue for me. on
the other hand, I still believe that the average not-so-experienced user
will not want to dive into these sort of do-it-yourself configuration and
that a basic built-in solution would be good to have.
or even into a folder icon:
li.dir {
list-style-image:
url('http://icons.iconarchive.com/icons/deleket/sleek-xp-basic/16/Folder-icon.png');
}
(Of course, deeplinking like this is not recommended, so it would be
preferable to store the icon image in the repository, and refer to that).
That’s why I prefer the current CSS class-based method to hard-coded
inclusion of the trailing slash: it enables fairly extensive
customization. :-)
yes, I understand that, but see above: not everybody wants to do it,
presumably, and a basic builtin solution would be good to have. and I
believe another issue is that the configuration is local to the respective
repo. so if I "fix" the configuration on some server-side repo, the local
clone of somebody else will not profit from it.
anyway, thanks again. I at least know now how to fix it for my own repos.
j.
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users