Anonymous avatar Anonymous committed 82ec967

Moved the latemp lib's into $HOME/conf/wml/Latemp. Extracted the common
.navbar functionality.

Comments (0)

Files changed (2)

 LATEMP_WML_FLAGS =$(shell latemp-config --wml-flags)
 
+COMMON_PREPROC_FLAGS = -I $$HOME/conf/wml/Latemp/lib
 WML_FLAGS += --passoption=2,-X3074 --passoption=3,-I../lib/ \
 	--passoption=3,-w -I../lib/ $(LATEMP_WML_FLAGS) \
 	-DROOT~. -DLATEMP_THEME=better-scm \
 	-I $${HOME}/apps/wml
 
+TTML_FLAGS += $(COMMON_PREPROC_FLAGS)
+WML_FLAGS += $(COMMON_PREPROC_FLAGS)
+
 ALL_DEST_BASE = dest
 
 FORTUNES_TARGET = dest/vipe-homepage/humour/fortunes/fortunes-index.html

common/style.css.ttml

 { 
     background-color : #90EE90; /* LightGreen */
 }
+[% SET navbar_width = "20%" %]
+[% PROCESS "shlomif/navbar.ttml" %]
 .navbar 
-{ 
-    float : left;
+{
     /* derived from moccasin, but less intrusive, as a background.*/
     background-color: #FFEED3; 
-    width : 20%;
-    padding-right : 1em;
-    padding-top : 1.5em;
-    padding-left : 1em;
-    padding-bottom: 2em;
 }
 .navbar ul
 {
     font-size : small;
     margin-left : 0.3em;
 }
-
-.nav_links
-{
-    text-align: center;
-    padding-left : 0em;
-    padding-top : 0em;
-}
-.nav_links li
-{
-    display: inline;
-    list-style-type: none;
-    padding-right: 0.2em;
-    padding-top: 0em;
-}
-
+[% INCLUDE "nav_links.ttml" %]
 p.desc { margin-left : 3em }
 ul.navbarmain { padding-left : 1em ; margin-left : 1em }
 ul.navbarnested { padding-left : 0em ; margin-left : 2em }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.