Commits

Anonymous committed 859cd05

1. Added a html:header tag to encapsulate the common header across all
themes.

  • Participants
  • Parent commits b823372

Comments (0)

Files changed (5)

 
 * Implement a header tag for all the themes.
 
-* Make sure the args are passed to the commands explictly instead of via
-@ARGV.
-
 Long Term:
 ----------
 
+* Enable reading parameters from the user $HOME/.quadpres directory
+
 * Multiple stages for slides.
 
 * quadp copy, quadp rm, quadp mv commands.
 
 * Write more tests.
 
+* Write a path signature for the title:
 
+    Gimp Lecture ==> Areal Effects ==> Blur ==>
+    Motion Blur
+
+

installer/perl5/Shlomif/Quad/Pres/CmdLine.pm

 
     open WMLRC, ">$src_dir_name/.wmlrc";
 
-    print WMLRC "-DROOT~src --passoption=2,-X -DTHEME=shlomif-text\n";
+    print WMLRC "-DROOT~src --passoption=2,-X3074 -DTHEME=shlomif-text\n";
 
     close WMLRC;
 

installer/wml/quadpres_main.wml

 }:>
 </define-tag>
 
+<default-var "lang" "en-US" />
+<default-var "charset" "iso-8859-1" />
+
+<define-tag qp:html:header>
+<?xml version="1.0" encoding="<get-var charset />"?>
+<!DOCTYPE html
+     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+     "DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<get-var lang />" lang="<get-var lang />">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=<get-var charset />" />
+<link rel="stylesheet" href="<qp:contentsurl />style.css" type="text/css" />
+<qp:head:links />
+
+<title><qp:subject /></title>
+</head>
+</define-tag>
+
 <define-tag qpcontents>
 <:{
     if (!defined($contents_tree))
 }:>
 </define-tag>
 
-<default-var "lang" "en-US" />
-<default-var "charset" "iso-8859-1" />
 
 #include "themes/$(THEME)/template.wml"
 

installer/wml/themes/alon-altman-text/template.wml

-<!DOCTYPE html
-     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-     "DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
-<head>
-<meta http-equiv="content-type" content="text/html; charset=ISO-8859-8" />
-<link rel="stylesheet" href="<qp:contentsurl />style.css" type="text/css" />
-<qp:head:links />
-
-<title><qp:subject /></title>
-</head>
+<qp:html:header />
 <body>
 <h1><qp:title /></h1>
 <div class="nav">

installer/wml/themes/shlomif-text/template.wml

 <restore withkey />
 </define-tag>
 
-<?xml version="1.0" encoding="<get-var charset />"?>
-<!DOCTYPE html
-     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-     "DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<get-var lang />" lang="<get-var lang />">
-<head>
-<meta http-equiv="content-type" content="text/html; charset=<get-var charset />" />
-<link rel="stylesheet" href="<qp:contentsurl />style.css" type="text/css" />
-<qp:head:links />
-<title>{#SUBJECT_LOC#}</title>
-</head>
+<qp:html:header />
 <body>
 <qpnavigationbar withkey="1" />
 <h1><qp:title /></h1>