Merge in werc.cat-v.org updates and css changes.
This commit is contained in:
commit
582c8efc8a
2
README
2
README
@ -4,7 +4,7 @@ werc - a minimalist document management system
|
||||
Werc is a CMS designed to be simple to use, simple to setup, and not get on the
|
||||
way while allowing users easy customization and implement new functionality.
|
||||
|
||||
For more information see the official website: http://repo.cat-v.org/werc/
|
||||
For more information see the official website: http://werc.cat-v.org/
|
||||
|
||||
|
||||
Installation
|
||||
|
@ -79,6 +79,7 @@ fn txt_handler {
|
||||
|
||||
fn dir_listing_handler {
|
||||
d=`{basename -d $1}
|
||||
# XXX $d is based on $local_path, but should display only req_path here.
|
||||
echo $d|sed 's,.*//,,g; s,/$,,; s,/, / ,g; s,.*,<h1 class="dir-list-head">&</h1> <ul class="dir-list">,'
|
||||
# Symlinks suck: '/.' forces ls to list the linked dir if $d is a symlink.
|
||||
ls -F $dir_listing_ls_opts $d/. | sed $dirfilter$dirclean' s,.*/([^/]+/?)$,<li><a href="\1">\1</a></li>,'
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="left"><a href="http://repo.cat-v.org/werc/">Powered by werc</a></div>
|
||||
<div class="left"><a href="http://werc.cat-v.org/">Powered by werc</a></div>
|
||||
<!-- TODO Maybe should add a programatically generated google search box -->
|
||||
<div class="right"><a href="/_users/login">User Login</div>
|
||||
|
||||
|
@ -4,15 +4,11 @@ body {
|
||||
color: black;
|
||||
background-color: white;
|
||||
font-family: verdana, helvetica, arial, sans-serif;
|
||||
font-size: 71%; /* Enables font size scaling in MSIE */
|
||||
font-size: 88%; /* Enables font size scaling in MSIE */
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
html > body {
|
||||
font-size: 0.7em;
|
||||
}
|
||||
|
||||
|
||||
/* # Header # */
|
||||
.superHeader {
|
||||
@ -56,7 +52,7 @@ html > body {
|
||||
|
||||
.headerTitle {
|
||||
color: black;
|
||||
font-size: 337%;
|
||||
font-size: 256%;
|
||||
font-weight: normal;
|
||||
margin: 0 0 0 4mm;
|
||||
padding: 0.25ex 0;
|
||||
@ -132,7 +128,7 @@ li ul {
|
||||
padding: 0.1ex 0; /* Circumvents a rendering bug (?) in MSIE 6.0 */
|
||||
}
|
||||
|
||||
#side-bar a, .thisPage {
|
||||
#side-bar a {
|
||||
color: rgb(0,102,204);
|
||||
background-color: transparent;
|
||||
text-decoration: none;
|
||||
@ -140,19 +136,20 @@ li ul {
|
||||
padding: 0.35em 1ex 0.35em 2mm;
|
||||
display: block;
|
||||
text-transform: capitalize;
|
||||
font-weight: bold;
|
||||
font-weight: bold!important;
|
||||
font-size: 104%;
|
||||
}
|
||||
|
||||
.thisPage, .thisPage a {
|
||||
color: black!important;
|
||||
background-color: white;
|
||||
padding-left: 5mm;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#side-bar a:hover {
|
||||
color: white;
|
||||
background-color: rgb(100,135,220);
|
||||
border-left: black solid 0.2em;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
siteTitle='werc'
|
||||
siteSubTitle='Bringing minimalism and sanity to the web'
|
||||
siteSubTitle=' Bringing minimalism and sanity to the web'
|
||||
|
||||
|
@ -39,3 +39,46 @@ least Apache, Lighttpd, Cherokee, nhttpd, Hiawatha, and others.
|
||||
|
||||
Werc uses markdown by default (and the standard Perl markdown is included with the distribution), to format documents, but any other formatting
|
||||
system can be used.
|
||||
|
||||
|
||||
Development
|
||||
-----------
|
||||
To get a copy of the latest development code using mercurial, do:
|
||||
|
||||
hg clone http://gsoc.cat-v.org/hg/werc/
|
||||
|
||||
You can also [browse the online repository](http://gsoc.cat-v.org/hg/werc/).
|
||||
|
||||
Contact
|
||||
-------
|
||||
|
||||
For questions, suggestions, bugrepports and contributing patches you can join the [werc9 mailinglist](http://groups.google.com/group/werc9).
|
||||
|
||||
On irc, join #plan9 on irc.freenode.org
|
||||
|
||||
|
||||
Links
|
||||
-----
|
||||
|
||||
* [werc project at freshmeat](http://freshmeat.net/projects/werc/) - You can get new release notifications there.
|
||||
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
Public domain (by default includes markdown.pl which has a different license, but this can be replaced).
|
||||
|
||||
Credits
|
||||
-------
|
||||
|
||||
Thanks to Kris Maglione (aka JG) for implementing rss feeds, for writing the
|
||||
awk rc-templating system, and other help and inspiration (some parts of the
|
||||
code were based on JG's diri wiki).
|
||||
|
||||
Thanks to Mechiel (aka oksel) for the md_cache script.
|
||||
|
||||
Thanks Garbeam (aka arg) for writing the original diri code and showing that
|
||||
writing complex web apps in rc was feasible.
|
||||
|
||||
And thanks to everyone else whom I have forgotten and that has provided fixes
|
||||
and feedback.
|
||||
|
Loading…
Reference in New Issue
Block a user