summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/edit/htdocs/account
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-06-13 07:57:39 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2011-06-13 07:57:39 +0000
commit2d73791e1d6fe81a262df6ffcc06875462d585b7 (patch)
treeb8a9bfb3fb75ec1a4613489e0515a7066dc6adb0 /sca-cpp/trunk/modules/edit/htdocs/account
parentd3bdc051ec4a6499c73d00e80f744aa375a01687 (diff)
Add the ability to configure page headers and footers.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135049 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/edit/htdocs/account')
-rw-r--r--sca-cpp/trunk/modules/edit/htdocs/account/index.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/sca-cpp/trunk/modules/edit/htdocs/account/index.html b/sca-cpp/trunk/modules/edit/htdocs/account/index.html
index 8f23b8c59c..d83ca4562b 100644
--- a/sca-cpp/trunk/modules/edit/htdocs/account/index.html
+++ b/sca-cpp/trunk/modules/edit/htdocs/account/index.html
@@ -25,13 +25,16 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<link rel="apple-touch-icon" href="/public/touchicon.png"/>
<link rel="stylesheet" type="text/css" href="/ui-min.css"/>
-<script type="text/javascript" src="/config.js"></script>
<script type="text/javascript" src="/all-min.js"></script>
<script type="text/javascript" src="/menu.js"></script>
</head>
-<body class="delayed" onorientationchange="ui.reload();">
+<body class="delayed" onload="ui.onload();">
<div id="bodydiv" class="devicewidth">
+<div id="headdiv" class="hsection">
+<script type="text/javascript" src="/headconfig.js"></script>
+</div>
+
<div id="menu"></div>
<table style="width: 100%;">
@@ -47,7 +50,7 @@
</tr>
</table>
-<form id="userForm" style="position: absolute; top: 90px; left: 0px; width: 100%">
+<form id="userForm">
<table style="width: 100%;">
<tr><tr><td><b>Photo:</b></td></tr>
<tr><td><img src="/public/app.png" style="width: 50px; height: 50px; vertical-align: top;"></td></tr>
@@ -93,8 +96,6 @@
</table>
</form>
-</div>
-
<script type="text/javascript">
// Init service references
var editWidget = sca.component("EditWidget");
@@ -111,9 +112,6 @@ $('userNameHeader').innerHTML = username;
// Load the menu bar
displaymenu();
-// Show the page
-ui.showbody();
-
/**
* The current account entry and corresponding saved XML content.
*/
@@ -219,9 +217,13 @@ $('userForm').onsubmit = function() {
// Get the user's account
getaccount(username);
-
</script>
+<div id="footdiv" class="fsection">
+<script type="text/javascript" src="/footconfig.js"></script>
+</div>
+
+</div>
</body>
</html>