Merge in werc.cat-v.org updates and css changes.
This commit is contained in:
		
						commit
						04f6550a53
					
				
					 6 changed files with 53 additions and 12 deletions
				
			
		
							
								
								
									
										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 | 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. | 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 | Installation | ||||||
|  |  | ||||||
|  | @ -79,6 +79,7 @@ fn txt_handler { | ||||||
| 
 | 
 | ||||||
| fn dir_listing_handler { | fn dir_listing_handler { | ||||||
|     d=`{basename -d $1} |     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">,' |     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. |     # 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>,' |     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 --> | <!-- TODO Maybe should add a programatically generated google search box --> | ||||||
| <div class="right"><a href="/_users/login">User Login</div> | <div class="right"><a href="/_users/login">User Login</div> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -4,15 +4,11 @@ body { | ||||||
|   color: black; |   color: black; | ||||||
|   background-color: white; |   background-color: white; | ||||||
|   font-family: verdana, helvetica, arial, sans-serif; |   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; |   margin: 0; | ||||||
|   padding: 0; |   padding: 0; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| html > body { |  | ||||||
|   font-size: 0.7em; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| 
 | 
 | ||||||
| /* # Header # */ | /* # Header # */ | ||||||
| .superHeader { | .superHeader { | ||||||
|  | @ -56,7 +52,7 @@ html > body { | ||||||
| 
 | 
 | ||||||
| .headerTitle { | .headerTitle { | ||||||
|   color: black; |   color: black; | ||||||
|   font-size: 337%; |   font-size: 256%; | ||||||
|   font-weight: normal; |   font-weight: normal; | ||||||
|   margin: 0 0 0 4mm; |   margin: 0 0 0 4mm; | ||||||
|   padding: 0.25ex 0; |   padding: 0.25ex 0; | ||||||
|  | @ -132,7 +128,7 @@ li ul { | ||||||
|   padding: 0.1ex 0;  /* Circumvents a rendering bug (?) in MSIE 6.0 */ |   padding: 0.1ex 0;  /* Circumvents a rendering bug (?) in MSIE 6.0 */ | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #side-bar a, .thisPage { | #side-bar a { | ||||||
|   color: rgb(0,102,204); |   color: rgb(0,102,204); | ||||||
|   background-color: transparent; |   background-color: transparent; | ||||||
|   text-decoration: none; |   text-decoration: none; | ||||||
|  | @ -140,19 +136,20 @@ li ul { | ||||||
|   padding: 0.35em 1ex 0.35em 2mm; |   padding: 0.35em 1ex 0.35em 2mm; | ||||||
|   display: block; |   display: block; | ||||||
|   text-transform: capitalize; |   text-transform: capitalize; | ||||||
|   font-weight: bold; |   font-weight: bold!important; | ||||||
|  |   font-size: 104%; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .thisPage, .thisPage a { | .thisPage, .thisPage a { | ||||||
|   color: black!important; |   color: black!important; | ||||||
|   background-color: white; |   background-color: white; | ||||||
|   padding-left: 5mm; |   padding-left: 5mm; | ||||||
|   font-weight: 600; |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| #side-bar a:hover { | #side-bar a:hover { | ||||||
|   color: white; |   color: white; | ||||||
|   background-color: rgb(100,135,220); |   background-color: rgb(100,135,220); | ||||||
|  |   border-left: black solid 0.2em; | ||||||
|   text-decoration: none; |   text-decoration: none; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -1,3 +1,3 @@ | ||||||
| siteTitle='werc' | 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 | 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. | 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Uriel
						Uriel