diff options
Diffstat (limited to 'demos/personal/protected/Pages')
-rw-r--r-- | demos/personal/protected/Pages/Albums.page | 9 | ||||
-rw-r--r-- | demos/personal/protected/Pages/Home.page | 58 | ||||
-rw-r--r-- | demos/personal/protected/Pages/Layout.tpl | 61 | ||||
-rw-r--r-- | demos/personal/protected/Pages/Links.page | 68 | ||||
-rw-r--r-- | demos/personal/protected/Pages/Register.page | 50 | ||||
-rw-r--r-- | demos/personal/protected/Pages/Resume.page | 80 | ||||
-rw-r--r-- | demos/personal/protected/Pages/UserLogin.page | 2 | ||||
-rw-r--r-- | demos/personal/protected/Pages/config.xml | 2 |
8 files changed, 303 insertions, 27 deletions
diff --git a/demos/personal/protected/Pages/Albums.page b/demos/personal/protected/Pages/Albums.page new file mode 100644 index 00000000..74707af3 --- /dev/null +++ b/demos/personal/protected/Pages/Albums.page @@ -0,0 +1,9 @@ +<com:TContent ID="content"> +<h3>Welcome to My Photo Galleries</h3> + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod + tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis + nostrud exercitation consequat. esse molestie consequat, vel willum.</p> + <hr /> + + +</com:TContent>
\ No newline at end of file diff --git a/demos/personal/protected/Pages/Home.page b/demos/personal/protected/Pages/Home.page index 204d4c6f..2c374229 100644 --- a/demos/personal/protected/Pages/Home.page +++ b/demos/personal/protected/Pages/Home.page @@ -1,3 +1,57 @@ -<com:TContent ID="main">
-main content
+<com:TContent ID="sidebar">
+
+<div class="login">
+ <h4>Login to Site</h4>
+ <com:TLabel ID="UserNameLabel" ForControl="UserName" Text="User Name" CssClass="label"/>
+ <com:TTextBox ID="UserName" AccessKey="u" CssClass="textbox"/>
+ <com:TRequiredFieldValidator ControlToValidate="UserName" ErrorMessage="User Name is required."/>
+
+ <com:TLabel ID="PasswordLabel" ForControl="Password" Text="Password" CssClass="label"/>
+ <com:TTextBox ID="Password" AccessKey="p" CssClass="textbox" TextMode="Password"/>
+ <com:TRequiredFieldValidator ControlToValidate="Password" ErrorMessage="Password is required."/>
+
+ <div>
+ <com:TCheckBox ID="RememberMe" Text="Remember me next time"/>
+ </div>
+
+ <com:TImageButton ID="LoginButton" ImageUrl="<%=$this->Page->Theme->BaseUrl.'/images/button-login.gif'%>" CssClass="button"/>
+ or
+ <a href="<%=$this->Service->constructUrl('Register')%>" class="button"><img src="<%=$this->Page->Theme->BaseUrl.'/images/button-create.gif'%>" alt="Create a new account"/></a>
+ <p></p>
+</div>
+<!-- <h4><span id="ctl00_Main_LoginArea_LoginName1">Welcome Friend!</span></h4>-->
+<hr />
+<table cellspacing="0" cellpadding="0" border="0" id="ctl00_Main_FormView1" style="border-width:0px;border-collapse:collapse;"></table>
+<h4>My Latest Piece of Work</h4>
+<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
+</com:TContent>
+
+<com:TContent ID="content">
+
+<h3>Welcome to My Site</h3>
+<p>This is my personal site. In it you will find lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam. </p>
+<hr/>
+<div id="whatsnew">
+ <h4>What's New</h4>
+ <p>Lorem <a href="#">ipsum</a> dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod.</p>
+ <p>Lorem <a href="#">ipsum</a> dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod.</p>
+</div>
+<div id="coollinks">
+ <h4>Cool Links</h4>
+ <ul class="link">
+ <li><a href="#">Lorem ipsum dolositionr</a></li>
+ <li><a href="#">Lorem ipsum dolositionr</a></li>
+ <li><a href="#">Lorem ipsum dolositionr</a></li>
+ <li><a href="#">Lorem ipsum dolositionr</a></li>
+ <li><a href="#">Lorem ipsum dolositionr</a></li>
+ </ul>
+</div>
+<hr/>
+<h4>What's Up Lately </h4>
+<p>Lorem ipsum dolor sit amet, <a href="#">consectetuer</a>adipiscing elit, sed diam nonummy nibh euismod tincidunt utlaoreetdolore magna aliquam erat volutpat.Ut wisienim adminim veniam, quis nostrud exercitationconsequat. Duisautem veleum iriuredolor in hendrerit in vulputatevelit esse molestieconsequat, vel willum.</p>
+<p>Lorem ipsum dolor sit amet, consectetueradipiscing elit, sed diam nonummy nibh <a href="#">euismod tincidunt ut</a>laoreetdolore magna aliquam erat volutpat.Ut wisienim adminim veniam, quis nostrud exercitationconsequat. Duisautem veleum iriuredolor in hendrerit in vulputatevelit esse molestieconsequat, vel willum.</p>
+<p>Lorem<a href="#"> ipsum dolor sit amet</a>, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt utlaoreetdolore magna aliquam erat volutpat.Ut wisienim adminim veniam, quis nostrud exercitationconsequat. Duisautem veleum iriuredolor in hendrerit in vulputatevelit esse molestieconsequat, vel willum.</p>
+<p>Lorem ipsum dolor sit amet, consectetueradipiscing elit, sed diam nonummy nibh euismod tincidunt utlaoreetdolore magna aliquam erat volutpat.Ut wisi enim adminim veniam, quis nostrud exercitationconsequat. <a href="#">Duisautem veleum</a> iriuredolor in hendrerit in vulputatevelit esse molestieconsequat, vel willum.</p>
+<p>Lorem ipsum dolor sit amet, consectetueradipiscing elit, sed diam nonummy nibh euismod tincidunt utlaoreetdolore magna aliquam erat volutpat.Ut wisi enim adminim veniam, quis nostrud exercitationconsequat. <a href="#">Duisautem veleum</a> iriuredolor in hendrerit in vulputatevelit esse molestieconsequat, vel willum.</p>
+
</com:TContent>
\ No newline at end of file diff --git a/demos/personal/protected/Pages/Layout.tpl b/demos/personal/protected/Pages/Layout.tpl index 897bf04b..8236be4c 100644 --- a/demos/personal/protected/Pages/Layout.tpl +++ b/demos/personal/protected/Pages/Layout.tpl @@ -1,42 +1,57 @@ <!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="My Personal WebSite" />
-
+<com:THead Title="Your Name Here | Home" />
<body>
-
<com:TForm>
<div class="header">
-<h1>Your Name Here</h1>
-<h2>My Personal Site</h2>
-<div class="nav">
-<a href="<%=$this->Service->constructUrl('Home') %>" >HOME</a> |
-<a href="<%=$this->Service->constructUrl('Blog') %>" >BLOG</a> |
-<a href="<%=$this->Service->constructUrl('Albums') %>" >ALBUMS</a> |
-<a href="<%=$this->Service->constructUrl('Links') %>" >LINKS</a> |
-<a href="<%=$this->Service->constructUrl('Settings') %>" >SETTINGS</a> |
-<com:THyperLink
+ <h1>Your Name Here</h1>
+ <h2>My Personal Site</h2>
+ <div class="menua">
+ <a href="<%=$this->Service->constructUrl('Home') %>" >HOME</a> |
+ <a href="<%=$this->Service->constructUrl('Resume') %>" >RESUME</a> |
+ <a href="<%=$this->Service->constructUrl('Links') %>" >LINKS</a> |
+ <a href="<%=$this->Service->constructUrl('Albums') %>" >ALBUMS</a> |
+ <a href="<%=$this->Service->constructUrl('Register') %>" >REGISTER</a>
+ </div>
+
+ <div class="nav">
+ <a href="<%=$this->Service->constructUrl('Home') %>" >HOME</a> |
+ <com:THyperLink
NavigateUrl=<%=$this->Service->constructUrl('UserLogin') %>
Text="LOGIN"
Visible=<%= $this->User->IsGuest %>
/>
-<com:TLinkButton
+ <com:TLinkButton
Text="LOGOUT"
Visible=<%= !$this->User->IsGuest %>
OnClick="logout"
/>
+ </div>
</div>
+
+<div class="shim column"></div>
+
+<div class="page" id="home">
+ <div id="sidebar">
+ <com:TContentPlaceHolder ID="sidebar"/>
+ </div>
+ <div id="content">
+ <com:TContentPlaceHolder ID="content"/>
+ </div>
</div>
-<hr/>
-<div class="main">
-<com:TContentPlaceHolder ID="main" />
-</div>
-<hr/>
-<div class="footer">
- Copyright © 2006 Your Name here.<br/>
- Powered by <a href="http://www.pradosoft.com/">PRADO</a>.
+
+<div class="footerbg">
+ <div class="footer">
+ <a href="<%=$this->Service->constructUrl('Home') %>" >HOME</a> |
+ <a href="<%=$this->Service->constructUrl('Resume') %>" >RESUME</a> |
+ <a href="<%=$this->Service->constructUrl('Links') %>" >LINKS</a> |
+ <a href="<%=$this->Service->constructUrl('Albums') %>" >ALBUMS</a> |
+ <a href="<%=$this->Service->constructUrl('Register') %>" >REGISTER</a>
+ <br/>
+ Copyright © 2006 Your Name here.<br/>
+ Powered by <a href="http://www.pradosoft.com/">PRADO</a>.
+ </div>
</div>
</com:TForm>
diff --git a/demos/personal/protected/Pages/Links.page b/demos/personal/protected/Pages/Links.page new file mode 100644 index 00000000..2b2e85bc --- /dev/null +++ b/demos/personal/protected/Pages/Links.page @@ -0,0 +1,68 @@ +<com:TContent ID="content"> + <h3>About the Links</h3> + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod + tincidunt ut laoreet dolore magna erat volutpat.</p> + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod + tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis + nostrud exercitation consequat. esse molestie consequat, vel willum.</p> + <h4>Top 5</h4> + <dl> + <dt><a href="#">Linked site name</a></dt> + + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + <dd>A description of the web site goes here.</dd> + </dl> + <h4>Cool Site Designs</h4> + <dl> + <dt><a href="#">Linked site name</a></dt> + + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + <dd>A description of the web site goes here.</dd> + </dl> + <h4>Photo Sites</h4> + <dl> + <dt><a href="#">Linked site name</a></dt> + + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + <dd>A description of the web site goes here.</dd> + </dl> + <h4>Resources</h4> + <dl> + <dt><a href="#">Linked site name</a></dt> + + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + + <dd>A description of the web site goes here.</dd> + <dt><a href="#">Linked site name</a></dt> + <dd>A description of the web site goes here.</dd> + </dl> +</com:TContent>
\ No newline at end of file diff --git a/demos/personal/protected/Pages/Register.page b/demos/personal/protected/Pages/Register.page new file mode 100644 index 00000000..090d9e65 --- /dev/null +++ b/demos/personal/protected/Pages/Register.page @@ -0,0 +1,50 @@ +<com:TContent ID="sidebar"> + +</com:TContent> + +<com:TContent ID="content"> + +<h3>Request an Account</h3> + <p>Accounts will be activated pending the approval of the Administrator.</p> + <table cellspacing="0" cellpadding="0" border="0" id="ctl00_Main_CreateUserWizard1" style="border-collapse:collapse;"> + <tr style="height:100%;"> + + <td><table cellspacing="0" cellpadding="0" border="0" style="height:100%;width:100%;border-collapse:collapse;"> + <tr> + <td style="height:100%;width:100%;"><table border="0" style="height:100%;width:100%;"> + <tr> + <td align="center" colspan="2">Sign Up for Your New Account</td> + </tr><tr> + <td align="right"><label for="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_UserName">User Name:</label></td><td><input name="ctl00$Main$CreateUserWizard1$CreateUserStepContainer$UserName" type="text" id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_UserName" /><span id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_UserNameRequired" title="User Name is required." style="color:Red;visibility:hidden;">*</span></td> + + </tr><tr> + <td align="right"><label for="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_Password">Password:</label></td><td><input name="ctl00$Main$CreateUserWizard1$CreateUserStepContainer$Password" type="password" id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_Password" /><span id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_PasswordRequired" title="Password is required." style="color:Red;visibility:hidden;">*</span></td> + </tr><tr> + <td align="right"><label for="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_ConfirmPassword">Confirm Password:</label></td><td><input name="ctl00$Main$CreateUserWizard1$CreateUserStepContainer$ConfirmPassword" type="password" id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_ConfirmPassword" /><span id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_ConfirmPasswordRequired" title="Confirm Password is required." style="color:Red;visibility:hidden;">*</span></td> + </tr><tr> + <td align="right"><label for="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_Email">E-mail:</label></td><td><input name="ctl00$Main$CreateUserWizard1$CreateUserStepContainer$Email" type="text" id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_Email" /><span id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_EmailRequired" title="E-mail is required." style="color:Red;visibility:hidden;">*</span></td> + + </tr><tr> + <td align="right"><label for="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_Question">Security Question:</label></td><td><input name="ctl00$Main$CreateUserWizard1$CreateUserStepContainer$Question" type="text" id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_Question" /><span id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_QuestionRequired" title="Security question is required." style="color:Red;visibility:hidden;">*</span></td> + </tr><tr> + <td align="right"><label for="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_Answer">Security Answer:</label></td><td><input name="ctl00$Main$CreateUserWizard1$CreateUserStepContainer$Answer" type="text" id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_Answer" /><span id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_AnswerRequired" title="Security answer is required." style="color:Red;visibility:hidden;">*</span></td> + </tr><tr> + <td align="center" colspan="2"><span id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_PasswordCompare" style="color:Red;display:none;">The Password and Confirmation Password must match.</span></td> + + </tr><tr> + <td align="center" colspan="2"><span id="ctl00_Main_CreateUserWizard1_CreateUserStepContainer_EmailRegExp" style="color:Red;display:none;">The email format is invalid.</span></td> + </tr> + </table></td> + </tr> + </table></td> + </tr><tr> + <td align="right"><table cellspacing="5" cellpadding="5" border="0" style="height:100%;width:100%;"> + + <tr align="right"> + <td align="right"><input type="submit" name="ctl00$Main$CreateUserWizard1$__CustomNav0$StepNextButtonButton" value="Create User" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$Main$CreateUserWizard1$__CustomNav0$StepNextButtonButton", "", true, "CreateUserWizard1", "", false, false))" id="ctl00_Main_CreateUserWizard1___CustomNav0_StepNextButtonButton" /></td> + </tr> + </table></td> + </tr> +</table> + +</com:TContent>
\ No newline at end of file diff --git a/demos/personal/protected/Pages/Resume.page b/demos/personal/protected/Pages/Resume.page new file mode 100644 index 00000000..06ed845c --- /dev/null +++ b/demos/personal/protected/Pages/Resume.page @@ -0,0 +1,80 @@ +<com:TContent ID="sidebar"> + <table border="0" cellpadding="0" cellspacing="0" class="photo-frame" id="photo"> + <tr> + <td class="topx--"></td> + <td class="top-x-"></td> + <td class="top--x"></td> + </tr> + <tr> + <td class="midx--"></td> + <td><img src="<%=$this->Page->Theme->BaseUrl.'/images/resume-photo.jpg'%>" class="photo_198" style="border:4px solid white" alt="Resume Photo"/></td> + + <td class="mid--x"></td> + </tr> + <tr> + <td class="botx--"></td> + <td class="bot-x-"></td> + <td class="bot--x"></td> + </tr> + </table> +</com:TContent> + +<com:TContent ID="content"> + +<h3>Your Name Here</h3> + + <p>resume 1/23/04</p> + <p>555-555-1212 fax<br /> + 555-555-1212 voice<br /> + someone@example.com<br /> + www.example.com<br /> + City, State Country</p> + + <p><a href="#"><img src="<%=$this->Page->Theme->BaseUrl.'/images/button-dwn_res.gif'%>" alt="download resume in word format" style="border-width:0px;" /></a></p> + <h4>Objective</h4> + <p class="first">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p> + <h4>Experience</h4> + <p class="first">1999 - 2004 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br /> + Sed diam nonummy nibh euismod </p> + + <ul> + <li>Ttincidunt ut laoreet dolore magna aliquam erat volutpat. </li> + <li>Ut wisi enim ad minim veniam, quis nostrud exercitation consequat. </li> + <li>Duis autem veleum iriure dolor in hendrerit in vel willum.</li> + </ul> + <p>1995 - 1999 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br /> + + Sed diam nonummy nibh euismod </p> + <ul> + <li>Ttincidunt ut laoreet dolore magna aliquam erat volutpat. </li> + <li>Ut wisi enim ad minim veniam, quis nostrud exercitation consequat. </li> + <li>Duis autem veleum iriure dolor in hendrerit in vel willum.</li> + </ul> + <p>1993 - 1995 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br /> + + Sed diam nonummy nibh euismod </p> + <ul> + <li>Ttincidunt ut laoreet dolore magna aliquam erat volutpat. </li> + <li>Ut wisi enim ad minim veniam, quis nostrud exercitation consequat. </li> + <li>Duis autem veleum iriure dolor in hendrerit in vel willum.</li> + </ul> + <p>1987 - 1993 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br /> + + Sed diam nonummy nibh euismod </p> + <ul> + <li>Ttincidunt ut laoreet dolore magna aliquam erat volutpat. </li> + <li>Ut wisi enim ad minim veniam, quis nostrud exercitation consequat. </li> + <li>Duis autem veleum iriure dolor in hendrerit in vel willum.</li> + </ul> + <h4>Education</h4> + + <p class="first">1984 - 1987 Lorem ipsum dolor sit amet, consectetuer adipiscing elit.<br /> + Sed diam nonummy nibh euismod </p> + <ul> + <li>Ttincidunt ut laoreet dolore magna aliquam erat volutpat. </li> + <li>Ut wisi enim ad minim veniam, quis nostrud exercitation consequat.</li> + </ul> + + <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p> + +</com:TContent>
\ No newline at end of file diff --git a/demos/personal/protected/Pages/UserLogin.page b/demos/personal/protected/Pages/UserLogin.page index 7054c884..8fb6019b 100644 --- a/demos/personal/protected/Pages/UserLogin.page +++ b/demos/personal/protected/Pages/UserLogin.page @@ -1,4 +1,4 @@ -<com:TContent ID="main" >
+<com:TContent ID="content" >
Username:
<com:TTextBox ID="Username" />
<com:TRequiredFieldValidator
diff --git a/demos/personal/protected/Pages/config.xml b/demos/personal/protected/Pages/config.xml index fa047ceb..b080604e 100644 --- a/demos/personal/protected/Pages/config.xml +++ b/demos/personal/protected/Pages/config.xml @@ -4,5 +4,5 @@ <authorization>
<deny pages="Settings" users="?" />
</authorization>
- <pages MasterClass="Application.Pages.Layout" />
+ <pages MasterClass="Application.Pages.Layout" Theme="White" />
</configuration>
\ No newline at end of file |