summaryrefslogtreecommitdiff
path: root/app/php/pages
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-03-09 16:21:01 +0100
committeremkael <emkael@tlen.pl>2016-03-09 16:21:01 +0100
commit558770dc8aedf9d34daa5dffd0bf251a4f0cb727 (patch)
tree13bf9fa3f7f87380e395e0ef38f8e539dbaac401 /app/php/pages
parent8bcee8a976362bb2b23af6306cfcd1339380bd60 (diff)
* common page template
Diffstat (limited to 'app/php/pages')
-rw-r--r--app/php/pages/Admin.page2
-rw-r--r--app/php/pages/Home.page11
-rw-r--r--app/php/pages/Login.page4
-rw-r--r--app/php/pages/Profile.page4
-rw-r--r--app/php/pages/Signup.page4
5 files changed, 11 insertions, 14 deletions
diff --git a/app/php/pages/Admin.page b/app/php/pages/Admin.page
index 431a6fb..8b13789 100644
--- a/app/php/pages/Admin.page
+++ b/app/php/pages/Admin.page
@@ -1 +1 @@
-Page
+
diff --git a/app/php/pages/Home.page b/app/php/pages/Home.page
index 368b3e7..c247eb7 100644
--- a/app/php/pages/Home.page
+++ b/app/php/pages/Home.page
@@ -1,8 +1,3 @@
-<html>
-<head>
- <title>Welcome to PRADO</title>
-</head>
-<body>
-<h1>Welcome to PRADO!</h1>
-</body>
-</html> \ No newline at end of file
+<com:TContent ID="Content">
+ <h1>Welcome to PRADO!</h1>
+</com:TContent>
diff --git a/app/php/pages/Login.page b/app/php/pages/Login.page
index d0825a0..a2e5cd5 100644
--- a/app/php/pages/Login.page
+++ b/app/php/pages/Login.page
@@ -1,4 +1,4 @@
-<com:TForm>
+<com:TContent ID="Content">
Username: <com:TTextBox ID="Login" />
<com:TRequiredFieldValidator ControlToValidate="Login"
Display="Dynamic"
@@ -14,4 +14,4 @@
ErrorMessage="Username and password don't match" />
<br />
<com:TButton Text="Login" OnCommand="loginUser" />
-</com:TForm>
+</com:TContent>
diff --git a/app/php/pages/Profile.page b/app/php/pages/Profile.page
index 99455ed..b5dcf37 100644
--- a/app/php/pages/Profile.page
+++ b/app/php/pages/Profile.page
@@ -1 +1,3 @@
-Profile
+<com:TContent ID="Content">
+ Profile
+</com:TContent>
diff --git a/app/php/pages/Signup.page b/app/php/pages/Signup.page
index 0e35da2..a833da7 100644
--- a/app/php/pages/Signup.page
+++ b/app/php/pages/Signup.page
@@ -1,4 +1,4 @@
-<com:TForm>
+<com:TContent ID="Content">
Username: <com:TTextBox ID="Login" />
<com:TRequiredFieldValidator
ControlToValidate="Login"
@@ -34,4 +34,4 @@
<br />
<com:TButton Text="Create" OnCommand="registerUser" />
<com:TValidationSummary />
-</com:TForm>
+</com:TContent>