ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
<!--
|
||||
/**
|
||||
* Plumrocket Inc.
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the End-user License Agreement
|
||||
* that is available through the world-wide-web at this URL:
|
||||
* http://wiki.plumrocket.net/wiki/EULA
|
||||
* If you are unable to obtain it through the world-wide-web, please
|
||||
* send an email to support@plumrocket.com so we can send you a copy immediately.
|
||||
*
|
||||
* @package Plumrocket_CookieConsent
|
||||
* @copyright Copyright (c) 2020 Plumrocket Inc. (http://www.plumrocket.com)
|
||||
* @license http://wiki.plumrocket.net/wiki/EULA End-user License Agreement
|
||||
*/
|
||||
-->
|
||||
|
||||
<div id="pr-cookie-notice" afterRender="autoOpen()">
|
||||
<div class="pr-cookie-notice-wrap">
|
||||
<div class="pr-cookie-notice-text"
|
||||
data-bind="html: noticeTextHtml"
|
||||
></div>
|
||||
<div class="actions pr-cookie-notice-actions">
|
||||
<button click="allowAll" id="btn-cookie-allow" class="action allow primary pr-cookie-notice-btn"
|
||||
data-bind="style: {
|
||||
color: acceptButtonConfig.text_color,
|
||||
backgroundColor: acceptButtonConfig.background_color,
|
||||
borderColor: acceptButtonConfig.background_color
|
||||
}"
|
||||
>
|
||||
<translate args="acceptButtonConfig.label"></translate>
|
||||
</button>
|
||||
<button click="declineAll" id="btn-cookie-decline" class="action decline pr-cookie-notice-btn" if="declineButtonConfig.enabled"
|
||||
data-bind="style: {
|
||||
color: declineButtonConfig.text_color,
|
||||
backgroundColor: declineButtonConfig.background_color,
|
||||
borderColor: declineButtonConfig.background_color
|
||||
}"
|
||||
>
|
||||
<translate args="declineButtonConfig.label"></translate>
|
||||
</button>
|
||||
<button click="openSettings" class="action pr-cookie-notice-btn pr-cookie-setting-btn" if="settingsButtonConfig.enabled"
|
||||
data-bind="css: {
|
||||
'setting-link': settingsButtonConfig.type == 'link'
|
||||
},
|
||||
|
||||
style: {
|
||||
color: settingsButtonConfig.type === 'button' ? settingsButtonConfig.text_color : settingsButtonConfig.link_color,
|
||||
backgroundColor: settingsButtonConfig.type === 'button' ? settingsButtonConfig.background_color : '',
|
||||
borderColor: settingsButtonConfig.background_color
|
||||
}"
|
||||
>
|
||||
<translate args="settingsButtonConfig.label"></translate>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ko if: getDisplayStyle() === 'bottom' -->
|
||||
<button class="pr-cookie-close-modal" data-bind="click: disableNotice" aria-label="Close notice"></button>
|
||||
<!-- /ko -->
|
||||
</div>
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
<!--
|
||||
/**
|
||||
* Plumrocket Inc.
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the End-user License Agreement
|
||||
* that is available through the world-wide-web at this URL:
|
||||
* http://wiki.plumrocket.net/wiki/EULA
|
||||
* If you are unable to obtain it through the world-wide-web, please
|
||||
* send an email to support@plumrocket.com so we can send you a copy immediately.
|
||||
*
|
||||
* @package Plumrocket_CookieConsent
|
||||
* @copyright Copyright (c) 2020 Plumrocket Inc. (http://www.plumrocket.com)
|
||||
* @license http://wiki.plumrocket.net/wiki/EULA End-user License Agreement
|
||||
*/
|
||||
-->
|
||||
|
||||
<aside role="dialog"
|
||||
class="modal-<%- data.type %> <%- data.modalClass %>
|
||||
<% if(data.innerScroll){ %><%- data.innerScrollClass %><% } %>"
|
||||
<% if(data.title){ %> aria-labelledby="modal-title-<%- data.id %>"<% } %>
|
||||
aria-describedby="modal-content-<%- data.id %>"
|
||||
data-role="modal"
|
||||
data-type="<%- data.type %>"
|
||||
tabindex="0">
|
||||
<div data-role="focusable-start" tabindex="0"></div>
|
||||
<div class="modal-inner-wrap" data-role="focusable-scope">
|
||||
<div id="modal-content-<%- data.id %>" class="modal-content" data-role="content"></div>
|
||||
</div>
|
||||
<div data-role="focusable-end" tabindex="123"></div>
|
||||
</aside>
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
<!--
|
||||
/**
|
||||
* Plumrocket Inc.
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the End-user License Agreement
|
||||
* that is available through the world-wide-web at this URL:
|
||||
* http://wiki.plumrocket.net/wiki/EULA
|
||||
* If you are unable to obtain it through the world-wide-web, please
|
||||
* send an email to support@plumrocket.com so we can send you a copy immediately.
|
||||
*
|
||||
* @package Plumrocket_CookieConsent
|
||||
* @copyright Copyright (c) 2020 Plumrocket Inc. (http://www.plumrocket.com)
|
||||
* @license http://wiki.plumrocket.net/wiki/EULA End-user License Agreement
|
||||
*/
|
||||
-->
|
||||
|
||||
<aside role="dialog"
|
||||
class="modal-<%- data.type %> <%- data.modalClass %>
|
||||
<% if(data.responsive){ %><%- data.responsiveClass %><% } %>
|
||||
<% if(data.innerScroll){ %><%- data.innerScrollClass %><% } %>"
|
||||
<% if(data.title){ %> aria-labelledby="modal-title-<%- data.id %>"<% } %>
|
||||
aria-describedby="modal-content-<%- data.id %>"
|
||||
data-role="modal"
|
||||
data-type="<%- data.type %>"
|
||||
tabindex="0">
|
||||
<div data-role="focusable-start" tabindex="0"></div>
|
||||
<div class="modal-inner-wrap"
|
||||
data-role="focusable-scope">
|
||||
<header class="modal-header">
|
||||
<% if(data.title || data.subTitle){ %>
|
||||
<h1 id="modal-title-<%- data.id %>" class="modal-title"
|
||||
data-role="title">
|
||||
<% if(data.title){ %>
|
||||
<%= data.title %>
|
||||
<% } %>
|
||||
|
||||
<% if(data.subTitle){ %>
|
||||
<span class="modal-subtitle"
|
||||
data-role="subtitle">
|
||||
<%= data.subTitle %>
|
||||
</span>
|
||||
<% } %>
|
||||
</h1>
|
||||
|
||||
<% if(data.canClose){ %>
|
||||
<button
|
||||
class="pr-cookie-close"
|
||||
data-role="closeBtn"
|
||||
type="button">
|
||||
</button>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</header>
|
||||
<div id="modal-content-<%- data.id %>"
|
||||
class="modal-content"
|
||||
data-role="content"></div>
|
||||
<% if(data.buttons.length > 0){ %>
|
||||
<footer class="modal-footer">
|
||||
<% _.each(data.buttons, function(button) { %>
|
||||
<button
|
||||
class="<%- button.class %>"
|
||||
type="button"
|
||||
data-role="action"><span><%= button.text %></span></button>
|
||||
<% }); %>
|
||||
</footer>
|
||||
<% } %>
|
||||
</div>
|
||||
<div data-role="focusable-end" tabindex="0"></div>
|
||||
</aside>
|
||||
Reference in New Issue
Block a user