summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/controls
diff options
context:
space:
mode:
Diffstat (limited to 'demos/time-tracker/protected/controls')
-rw-r--r--demos/time-tracker/protected/controls/Layout.php7
-rw-r--r--demos/time-tracker/protected/controls/Layout.tpl45
-rw-r--r--demos/time-tracker/protected/controls/TopicList.php8
-rw-r--r--demos/time-tracker/protected/controls/TopicList.tpl27
4 files changed, 87 insertions, 0 deletions
diff --git a/demos/time-tracker/protected/controls/Layout.php b/demos/time-tracker/protected/controls/Layout.php
new file mode 100644
index 00000000..e612d52d
--- /dev/null
+++ b/demos/time-tracker/protected/controls/Layout.php
@@ -0,0 +1,7 @@
+<?php
+
+class Layout extends TTemplateControl
+{
+
+}
+?> \ No newline at end of file
diff --git a/demos/time-tracker/protected/controls/Layout.tpl b/demos/time-tracker/protected/controls/Layout.tpl
new file mode 100644
index 00000000..95c88fd8
--- /dev/null
+++ b/demos/time-tracker/protected/controls/Layout.tpl
@@ -0,0 +1,45 @@
+<!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" >
+
+<com:THead Title="PRADO Time Tracker Guide">
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
+<meta http-equiv="content-language" content="en"/>
+</com:THead>
+
+<body>
+<com:TForm>
+<div id="header">
+<div class="title">PRADO Time Tracker Guide</div>
+<div class="image"></div>
+</div>
+
+<com:TPanel ID="MainMenu" CssClass="mainmenu">
+<a href="?">Home</a> |
+<a href="http://www.pradosoft.com">PradoSoft.com</a> |
+<a href="../../docs/quickstart.pdf">PDF Version</a> |
+<com:THyperLink ID="PrinterLink" Text="Printer-friendly Version" />
+</com:TPanel>
+
+<table width="100%" border="0" cellspacing="0" cellpadding="0">
+<tr>
+<td valign="top" width="1">
+<com:Application.controls.TopicList ID="TopicPanel" />
+</td>
+<td valign="top">
+<div id="content">
+<com:TContentPlaceHolder ID="body" />
+</div>
+</td>
+</tr>
+</table>
+
+<div id="footer">
+Copyright &copy; 2005-2006 <a href="http://www.pradosoft.com">PradoSoft</a>.
+<br/><br/>
+
+<a href="http://validator.w3.org/check?uri=referer">Valid XHTML 1.0 Transitional</a>
+</div>
+
+</com:TForm>
+</body>
+</html> \ No newline at end of file
diff --git a/demos/time-tracker/protected/controls/TopicList.php b/demos/time-tracker/protected/controls/TopicList.php
new file mode 100644
index 00000000..ce827cc0
--- /dev/null
+++ b/demos/time-tracker/protected/controls/TopicList.php
@@ -0,0 +1,8 @@
+<?php
+
+class TopicList extends TTemplateControl
+{
+
+}
+
+?> \ No newline at end of file
diff --git a/demos/time-tracker/protected/controls/TopicList.tpl b/demos/time-tracker/protected/controls/TopicList.tpl
new file mode 100644
index 00000000..bc9fff26
--- /dev/null
+++ b/demos/time-tracker/protected/controls/TopicList.tpl
@@ -0,0 +1,27 @@
+<div id="toc">
+
+<div class="topic">
+<ul>
+ <li><a href="?page=preface">Preface</a></li>
+</ul>
+<div>Prado Time Tracker Implementation Guide</div>
+<ul>
+ <li><a href="?page=Introduction">Introduction</a></li>
+ <li><a href="?page=GettingStarted">Installation</a></li>
+ <li><a href="?page=WritingUnitTest">Writing a Unit Test</a></li>
+ <li><a href="?page=WritingFunctionalTest">Writing a Functional Web Test</a></li>
+</ul>
+
+<div>Testing Business Code</div>
+<ul>
+ <li><a href="?page=CreateBusinessCode">Create Business Code</a></li>
+ <li><a href="?page=UsingSQLMap">Using SQLMap Data Mapper</a></li>
+ <li><a href="?page=UserClassAndExceptions">User Class and Exceptions</a></li>
+ <li><a href="?page=MoreTests">More Tests</a></li>
+</ul>
+
+</div>
+
+
+
+</div> \ No newline at end of file