Dropdown and updated wrapper

This commit is contained in:
Pablo Ferreiro 2022-02-24 21:13:38 +01:00
parent d60e4400a2
commit 58170665ed
No known key found for this signature in database
GPG key ID: 41FBCE65B779FA24
5 changed files with 26 additions and 18 deletions

View file

@ -47,9 +47,16 @@
<button class="button is-primary" onclick="copyShare()">Copy</button> <button class="button is-primary" onclick="copyShare()">Copy</button>
</div> </div>
</div> </div>
<div class="buttons is-centered"> <div id="download_dropdown" class="dropdown is-hoverable">
<a target="_blank" id="download_watermark" class="button is-info">Download with watermark</a> <div class="dropdown-trigger">
<a target="_blank" id="download_nowatermark" class="button is-info">Download without watermark</a> <button id="download_button" class="button" aria-haspopup="true" aria-controls="dropdown-menu">Download</button>
</div>
<div class="dropdown-menu" role="menu">
<div class="dropdown-content">
<a id="download_watermark" target="_blank" class="dropdown-item">With watermark</a>
<a id="download_nowatermark" target="_blank" class="dropdown-item">Without watermark</a>
</div>
</div>
</div> </div>
<p id="audio_title"></p> <p id="audio_title"></p>
<audio id="audio" controls preload="none"></audio> <audio id="audio" controls preload="none"></audio>

26
composer.lock generated
View file

@ -121,16 +121,16 @@
}, },
{ {
"name": "latte/latte", "name": "latte/latte",
"version": "v2.10.8", "version": "v2.11.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nette/latte.git", "url": "https://github.com/nette/latte.git",
"reference": "596b28bf098ebb852732d60b00538139a009c4db" "reference": "a815687bfadaf3af51ae99f92edb4ea310c43426"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nette/latte/zipball/596b28bf098ebb852732d60b00538139a009c4db", "url": "https://api.github.com/repos/nette/latte/zipball/a815687bfadaf3af51ae99f92edb4ea310c43426",
"reference": "596b28bf098ebb852732d60b00538139a009c4db", "reference": "a815687bfadaf3af51ae99f92edb4ea310c43426",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -161,7 +161,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.10-dev" "dev-master": "2.11-dev"
} }
}, },
"autoload": { "autoload": {
@ -199,9 +199,9 @@
], ],
"support": { "support": {
"issues": "https://github.com/nette/latte/issues", "issues": "https://github.com/nette/latte/issues",
"source": "https://github.com/nette/latte/tree/v2.10.8" "source": "https://github.com/nette/latte/tree/v2.11.0"
}, },
"time": "2022-01-04T14:13:28+00:00" "time": "2022-02-22T18:39:58+00:00"
}, },
{ {
"name": "mibe/feedwriter", "name": "mibe/feedwriter",
@ -306,16 +306,16 @@
}, },
{ {
"name": "pablouser1/tikscraper", "name": "pablouser1/tikscraper",
"version": "v1.2.5.1", "version": "v1.2.5.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/pablouser1/TikScraperPHP.git", "url": "https://github.com/pablouser1/TikScraperPHP.git",
"reference": "77b336877d942633dfbfe78d8e67875d0c9089f0" "reference": "9dec950ed23112268bde3e35d7c08fd9c6050f49"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/77b336877d942633dfbfe78d8e67875d0c9089f0", "url": "https://api.github.com/repos/pablouser1/TikScraperPHP/zipball/9dec950ed23112268bde3e35d7c08fd9c6050f49",
"reference": "77b336877d942633dfbfe78d8e67875d0c9089f0", "reference": "9dec950ed23112268bde3e35d7c08fd9c6050f49",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -339,9 +339,9 @@
"description": "Get data from TikTok API", "description": "Get data from TikTok API",
"support": { "support": {
"issues": "https://github.com/pablouser1/TikScraperPHP/issues", "issues": "https://github.com/pablouser1/TikScraperPHP/issues",
"source": "https://github.com/pablouser1/TikScraperPHP/tree/v1.2.5.1" "source": "https://github.com/pablouser1/TikScraperPHP/tree/v1.2.5.2"
}, },
"time": "2022-02-20T15:16:50+00:00" "time": "2022-02-24T20:12:02+00:00"
}, },
{ {
"name": "phpoption/phpoption", "name": "phpoption/phpoption",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -25,6 +25,7 @@ $bulmaswatch-import-font: false;
// Components // Components
@import "./node_modules/bulma/sass/components/card.sass"; @import "./node_modules/bulma/sass/components/card.sass";
@import "./node_modules/bulma/sass/components/dropdown.sass";
@import "./node_modules/bulma/sass/components/modal.sass"; @import "./node_modules/bulma/sass/components/modal.sass";
@import "./node_modules/bulma/sass/components/navbar.sass"; @import "./node_modules/bulma/sass/components/navbar.sass";
@import "./node_modules/bulma/sass/components/media.sass"; @import "./node_modules/bulma/sass/components/media.sass";