add favicon
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3001 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
		
							parent
							
								
									33f6cb724d
								
							
						
					
					
						commit
						1d80425012
					
				
					 4 changed files with 11 additions and 2 deletions
				
			
		|  | @ -5,6 +5,10 @@ | |||
|     xmlns:browser="http://namespaces.zope.org/browser" | ||||
|     i18n_domain="cybertools.composer"> | ||||
| 
 | ||||
|   <browser:resourceDirectory name="default" directory="resources" /> | ||||
| 
 | ||||
|   <!-- main layouts --> | ||||
| 
 | ||||
|   <zope:utility | ||||
|         component="cybertools.composer.layout.browser.default.page" | ||||
|         provides="cybertools.composer.layout.interfaces.ILayout" | ||||
|  |  | |||
|  | @ -33,7 +33,8 @@ defaultRenderers = RendererFactory(ViewPageTemplateFile('default.pt')) | |||
| 
 | ||||
| 
 | ||||
| page = Layout('page', 'page', renderer=standardRenderers['page'], | ||||
|               sublayouts=set(['css.liquid', 'body.liquid'])) | ||||
|               sublayouts=set(['css.liquid', 'body.liquid']), | ||||
|               favicon='default/favicon.png') | ||||
| 
 | ||||
| logo = Layout('logo.default', 'body.logo', renderer=defaultRenderers.logo) | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										
											BIN
										
									
								
								composer/layout/browser/resources/loops_favicon.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								composer/layout/browser/resources/loops_favicon.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 580 B | 
|  | @ -1,6 +1,7 @@ | |||
| <metal:page define-macro="page"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||||
|   <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" | ||||
|         tal:define="body view/body"> | ||||
|         tal:define="body view/body; | ||||
|                     layout view/context/template"> | ||||
| 
 | ||||
|     <head metal:define-macro="head"> | ||||
|       <title metal:define-macro="title" | ||||
|  | @ -13,6 +14,9 @@ | |||
|         <metal:css use-macro="view/renderer" /> | ||||
|       </tal:css> | ||||
| 
 | ||||
|       <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" | ||||
|             tal:attributes="href string:${view/page/resourceBase}${layout/favicon}" /> | ||||
| 
 | ||||
|       <base href="." tal:attributes="href request/URL"> | ||||
|     </head> | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 helmutm
						helmutm