diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-17 07:26:48 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-01-17 07:26:48 +0000 |
commit | 7a003f5bbf49082dcf24105aa6f7bc8c6650c255 (patch) | |
tree | ce7f534a8b74dff0f5c280ccaa7b862a29b27023 /sca-cpp/trunk/samples/store-cluster | |
parent | f90791f2f7b48d7e08ce08f7ead498e1191a96b8 (diff) |
Use a common stylesheet in all samples.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1059769 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/samples/store-cluster')
9 files changed, 88 insertions, 13 deletions
diff --git a/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/index.html b/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/index.html index 238ed701f0..4cd219bc9c 100644 --- a/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/index.html +++ b/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/index.html @@ -18,6 +18,10 @@ -->
<html>
<head>
+<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/>
+<meta name="apple-mobile-web-app-capable" content="yes"/>
+<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
+<link rel="stylesheet" type="text/css" href="/ui.css"/>
<title>Store</title>
<script type="text/javascript" src="/component.js"></script>
@@ -120,11 +124,11 @@ function init() { }
}
</script>
-
</head>
<body onload="init()">
<h1>Jane's Store</h1>
+<br/>
<div id="store">
<h2>Catalog</h2>
<form name="catalogForm">
diff --git a/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/login/index.html b/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/login/index.html index 2eecc74b92..4e3b5a2f61 100644 --- a/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/login/index.html +++ b/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/login/index.html @@ -17,7 +17,17 @@ under the License. --> -<html><body><h1>Sign in with an OpenID or OAuth provider</h1> +<html> +<head> +<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/> +<meta name="apple-mobile-web-app-capable" content="yes"/> +<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/> +<link rel="stylesheet" type="text/css" href="/ui.css"/> +<title>Sign in</title> +</head> +<body> +<h1>Sign in with an OpenID or OAuth provider</h1> +<br/> <script type="text/javascript"> function queryParams() { @@ -191,4 +201,5 @@ function withTwitter() { <input type="hidden" name="mod_oauth1_step" value="authorize"/> </form> -</body></html> +</body> +</html> diff --git a/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/logout/index.html b/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/logout/index.html index 02a92d1b31..37c2594ffb 100644 --- a/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/logout/index.html +++ b/sca-cpp/trunk/samples/store-cluster/htdocs/domains/jane/logout/index.html @@ -17,8 +17,17 @@ under the License. --> -<html><body> +<html> +<head> +<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/> +<meta name="apple-mobile-web-app-capable" content="yes"/> +<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/> +<link rel="stylesheet" type="text/css" href="/ui.css"/> +<title>Sign out</title> +</head> +<body> <h1>Sign out</h1> +<br/> <form name="signout" action="/login" method="GET"> <script type="text/javascript"> @@ -30,4 +39,5 @@ function submitSignout() { </script> <input type="button" onclick="submitSignout()" value="Sign out"/> </form> -</body></html> +</body> +</html> diff --git a/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/index.html b/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/index.html index c1cfc59aa7..c32dcd9d53 100644 --- a/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/index.html +++ b/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/index.html @@ -18,6 +18,10 @@ -->
<html>
<head>
+<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/>
+<meta name="apple-mobile-web-app-capable" content="yes"/>
+<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
+<link rel="stylesheet" type="text/css" href="/ui.css"/>
<title>Store</title>
<script type="text/javascript" src="/component.js"></script>
@@ -120,11 +124,11 @@ function init() { }
}
</script>
-
</head>
<body onload="init()">
<h1>Joe's Store</h1>
+<br/>
<div id="store">
<h2>Catalog</h2>
<form name="catalogForm">
diff --git a/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/login/index.html b/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/login/index.html index 2eecc74b92..4e3b5a2f61 100644 --- a/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/login/index.html +++ b/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/login/index.html @@ -17,7 +17,17 @@ under the License. --> -<html><body><h1>Sign in with an OpenID or OAuth provider</h1> +<html> +<head> +<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/> +<meta name="apple-mobile-web-app-capable" content="yes"/> +<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/> +<link rel="stylesheet" type="text/css" href="/ui.css"/> +<title>Sign in</title> +</head> +<body> +<h1>Sign in with an OpenID or OAuth provider</h1> +<br/> <script type="text/javascript"> function queryParams() { @@ -191,4 +201,5 @@ function withTwitter() { <input type="hidden" name="mod_oauth1_step" value="authorize"/> </form> -</body></html> +</body> +</html> diff --git a/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/logout/index.html b/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/logout/index.html index 02a92d1b31..4a025af225 100644 --- a/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/logout/index.html +++ b/sca-cpp/trunk/samples/store-cluster/htdocs/domains/joe/logout/index.html @@ -17,8 +17,17 @@ under the License. --> -<html><body> +<html> +<head> +<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/> +<meta name="apple-mobile-web-app-capable" content="yes"/> +<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/> +<link rel="stylesheet" type="text/css" href="/ui.css"/> +<title>Sign out</title> +</head> +<body> <h1>Sign out</h1> +<br/> <form name="signout" action="/login" method="GET"> <script type="text/javascript"> diff --git a/sca-cpp/trunk/samples/store-cluster/htdocs/index.html b/sca-cpp/trunk/samples/store-cluster/htdocs/index.html index 21e32d7efc..018bac3a32 100644 --- a/sca-cpp/trunk/samples/store-cluster/htdocs/index.html +++ b/sca-cpp/trunk/samples/store-cluster/htdocs/index.html @@ -18,11 +18,16 @@ -->
<html>
<head>
+<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/>
+<meta name="apple-mobile-web-app-capable" content="yes"/>
+<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
+<link rel="stylesheet" type="text/css" href="/ui.css"/>
<title>Store</title>
</head>
<body>
<h1>Store</h1>
+<br/>
<p>For this sample to work, add the sample domain to your /etc/hosts as follows:<br/>
127.0.0.1 sca-store.com jane.sca-store.com joe.sca-store.com</p>
diff --git a/sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html b/sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html index 2eecc74b92..4e3b5a2f61 100644 --- a/sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html +++ b/sca-cpp/trunk/samples/store-cluster/htdocs/login/index.html @@ -17,7 +17,17 @@ under the License. --> -<html><body><h1>Sign in with an OpenID or OAuth provider</h1> +<html> +<head> +<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/> +<meta name="apple-mobile-web-app-capable" content="yes"/> +<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/> +<link rel="stylesheet" type="text/css" href="/ui.css"/> +<title>Sign in</title> +</head> +<body> +<h1>Sign in with an OpenID or OAuth provider</h1> +<br/> <script type="text/javascript"> function queryParams() { @@ -191,4 +201,5 @@ function withTwitter() { <input type="hidden" name="mod_oauth1_step" value="authorize"/> </form> -</body></html> +</body> +</html> diff --git a/sca-cpp/trunk/samples/store-cluster/htdocs/logout/index.html b/sca-cpp/trunk/samples/store-cluster/htdocs/logout/index.html index 02a92d1b31..37c2594ffb 100644 --- a/sca-cpp/trunk/samples/store-cluster/htdocs/logout/index.html +++ b/sca-cpp/trunk/samples/store-cluster/htdocs/logout/index.html @@ -17,8 +17,17 @@ under the License. --> -<html><body> +<html> +<head> +<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/> +<meta name="apple-mobile-web-app-capable" content="yes"/> +<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/> +<link rel="stylesheet" type="text/css" href="/ui.css"/> +<title>Sign out</title> +</head> +<body> <h1>Sign out</h1> +<br/> <form name="signout" action="/login" method="GET"> <script type="text/javascript"> @@ -30,4 +39,5 @@ function submitSignout() { </script> <input type="button" onclick="submitSignout()" value="Sign out"/> </form> -</body></html> +</body> +</html> |