Skip to content

Commit

Permalink
Docs: Add button to open cookie settings modal #CCM-57
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Jan 31, 2022
1 parent bf99467 commit 8acb0cd
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/callbacks.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ <h1 class="display-1 mt-md-3">Callbacks</h1>
</div>
</div>
<div id="reset" class="position-fixed bottom-0 end-0 me-5 mb-5" style="z-index: 1;" hidden>
<a href="" data-cc="c-settings" class="btn btn-primary shadow-lg">
<i class="bi bi-gear me-1"></i>
Cookie settings
</a>
<a href="" class="btn btn-primary shadow-lg" onclick="removeCookieAndReload();" data-bs-toggle="tooltip" data-bs-html="true" title="Remove <code>lmc_ccm</code> cookie and reload">
<i class="bi bi-arrow-clockwise me-1"></i>
Reset cookie
Expand Down
4 changes: 4 additions & 0 deletions examples/configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ <h1 class="display-1 mt-md-3">Extended Configuration</h1>
</div>
</div>
<div id="reset" class="position-fixed bottom-0 end-0 me-5 mb-5" style="z-index: 1;" hidden>
<a href="" data-cc="c-settings" class="btn btn-primary shadow-lg">
<i class="bi bi-gear me-1"></i>
Cookie settings
</a>
<a href="" class="btn btn-primary shadow-lg" onclick="removeCookieAndReload();" data-bs-toggle="tooltip" data-bs-html="true" title="Remove <code>lmc_ccm</code> cookie and reload">
<i class="bi bi-arrow-clockwise me-1"></i>
Reset cookie
Expand Down
4 changes: 4 additions & 0 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ <h1 class="display-1 mt-md-3">Basic Example</h1>
</div>
</div>
<div id="reset" class="position-fixed bottom-0 end-0 me-5 mb-5" style="z-index: 1;" hidden>
<a href="" data-cc="c-settings" class="btn btn-primary shadow-lg">
<i class="bi bi-gear me-1"></i>
Cookie settings
</a>
<a href="" class="btn btn-primary shadow-lg" onclick="removeCookieAndReload();" data-bs-toggle="tooltip" data-bs-html="true" title="Remove <code>lmc_ccm</code> cookie and reload">
<i class="bi bi-arrow-clockwise me-1"></i>
Reset cookie
Expand Down
4 changes: 4 additions & 0 deletions examples/languages.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ <h1 class="display-1 mt-md-3">Languages</h1>
</div>
</div>
<div id="reset" class="position-fixed bottom-0 end-0 me-5 mb-5" style="z-index: 1;" hidden>
<a href="" data-cc="c-settings" class="btn btn-primary shadow-lg">
<i class="bi bi-gear me-1"></i>
Cookie settings
</a>
<a href="" class="btn btn-primary shadow-lg" onclick="removeCookieAndReload();" data-bs-toggle="tooltip" data-bs-html="true" title="Remove <code>lmc_ccm</code> cookie and reload">
<i class="bi bi-arrow-clockwise me-1"></i>
Reset cookie
Expand Down
4 changes: 4 additions & 0 deletions examples/theming.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ <h1 class="display-1 mt-md-3">Theming</h1>
</div>
</div>
<div id="reset" class="position-fixed bottom-0 end-0 me-5 mb-5" style="z-index: 1;" hidden>
<a href="" data-cc="c-settings" class="btn btn-primary shadow-lg">
<i class="bi bi-gear me-1"></i>
Cookie settings
</a>
<a href="" class="btn btn-primary shadow-lg" onclick="removeCookieAndReload();" data-bs-toggle="tooltip" data-bs-html="true" title="Remove <code>lmc_ccm</code> cookie and reload">
<i class="bi bi-arrow-clockwise me-1"></i>
Reset cookie
Expand Down

0 comments on commit 8acb0cd

Please sign in to comment.