diff options
author | Danilo Segan <danilo@canonical.com> | 2012-07-11 12:53:42 +0200 |
---|---|---|
committer | Danilo Segan <danilo@canonical.com> | 2012-07-11 12:53:42 +0200 |
commit | 7c8114019d11c897d39416b232f2dbb040b5b4d0 (patch) | |
tree | dbce6ff342660cf206c2cfd666f6c3accd74d790 /templates | |
parent | 577e1a711af00e92b5b1e21c801c04e6e49cf702 (diff) |
Restore django templates for licenses.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/licenses/samsung.html | 26 | ||||
-rw-r--r-- | templates/licenses/samsung.txt | 117 | ||||
-rw-r--r-- | templates/licenses/ste.html | 42 |
3 files changed, 36 insertions, 149 deletions
diff --git a/templates/licenses/samsung.html b/templates/licenses/samsung.html index 0d8565a..4554b8c 100644 --- a/templates/licenses/samsung.html +++ b/templates/licenses/samsung.html @@ -1,5 +1,6 @@ -<html> -<head> +{% extends "license.html" %} + +{% block header %} <title>License Agreement</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <style language="text/css"> @@ -25,7 +26,7 @@ font-size: 140%; font-weight: bold; text-align: center; - background-image: url(/licenses/exynos.png); + background-image: url(/static/exynos.png); background-repeat: no-repeat; height: 109px; } @@ -84,9 +85,9 @@ background: #9c5; } </style> -</head> -<body> +{% endblock %} +{% block content-header %} <div id="head"> <h1> </h1> @@ -95,20 +96,17 @@ <div id="content"> <div id="license-text"> -EULA.txt +{% endblock %} +{% block content-footer-top %} </div><!-- license-text --> <div id="actions"> <div style="float: left;">If accepting the license doesn't work, enable -cookies in your browser.</div> - -<a class="button button-accept" href="samsung-accepted.html">Accept the license</a> -<a class="button button-decline" href="samsung-declined.html">Decline the license</a> - +cookies in your browser.</div><br /> +{% endblock %} +{% block content-footer-bottom %} </div> </div><!-- content --> - -</body> -</html> +{% endblock %} diff --git a/templates/licenses/samsung.txt b/templates/licenses/samsung.txt index 27443a2..43a1d11 100644 --- a/templates/licenses/samsung.txt +++ b/templates/licenses/samsung.txt @@ -1,101 +1,6 @@ -<html> -<head> -<title>License Agreement</title> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> -<style language="text/css"> - html, body { - background: #aaa; - color: black; - margin: 0; - padding: 0; - font-size: 11pt; - font-family: Sans; - } - - div#head { - height: 120px; - background: #e80; - padding: 2em; - } - - h1 { - padding-left: 200px; - margin: 0; - color: white; - font-size: 140%; - font-weight: bold; - text-align: center; - background-image: url(/licenses/exynos.png); - background-repeat: no-repeat; - height: 109px; - } - - #content { - margin: 0 auto; - min-width: 600px; - max-width: 920px; - } - - h2 { - font-size: 120%; - } - - #license-text { - background: white; - color: black; - margin: 2em; - padding: 2em; - text-align: left; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; - border-radius: 10px; - } - - #actions { - padding: 2em; - font-size: 80%; - margin-bottom: 4em; - } - - #actions .button { - background: #e80; - color: white; - text-decoration: none; - font-weight: bold; - padding: 10px; - margin-left: 10px; - float: right; - font-size: 110%; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - } - - #actions .button-decline:hover { - background: #f90; - } - - #actions .button-accept { - background: #8b4; - } - - #actions .button-accept:hover { - background: #9c5; - } -</style> -</head> -<body> - -<div id="head"> -<h1> - SAMSUNG DEVELOPMENT TOOL KIT END-USER LICENSE AGREEMENT FOR LINARO - DEVELOPERS (“Agreement”) -</h1> -</div> - -<div id="content"> - -<div id="license-text"> +SAMSUNG DEVELOPMENT TOOL KIT END-USER LICENSE AGREEMENT FOR LINARO +DEVELOPERS (“Agreement”) + <p>IMPORTANT — PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY.</p> <p> @@ -361,19 +266,3 @@ This Agreement sets forth the entire Agreement between Samsung and Licensee relating to this subject matter. </p> -</div><!-- license-text --> - -<div id="actions"> - -<div style="float: left;">If accepting the license doesn't work, enable -cookies in your browser.</div> - -<a class="button button-accept" href="samsung-accepted.html">Accept the license</a> -<a class="button button-decline" href="samsung-declined.html">Decline the license</a> - -</div> - -</div><!-- content --> - -</body> -</html> diff --git a/templates/licenses/ste.html b/templates/licenses/ste.html index 6752539..99ad968 100644 --- a/templates/licenses/ste.html +++ b/templates/licenses/ste.html @@ -1,5 +1,6 @@ -<html> -<head> +{% extends "license.html" %} + +{% block header %} <title>License Agreement</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <style language="text/css"> @@ -15,7 +16,7 @@ div#head { height: 180px; width: 100%; - background-image: url(/licenses/igloo-bg.png); + background-image: url(/static/igloo-bg.png); background-repeat: repeat-x; } @@ -26,11 +27,11 @@ margin: 0; margin-right: 1em; margin-left: 1em; - color:white;//#2EA6C9; + color:white; font-size: 140%; font-weight: bold; text-align: left; - background-image: url(/licenses/igloo.png); + background-image: url(/static/igloo.png); background-repeat: no-repeat; } @@ -89,31 +90,30 @@ background: #9c5; } </style> -</head> -<body> +{% endblock %} +{% block content-header %} <div id="head"> <h1> </h1> + + </div> <div id="content"> <div id="license-text"> -EULA.txt -</div><!-- license-text --> - -<div id="actions"> +{% endblock %} +{% block content-footer-top %} + </div><!-- license-text --> -<div style="float: left;">If accepting the license doesn't work, enable -cookies in your browser.</div> - -<a class="button button-accept" href="ste-accepted.html">Accept the license</a> -<a class="button button-decline" href="ste-declined.html">Decline the license</a> - -</div> + <div id="actions"> -</div><!-- content --> + <div style="float: left;">If accepting the license doesn't work, enable + cookies in your browser.</div><br /> +{% endblock %} +{% block content-footer-bottom %} + </div> -</body> -</html> + </div><!-- content --> +{% endblock %} |