diff options
author | Roberto E. Escobar | 2015-02-04 00:18:00 +0000 |
---|---|---|
committer | Roberto Escobar | 2015-02-05 17:35:46 +0000 |
commit | 36a84055af7bca853cf9a15238566f848897fb43 (patch) | |
tree | 9ffefe86bd6bedc67b31ed3b956c3b23c8c9a374 /plugins/org.eclipse.osee.jaxrs.server | |
parent | 964966f472f82439ceac6c9fc277b23c0f6cc7fa (diff) | |
download | org.eclipse.osee-36a84055af7bca853cf9a15238566f848897fb43.tar.gz org.eclipse.osee-36a84055af7bca853cf9a15238566f848897fb43.tar.xz org.eclipse.osee-36a84055af7bca853cf9a15238566f848897fb43.zip |
feature: Update HTML to use OSS AJAX libs
Add OSS Ajax Bundle to x.core
Ensure all HTML using bootstrap follows bootstrap
simple template format.
Ensure all HTML produces valid XML.
Change-Id: Ibd082161c6f83024ec315e61de4f7b2204497684
Diffstat (limited to 'plugins/org.eclipse.osee.jaxrs.server')
6 files changed, 115 insertions, 61 deletions
diff --git a/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/authorization_code.html b/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/authorization_code.html index ba48105ab64..445b9645bc3 100644 --- a/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/authorization_code.html +++ b/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/authorization_code.html @@ -1,10 +1,19 @@ -<!DOCTYPE HTML> +<!DOCTYPE html> <html lang="en"> -<head> -<link rel="stylesheet" href="/lib/css/bootstrap.min.css"> -<meta name="viewport" content="width=device-width, initial-scale=1"></meta> -<meta charset="UTF-8"> -<title>OSEE - OAuth2 Registration Code</title> + <head> + <meta charset="UTF-8"></meta> + <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta> + <meta name="viewport" content="width=device-width, initial-scale=1"></meta> + + <link rel="stylesheet" type="text/css" href="/ajax/libs/bootstrap/3.3.2/css/bootstrap.min.css"></link> + + <title>OSEE - OAuth2 Registration Code</title> + + <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> + <!--[if lt IE 9]> + <script src="/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script> + <script src="/ajax/libs/respond/1.4.2/respond.min.js"></script> + <![endif]--> </head> <body> <div class="container"> diff --git a/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/authorize_form.html b/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/authorize_form.html index 143d51de3cc..74b7a781a12 100644 --- a/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/authorize_form.html +++ b/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/authorize_form.html @@ -1,10 +1,19 @@ -<!DOCTYPE HTML> +<!DOCTYPE html> <html lang="en"> -<head> -<link rel="stylesheet" href="/lib/css/bootstrap.min.css"> -<meta name="viewport" content="width=device-width, initial-scale=1"></meta> -<meta charset="UTF-8"> -<title>OSEE - OAuth2 Authorization</title> + <head> + <meta charset="UTF-8"></meta> + <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta> + <meta name="viewport" content="width=device-width, initial-scale=1"></meta> + + <link rel="stylesheet" type="text/css" href="/ajax/libs/bootstrap/3.3.2/css/bootstrap.min.css"></link> + + <title>OSEE - OAuth2 Authorization</title> + + <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> + <!--[if lt IE 9]> + <script src="/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script> + <script src="/ajax/libs/respond/1.4.2/respond.min.js"></script> + <![endif]--> </head> <body> <div class="container"> diff --git a/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/client_registration.html b/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/client_registration.html index d7f66e997ba..271f5fc6f79 100644 --- a/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/client_registration.html +++ b/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/client_registration.html @@ -1,10 +1,19 @@ -<!DOCTYPE HTML> +<!DOCTYPE html> <html lang="en"> -<head> -<link rel="stylesheet" href="/lib/css/bootstrap.min.css"> -<meta name="viewport" content="width=device-width, initial-scale=1"></meta> -<meta charset="UTF-8"> -<title>OSEE - OAuth2 Client Registration Confirmation</title> + <head> + <meta charset="UTF-8"></meta> + <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta> + <meta name="viewport" content="width=device-width, initial-scale=1"></meta> + + <link rel="stylesheet" type="text/css" href="/ajax/libs/bootstrap/3.3.2/css/bootstrap.min.css"></link> + + <title>OSEE - OAuth2 Client Registration Confirmation</title> + + <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> + <!--[if lt IE 9]> + <script src="/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script> + <script src="/ajax/libs/respond/1.4.2/respond.min.js"></script> + <![endif]--> </head> <body> <div class="container"> diff --git a/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/client_registration_form.html b/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/client_registration_form.html index 95532f4bbb7..113520e74cb 100644 --- a/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/client_registration_form.html +++ b/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/client_registration_form.html @@ -1,10 +1,20 @@ -<!DOCTYPE HTML> +<!DOCTYPE html> <html lang="en"> -<head> -<link rel="stylesheet" href="/lib/css/bootstrap.min.css"> -<meta name="viewport" content="width=device-width, initial-scale=1"></meta> -<meta charset="UTF-8"> -<title>OSEE - OAuth2 Client Registration</title> + <head> + <meta charset="UTF-8"></meta> + <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta> + <meta name="viewport" content="width=device-width, initial-scale=1"></meta> + + <link rel="stylesheet" type="text/css" href="/ajax/libs/bootstrap/3.3.2/css/bootstrap.min.css"></link> + + <title>OSEE - OAuth2 Client Registration</title> + + <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> + <!--[if lt IE 9]> + <script src="/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script> + <script src="/ajax/libs/respond/1.4.2/respond.min.js"></script> + <![endif]--> + <script type="text/javascript"> function reloadImageURL() { var inputElement = document.getElementById('applicationLogo'); diff --git a/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/error_template.html b/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/error_template.html index 0541e1c5e47..ec3e1e79fd6 100644 --- a/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/error_template.html +++ b/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/error_template.html @@ -1,22 +1,19 @@ -<!DOCTYPE HTML> +<!DOCTYPE html> <html lang="en"> -<head> -<link rel="stylesheet" href="/lib/css/bootstrap.min.css"> -<meta name="viewport" content="width=device-width, initial-scale=1"></meta> -<meta charset="UTF-8"> -<title>OSEE Error</title> -<script type="text/javascript"> - function toggleDisplay(id) { - var element = document.getElementById(id).style - element.display = (element.display == 'none') ? 'block' : 'none'; - } - function toggleAllLocationElements() { - for (var i = 0; !(i >= document.all.locationElement.length); i++) { - document.all.locationElement[i].style.display == (document.all.locationElement[i].style.display == 'none') ? 'block' - : 'none'; - } - } -</script> + <head> + <meta charset="UTF-8"></meta> + <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta> + <meta name="viewport" content="width=device-width, initial-scale=1"></meta> + + <link rel="stylesheet" type="text/css" href="/ajax/libs/bootstrap/3.3.2/css/bootstrap.min.css"></link> + + <title>OSEE Error</title> + + <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> + <!--[if lt IE 9]> + <script src="/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script> + <script src="/ajax/libs/respond/1.4.2/respond.min.js"></script> + <![endif]--> </head> <body> <div class="container"> @@ -50,7 +47,19 @@ </div> </div> </div> - </div> + + <script type="text/javascript"> + function toggleDisplay(id) { + var element = document.getElementById(id).style + element.display = (element.display == 'none') ? 'block' : 'none'; + } + function toggleAllLocationElements() { + for (var i = 0; !(i >= document.all.locationElement.length); i++) { + document.all.locationElement[i].style.display == (document.all.locationElement[i].style.display == 'none') ? 'block' + : 'none'; + } + } +</script> </body> </html> diff --git a/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/oauth_error.html b/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/oauth_error.html index 0e685c0fb0b..d410a2ebc29 100644 --- a/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/oauth_error.html +++ b/plugins/org.eclipse.osee.jaxrs.server/OSEE-INF/templates/oauth_error.html @@ -1,22 +1,31 @@ -<!DOCTYPE HTML> +<!DOCTYPE html> <html lang="en"> -<head> -<link rel="stylesheet" href="/lib/css/bootstrap.min.css"> -<meta name="viewport" content="width=device-width, initial-scale=1"></meta> -<meta charset="UTF-8"> -<title>OSEE Error</title> + <head> + <meta charset="UTF-8"></meta> + <meta http-equiv="X-UA-Compatible" content="IE=edge"></meta> + <meta name="viewport" content="width=device-width, initial-scale=1"></meta> + + <link rel="stylesheet" type="text/css" href="/ajax/libs/bootstrap/3.3.2/css/bootstrap.min.css"></link> + + <title>OSEE Error</title> + + <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> + <!--[if lt IE 9]> + <script src="/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script> + <script src="/ajax/libs/respond/1.4.2/respond.min.js"></script> + <![endif]--> <script type="text/javascript"> - function toggleDisplay(id) { - var element = document.getElementById(id).style - element.display = (element.display == 'none') ? 'block' : 'none'; - } - function toggleAllLocationElements() { - for (var i = 0; !(i >= document.all.locationElement.length); i++) { - document.all.locationElement[i].style.display == (document.all.locationElement[i].style.display == 'none') ? 'block' - : 'none'; - } - } -</script> + function toggleDisplay(id) { + var element = document.getElementById(id).style + element.display = (element.display == 'none') ? 'block' : 'none'; + } + function toggleAllLocationElements() { + for (var i = 0; !(i >= document.all.locationElement.length); i++) { + document.all.locationElement[i].style.display == (document.all.locationElement[i].style.display == 'none') ? 'block' + : 'none'; + } + } +</script> </head> <body> <div class="container"> @@ -46,7 +55,6 @@ </div> </div> </div> - </div> </body> </html> |