mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-13 20:08:49 +00:00
new addon - cookienotice - configure, show and handle a simple cookie usage notice
This commit is contained in:
parent
36120615dd
commit
fa08109830
8 changed files with 233 additions and 0 deletions
23
cookienotice/templates/cookienotice.tpl
Normal file
23
cookienotice/templates/cookienotice.tpl
Normal file
|
@ -0,0 +1,23 @@
|
|||
<style type="text/css">
|
||||
#cookienotice-box {
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 10000;
|
||||
bottom: 0px;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
background-color: #101010;
|
||||
color: #f0f0f0;
|
||||
padding: 2em 1em;
|
||||
text-align: center;
|
||||
}
|
||||
#cookienotice-ok-button {
|
||||
border: 1px solid darkgoldenrod;
|
||||
background-color: gold;
|
||||
color: #101010;
|
||||
min-width: 80px;
|
||||
padding: .5em .1em;
|
||||
}
|
||||
</style>
|
||||
<div id="cookienotice-box"><p>{{$text}}</p><button id="cookienotice-ok-button">{{$oktext}}</button></div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue