Add a Deny all button on the middle bar
This commit is contained in:
parent
72e7a77a37
commit
da7272f60d
|
|
@ -514,12 +514,12 @@ div#tarteaucitronServices {
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
#tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitronAlertBig #tarteaucitronPersonalize, #tarteaucitron #tarteaucitronPrivacyUrl, #tarteaucitron #tarteaucitronPrivacyUrlDialog {
|
||||
#tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitronAlertBig #tarteaucitronPersonalize, .tarteaucitronCTAButton, #tarteaucitron #tarteaucitronPrivacyUrl, #tarteaucitron #tarteaucitronPrivacyUrlDialog {
|
||||
background: #008300;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
font-size: 16px!important;
|
||||
padding: 5px 10px;
|
||||
text-decoration: none;
|
||||
margin-left: 7px;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ var scripts = document.getElementsByTagName('script'),
|
|||
|
||||
|
||||
var tarteaucitron = {
|
||||
"version": 20191031,
|
||||
"version": 20200114,
|
||||
"cdn": cdn,
|
||||
"user": {},
|
||||
"lang": {},
|
||||
|
|
@ -384,6 +384,15 @@ var tarteaucitron = {
|
|||
html += ' <button type="button" id="tarteaucitronPersonalize" onclick="tarteaucitron.userInterface.respondAll(true);">';
|
||||
html += ' ✓ ' + tarteaucitron.lang.acceptAll;
|
||||
html += ' </button>';
|
||||
|
||||
|
||||
if (tarteaucitron.parameters.orientation === 'middle') {
|
||||
html += ' <button type="button" class="tarteaucitronCTAButton tarteaucitronDeny" onclick="tarteaucitron.userInterface.respondAll(false);">';
|
||||
html += ' ✗ ' + tarteaucitron.lang.denyAll;
|
||||
html += ' </button>';
|
||||
html += ' <br/><br/>';
|
||||
}
|
||||
|
||||
html += ' <button type="button" id="tarteaucitronCloseAlert" onclick="tarteaucitron.userInterface.openPanel();">';
|
||||
html += ' ' + tarteaucitron.lang.personalize;
|
||||
html += ' </button>';
|
||||
|
|
@ -507,7 +516,7 @@ var tarteaucitron = {
|
|||
html += ' ' + tarteaucitron.lang.adblock + '<br/>';
|
||||
html += ' <strong>' + tarteaucitron.lang.adblock_call + '</strong>';
|
||||
html += ' </p>';
|
||||
html += ' <button type="button" id="tarteaucitronPersonalize" onclick="location.reload();">';
|
||||
html += ' <button type="button" class="tarteaucitronCTAButton" onclick="location.reload();">';
|
||||
html += ' ' + tarteaucitron.lang.reload;
|
||||
html += ' </button>';
|
||||
html += '</div>';
|
||||
|
|
|
|||
Loading…
Reference in New Issue