Skip to content

Commit

Permalink
waiver download url bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ronan18 committed May 13, 2019
1 parent 9af4bd8 commit 8139c87
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 31 deletions.
58 changes: 29 additions & 29 deletions .firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
manifest.json,1557720285106,721a426c60e6486214f345f6bf4d2b44f7ba9af24db72b9ec9054d6e72e41e96
index.html,1557720285106,da08baa6217d51a904e359840722e65179a7ca4f8309ba82fecdc3ea351ecf4e
precache-manifest.63a9075bcb642d45cc6a20ed6f6f3a46.js,1557720285106,f6d49e2f6ef2c0e6346baecff08b9cd538fa8120495c7754ce43a2ee2e6f0cd3
robots.txt,1557720285106,c17e70846d7031bb27102edfb33b59d1e3e40a8e8e8097af75b7766e7fffc250
service-worker.js,1557720285106,ea5a8912cb7c79e804f13910948a3ea4fe711a7c0df998c3db1b614e579875cd
sw.js,1557720285106,dad372a43e87c2da9706f07d169e59c4b15b980969d6b03f955146b38754f00e
css/app.39e94287.css,1557720285138,e9b867b18cd9fc4fd3cdf44deade9f3101af032f8ef3c07e439402d2ecfc8eab
css/chunk-vendors.de600c15.css,1557720285141,10741e9c2637c2412e6c8f4275f8b2b9b4c3acd38dbdf6cae10bf0590d83352c
img/logo.82ddb218.svg,1557720285141,521a4804500844370dc5806c96a0968d515ad7a8c0fc2e140363bb9926343d69
img/icons/android-chrome-192x192.png,1557720285141,97e1127ad8db90e0349c838ecf9351fc0c370f9606f6ab309fe17444d26a9d59
img/done.037fdb77.svg,1557720285114,1d9f9dacb30b1d171388b89ecc2b70fa6ca2e90f9fd8565bf6ae52e69e8a8c9c
img/icons/apple-touch-icon-120x120.png,1557720285138,13e4908bb32e2ca95e375ca720887ef85057fb3872d6f028c63ba22df9b12ed9
img/icons/apple-touch-icon-152x152.png,1557720285141,879d14ef1bd94f81c11ca6fa51ebca226bf6c88c86447aaf560752528e144067
img/icons/apple-touch-icon-180x180.png,1557720285141,ca5a8e637d730848e77716ed970da1a4a5fe9d3b4be21e43f33cf5ebcaf03e7d
img/icons/apple-touch-icon-60x60.png,1557720285141,a27014cb4410df491f64e3b5411987418ff6d729b351056a3de84e744c681a52
img/icons/apple-touch-icon-76x76.png,1557720285140,65d6c498ad60f94b338df3f1f4551303ec84306ecb1c7e615ed64489fffc8b28
img/icons/favicon-16x16.png,1557720285140,563096b119e9b3f8060292a6fc3e091e2a98ee0d1c94ca99de941f78c7fa077c
img/icons/apple-touch-icon.png,1557720285140,08b37da608cf827a037d8f600a01a32b2f74728291e679b03679fd3619da3a43
img/icons/favicon-32x32.png,1557720285140,f5a182df55d21b93c27ec89bd600abe40f3fac23df563e4cfc9efd5edd248886
img/icons/msapplication-icon-144x144.png,1557720285141,27b3b62de2e36ac452e86079762d3cfd37c33dc8cbde0a7c5657e5a7c32d971a
img/icons/mstile-150x150.png,1557720285141,ea1dc2c1c63ffe2668cacc9d170cee33b50a2d58e1591b8399004629e3c1ae67
favicon.ico,1557720285106,3fbfded31bb8316b434c4fc555c3facdf5cfb5f97b18b2d3b845a443df83be12
js/app.94ac91eb.js,1557720285138,f854e5b26c8d40ec9ffeb8582665bb8186cd5205c8da5efbc2f55a93f9b0c360
img/icons/safari-pinned-tab.svg,1557720285141,0858aec0c8ea5d0b50b2bfca81dbef78aa3039b295a7c11386b8d3c378f35326
img/sign.72c4aeb5.svg,1557720285139,6aeafa4e0068ce630a86685bb33a958f22e0f3bf576534020f88ce4e38f2ab60
js/app.94ac91eb.js.map,1557720285139,ec48d386587380c4fe9f314bedb2d680d9f745185234e20d06b2852a04416734
img/icons/android-chrome-512x512.png,1557720285141,07426bba3be5f2ea36f5a6f543b71bfb02277982e28e22509fd85f4f998aefff
js/chunk-vendors.3f4c3856.js,1557720285140,52068c736ffe44f9f35eb4f00d4bfc74ea71e9027d37583e232ab91c249e6763
js/chunk-vendors.3f4c3856.js.map,1557720285140,be62d6dc951bcfd72d3cf32ef6265f48b0ab19934fce75cf190bec8546c33a2d
manifest.json,1557727436053,721a426c60e6486214f345f6bf4d2b44f7ba9af24db72b9ec9054d6e72e41e96
index.html,1557727436053,7ba3d74941f1de9799065ab801d51014899188ce0a47205297c7fe28ef01a86c
precache-manifest.c8716beb348f1ba410c890244e324e38.js,1557727436053,44e4e6bc9cf5281b51bff650c1842095ac358e0b36e80583e1129c94622f356b
robots.txt,1557727436053,c17e70846d7031bb27102edfb33b59d1e3e40a8e8e8097af75b7766e7fffc250
service-worker.js,1557727436053,a1ec17bcafcde3ce7619328f3f612781b80d1b7fa64f3f8bc2d55cf8e0e7aac8
sw.js,1557727436053,dad372a43e87c2da9706f07d169e59c4b15b980969d6b03f955146b38754f00e
css/chunk-vendors.de600c15.css,1557727436069,10741e9c2637c2412e6c8f4275f8b2b9b4c3acd38dbdf6cae10bf0590d83352c
css/app.60cd7312.css,1557727436053,a7d5e0a377ba343201c68ca4871095e3b88e64a4869d58410487dadb689cd234
img/logo.82ddb218.svg,1557727436069,521a4804500844370dc5806c96a0968d515ad7a8c0fc2e140363bb9926343d69
img/done.037fdb77.svg,1557727436053,1d9f9dacb30b1d171388b89ecc2b70fa6ca2e90f9fd8565bf6ae52e69e8a8c9c
img/icons/android-chrome-192x192.png,1557727436070,97e1127ad8db90e0349c838ecf9351fc0c370f9606f6ab309fe17444d26a9d59
img/icons/apple-touch-icon-120x120.png,1557727436069,13e4908bb32e2ca95e375ca720887ef85057fb3872d6f028c63ba22df9b12ed9
img/icons/apple-touch-icon-152x152.png,1557727436070,879d14ef1bd94f81c11ca6fa51ebca226bf6c88c86447aaf560752528e144067
img/icons/apple-touch-icon-180x180.png,1557727436070,ca5a8e637d730848e77716ed970da1a4a5fe9d3b4be21e43f33cf5ebcaf03e7d
img/icons/apple-touch-icon-60x60.png,1557727436071,a27014cb4410df491f64e3b5411987418ff6d729b351056a3de84e744c681a52
img/icons/apple-touch-icon-76x76.png,1557727436070,65d6c498ad60f94b338df3f1f4551303ec84306ecb1c7e615ed64489fffc8b28
favicon.ico,1557727436053,3fbfded31bb8316b434c4fc555c3facdf5cfb5f97b18b2d3b845a443df83be12
img/icons/apple-touch-icon.png,1557727436070,08b37da608cf827a037d8f600a01a32b2f74728291e679b03679fd3619da3a43
img/icons/favicon-16x16.png,1557727436070,563096b119e9b3f8060292a6fc3e091e2a98ee0d1c94ca99de941f78c7fa077c
img/icons/favicon-32x32.png,1557727436071,f5a182df55d21b93c27ec89bd600abe40f3fac23df563e4cfc9efd5edd248886
img/icons/msapplication-icon-144x144.png,1557727436070,27b3b62de2e36ac452e86079762d3cfd37c33dc8cbde0a7c5657e5a7c32d971a
img/icons/mstile-150x150.png,1557727436070,ea1dc2c1c63ffe2668cacc9d170cee33b50a2d58e1591b8399004629e3c1ae67
js/app.edde745d.js,1557727436069,be83a5dd22754fe1370de15ea5cfaeccf2c0b99703464ba67988ac48c9ced323
img/icons/safari-pinned-tab.svg,1557727436070,0858aec0c8ea5d0b50b2bfca81dbef78aa3039b295a7c11386b8d3c378f35326
img/sign.72c4aeb5.svg,1557727436069,6aeafa4e0068ce630a86685bb33a958f22e0f3bf576534020f88ce4e38f2ab60
js/app.edde745d.js.map,1557727436069,c061a669dbb03d85d7c392c6735bb0f458b5fd630ede2d5d9aae215d93b69383
img/icons/android-chrome-512x512.png,1557727436071,07426bba3be5f2ea36f5a6f543b71bfb02277982e28e22509fd85f4f998aefff
js/chunk-vendors.3f4c3856.js,1557727436070,52068c736ffe44f9f35eb4f00d4bfc74ea71e9027d37583e232ab91c249e6763
js/chunk-vendors.3f4c3856.js.map,1557727436071,be62d6dc951bcfd72d3cf32ef6265f48b0ab19934fce75cf190bec8546c33a2d
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<link rel="shortcut icon" href="<%= BASE_URL %>favicon.ico">
<title>Hyphen-Hacks | Waiver Upload</title>
<!-- Matomo -->
<script type="text/javascript">
Expand Down
9 changes: 9 additions & 0 deletions src/assets/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ $blue: #34495E;
$link: #2A83DC;
$grey: #EFEFEF;
$grey--dark: #cdcdcd;
$yellow--light: #fba52f;

body, #app {
background: $blue;
Expand Down Expand Up @@ -127,6 +128,14 @@ body, #app {
}
}

button[disabled] {
background: $grey--dark;

&:hover {
background: $grey--dark;
}
}

button, .button {
transition-duration: 0.5s;
display: block;
Expand Down
5 changes: 3 additions & 2 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<li>Sign It</li>
<li>Upload It!</li>
</ol>
<button :disabled="!url" @click="download">DOWNLOAD WAIVER</button>
<button @click="download">DOWNLOAD WAIVER</button>
</div>
</template>

Expand All @@ -26,8 +26,9 @@
},
methods: {
download() {
console.log('downloading')
let element = document.createElement('a');
element.setAttribute('href', this.url);
element.setAttribute('href', this.$parent.person.waiverDownloadURL);
element.setAttribute('download', 'waiver.pdf');
element.setAttribute('target', '_blank');
element.style.display = 'none';
Expand Down

0 comments on commit 8139c87

Please sign in to comment.