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,17 +1,4 @@
<!DOCTYPE html>
<html>
<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"> <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"/>
@ -71,5 +58,3 @@
{{/if}} {{/if}}
</div> </div>
</div> </div>
</body>
</html>

View file

@ -1,19 +1,3 @@
<!DOCTYPE html>
<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"> <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"/>
@ -127,5 +111,3 @@
</div> </div>
</div> </div>
</body>
</html>

View file

@ -1,3 +1,19 @@
<!DOCTYPE html>
<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}}} {{{body}}}
<div class="footer"> <div class="footer">
<div class="legal-links"> <div class="legal-links">
@ -13,3 +29,5 @@
<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>