move head and html tags to main template

This commit is contained in:
Daniela Arcese 2017-07-18 14:57:29 -04:00
parent e4a724422e
commit 4068291f7c
4 changed files with 183 additions and 198 deletions

View file

@ -23,7 +23,7 @@ body {
} }
.all { .all {
padding-top: 12%; padding-top: 10%;
overflow-y: scroll; overflow-y: scroll;
} }

View file

@ -1,22 +1,9 @@
<!DOCTYPE html>
<html> <div class="send-logo">
<head>
<title>Download your file</title>
{{#if dsn}}
{{> sentry dsn=dsn}}
{{/if}}
<script src="/bundle.js"></script>
<link rel="stylesheet" type="text/css" href="/main.css" />
{{#if trackerId}}
{{> analytics trackerId=trackerId}}
{{/if}}
</head>
<body>
<div class="send-logo">
<img src="/resources/send_logo.svg"/> <img src="/resources/send_logo.svg"/>
<img src="/resources/send_logo_type.svg"/> <img src="/resources/send_logo_type.svg"/>
</div> </div>
<div class="all"> <div class="all">
<div id="download"> <div id="download">
{{#if filename}} {{#if filename}}
<div id="download-page-one"> <div id="download-page-one">
@ -70,6 +57,4 @@
</div> </div>
{{/if}} {{/if}}
</div> </div>
</div> </div>
</body>
</html>

View file

@ -1,24 +1,8 @@
<!DOCTYPE html> <div class="send-logo">
<html>
<head>
<title>Firefox Send</title>
{{#if dsn}}
{{> sentry dsn=dsn}}
{{/if}}
<script src="/bundle.js"></script>
<link rel="stylesheet" type="text/css" href="/main.css" />
<link rel="stylesheet" type="text/css" href="/resources/fontello-24c5e6ad/css/fontello.css" />
<link rel="stylesheet" href="https://code.cdn.mozilla.net/fonts/fira.css">
{{#if trackerId}}
{{> analytics trackerId=trackerId}}
{{/if}}
</head>
<body>
<div class="send-logo">
<img src="/resources/send_logo.svg"/> <img src="/resources/send_logo.svg"/>
<img src="/resources/send_logo_type.svg"/> <img src="/resources/send_logo_type.svg"/>
</div> </div>
<div class="all"> <div class="all">
<div id="page-one"> <div id="page-one">
<div class="title"> <div class="title">
Private, Encrypted File Sharing Private, Encrypted File Sharing
@ -125,7 +109,5 @@
</div> </div>
</div> </div>
</div>
</div> </div>
</body> </div>
</html>

View file

@ -1,5 +1,21 @@
{{{body}}} <!DOCTYPE html>
<div class="footer"> <html>
<head>
<title>Firefox Send</title>
{{#if dsn}}
{{> sentry dsn=dsn}}
{{/if}}
<script src="/bundle.js"></script>
<link rel="stylesheet" type="text/css" href="/main.css" />
<link rel="stylesheet" type="text/css" href="/resources/fontello-24c5e6ad/css/fontello.css" />
<link rel="stylesheet" href="https://code.cdn.mozilla.net/fonts/fira.css">
{{#if trackerId}}
{{> analytics trackerId=trackerId}}
{{/if}}
</head>
<body>
{{{body}}}
<div class="footer">
<div class="legal-links"> <div class="legal-links">
<a href="https://www.mozilla.org"><img class="mozilla-logo" src="/resources/mozilla-logo.svg"/></a> <a href="https://www.mozilla.org"><img class="mozilla-logo" src="/resources/mozilla-logo.svg"/></a>
<a href="https://www.mozilla.org/about/legal/">Legal</a> <a href="https://www.mozilla.org/about/legal/">Legal</a>
@ -12,4 +28,6 @@
<a href="https://github.com/mozilla/send" target="_blank"><img class="github" src="/resources/github-icon.svg"/></a> <a href="https://github.com/mozilla/send" target="_blank"><img class="github" src="/resources/github-icon.svg"/></a>
<a href="https://twitter.com/FxTestPilot" target="_blank"><img class="twitter" src="/resources/twitter-icon.svg"/></a> <a href="https://twitter.com/FxTestPilot" target="_blank"><img class="twitter" src="/resources/twitter-icon.svg"/></a>
</div> </div>
</div> </div>
</body>
</html>