fix
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -0,0 +1,46 @@
|
||||
<h1>Exclude Sources</h1>
|
||||
<p>If you want some of the sources NOT to be served via CDN, you can specify the sources. If a source url contains any keyword below, it is NOT served via CDN.</p>
|
||||
<div class="wiz-input-cont" style="padding:8px 18px;border-radius:0;text-align:center; background: #fff none repeat scroll 0 0;">
|
||||
|
||||
<style type="text/css">
|
||||
.keyword-item-exclude{width:auto;float:left;line-height:22px;position:relative;background:rgba(0,0,0,0.15);margin:0 5px 5px 0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
|
||||
.keyword-item-exclude a.keyword-label{
|
||||
background-color: #ffa100;
|
||||
color:#ffffff;
|
||||
text-decoration:none;
|
||||
padding:7px 15px;
|
||||
display:block;
|
||||
text-shadow:none;
|
||||
-webkit-transition:all .1s linear;
|
||||
-moz-transition:all .1s linear;
|
||||
-o-transition:all .1s linear;
|
||||
transition:all .1s linear;
|
||||
cursor: pointer;
|
||||
}
|
||||
.keyword-item-exclude a.keyword-label:hover{
|
||||
padding-left: 4px;
|
||||
padding-right: 26px;
|
||||
}
|
||||
.keyword-item-exclude a.keyword-label:hover:after{
|
||||
width:16px;
|
||||
height:16px;
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAAnNCSVQICFXsRgQAAAAJcEhZcwAAAIAAAACAAc9WmjcAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAA4klEQVQokWXOMSuFcRQH4EcZZFB3w0BZfIC7mLl3MaGu2cAtqyLJwMQiRuObidFG4hNQJrlFJBlMFgzKMfi/vPe9/ZbT+T11jvAbq2nI8k3aB1MymStPTrTcyWTmi2BDdCQrgprtjjQKIJgw15aZth+Co9KB6zLYL4GLMthqq7/slcFKoVzTa1ClHTT/wKwxt0I4N/wPGqk+NuTNqQ/PLt3oyUEtgQWbQl3NqHVhOgfVBCYdCC3dhnwKSzkYSWDXslDVNG5RqOegksCDPg/ufXv34kxXAkF/SpcBh1492tEbwg+6YscxiN7TegAAAABJRU5ErkJggg==');
|
||||
content:"";
|
||||
position:absolute;
|
||||
top:10px;
|
||||
right:4px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
|
||||
<ul class="keyword-item-list">
|
||||
<li class="keyword-item-exclude">
|
||||
<a class="wpfc-add-new-keyword">Add Keyword</a>
|
||||
<div class="wpfc-textbox-con" style="display:none;">
|
||||
<div class="fixed-search"><input type="text" placeholder="Add Keyword"></div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -0,0 +1,35 @@
|
||||
<div class="wpfc-checkbox-list">
|
||||
<?php
|
||||
$types = array("aac",
|
||||
"avif",
|
||||
"css",
|
||||
"eot",
|
||||
"gif",
|
||||
"jpeg",
|
||||
"js",
|
||||
"jpg",
|
||||
"less",
|
||||
"mp3",
|
||||
"mp4",
|
||||
"ogg",
|
||||
"otf",
|
||||
"pdf",
|
||||
"png",
|
||||
"svg",
|
||||
"swf",
|
||||
"ttf",
|
||||
"webm",
|
||||
"webp",
|
||||
"woff",
|
||||
"woff2"
|
||||
);
|
||||
|
||||
foreach ($types as $key => $value) {
|
||||
?>
|
||||
<label for="file-type-<?php echo $value; ?>">
|
||||
<input id="file-type-<?php echo $value; ?>" type="checkbox" value="<?php echo $value; ?>" checked=""><span class="">*.<?php echo $value; ?></span>
|
||||
</label>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
80
wp-content/plugins/wp-fastest-cache/templates/cdn/maxcdn.php
Normal file
80
wp-content/plugins/wp-fastest-cache/templates/cdn/maxcdn.php
Normal file
@@ -0,0 +1,80 @@
|
||||
<div id="wpfc-modal-maxcdn" style="top: 10.5px; left: 226px; position: absolute; padding: 6px; height: auto; width: 560px; z-index: 10001;">
|
||||
<div style="height: 100%; width: 100%; background: none repeat scroll 0% 0% rgb(0, 0, 0); position: absolute; top: 0px; left: 0px; z-index: -1; opacity: 0.5; border-radius: 8px;">
|
||||
</div>
|
||||
<div style="z-index: 600; border-radius: 3px;">
|
||||
<div style="font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:12px;background: none repeat scroll 0px 0px rgb(255, 161, 0); z-index: 1000; position: relative; padding: 2px; border-bottom: 1px solid rgb(194, 122, 0); height: 35px; border-radius: 3px 3px 0px 0px;">
|
||||
<table width="100%" height="100%">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td valign="middle" style="vertical-align: middle; font-weight: bold; color: rgb(255, 255, 255); text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5); padding-left: 10px; font-size: 13px; cursor: move;">BunnyCDN Settings</td>
|
||||
<td width="20" align="center" style="vertical-align: middle;"></td>
|
||||
<td width="20" align="center" style="vertical-align: middle; font-family: Arial,Helvetica,sans-serif; color: rgb(170, 170, 170); cursor: default;">
|
||||
<div title="Close Window" class="close-wiz"></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="window-content-wrapper" style="padding: 8px;">
|
||||
<div style="z-index: 1000; height: auto; position: relative; display: inline-block; width: 100%;" class="window-content">
|
||||
|
||||
|
||||
<div id="wpfc-wizard-maxcdn" class="wpfc-cdn-pages-container">
|
||||
<div wpfc-cdn-page="1" class="wiz-cont">
|
||||
<h1>Let's Get Started</h1>
|
||||
<p>Hi! If you don't have a <strong>BunnyCDN</strong> account, you can create one. If you already have, please continue...</p>
|
||||
<div class="wiz-input-cont" style="text-align:center;">
|
||||
<a href="https://bunny.net?ref=2wbch39a6k" target="_blank">
|
||||
<button class="wpfc-green-button">Create a BunnyCDN Account</button>
|
||||
</a>
|
||||
</div>
|
||||
<!--
|
||||
<p class="wpfc-bottom-note" style="margin-bottom:-10px;"><a target="_blank" href="https://support.stackpath.com/hc/en-us/articles/360001058243-WordPress-with-WP-Fastest-Cache-StackPath-CDN-Setup-Guide">Note: Please read How to Integrate StackPath into WP Fastest Cache</a></p>
|
||||
-->
|
||||
</div>
|
||||
<div wpfc-cdn-page="2" class="wiz-cont" style="display:none">
|
||||
<h1>Enter CDN Url</h1>
|
||||
<p>Please enter your <strong>CDN Url</strong> below to deliver your contents via BunnyCDN.</p>
|
||||
<div class="wiz-input-cont">
|
||||
<label class="mc-input-label" for="cdn-url" style="padding-right: 12px;">CDN Url:</label><input type="text" name="" value="" class="api-key" id="cdn-url">
|
||||
<div id="cdn-url-loading"></div>
|
||||
<label class="wiz-error-msg"></label>
|
||||
</div>
|
||||
<div class="wiz-input-cont">
|
||||
<label class="mc-input-label" for="origin-url">Origin Url:</label><input type="text" name="" value="" class="api-key" id="origin-url">
|
||||
</div>
|
||||
</div>
|
||||
<div wpfc-cdn-page="3" class="wiz-cont" style="display:none">
|
||||
<h1>File Types</h1>
|
||||
<p>Specify the file types within the to host with the CDN.</p>
|
||||
|
||||
<?php include WPFC_MAIN_PATH."templates/cdn/file_types.php"; ?>
|
||||
</div>
|
||||
<div wpfc-cdn-page="4" class="wiz-cont" style="display:none">
|
||||
<?php include WPFC_MAIN_PATH."templates/cdn/specify_sources.php"; ?>
|
||||
</div>
|
||||
|
||||
<div wpfc-cdn-page="5" class="wiz-cont" style="display:none">
|
||||
<?php include WPFC_MAIN_PATH."templates/cdn/exclude_sources.php"; ?>
|
||||
</div>
|
||||
|
||||
<div wpfc-cdn-page="6" class="wiz-cont" style="display:none">
|
||||
<h1>Ready to Go!</h1>
|
||||
<p>You're all set! Click the finish button below and that's it.</p>
|
||||
</div>
|
||||
<div wpfc-cdn-page="7" class="wiz-cont" style="display:none">
|
||||
<h1>Integration Ready!</h1>
|
||||
<p>Your static contents will be delivered via MaxCDN.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<img style="border-radius:100%;" class="wiz-bg-img" src="<?php echo plugins_url("wp-fastest-cache/images/bunny-cdn-icon-256x256.png"); ?>"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php include WPFC_MAIN_PATH."templates/buttons.html"; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
77
wp-content/plugins/wp-fastest-cache/templates/cdn/other.php
Normal file
77
wp-content/plugins/wp-fastest-cache/templates/cdn/other.php
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1,64 @@
|
||||
<h1>Specify Sources</h1>
|
||||
<p>If you want some of the sources instead of all the sources to be served via CDN, you can specify the sources. If a source url contains any keyword below, it is served via CDN.</p>
|
||||
<div class="wiz-input-cont" style="padding:8px 18px;border-radius:0;text-align:center; background: #fff none repeat scroll 0 0;">
|
||||
|
||||
<style type="text/css">
|
||||
.wiz-input-cont{
|
||||
box-shadow:0 2px 6px 0 rgba(0, 0, 0, 0.15) !important;
|
||||
|
||||
}
|
||||
|
||||
.wpfc-textbox-con{position:absolute;left:0;top:0;-webkit-border-radius:3px;-moz-border-radius:3px;background:#fff;-webkit-box-shadow:0 2px 6px 2px rgba(0,0,0,0.3);box-shadow:0 2px 6px 2px rgba(0,0,0,0.3);-moz-box-shadow:0 2px 6px 2px rgba(0,0,0,0.3);float:left;z-index:444;width:150px;border:1px solid #adadad;}
|
||||
.keyword-item-list:after{box-shodow:0 2px 6px 0 rgba(0, 0, 0, 0.15);content:'';clear:both;height:0;visibility:hidden;display:block}
|
||||
.fixed-search input{width:100%;padding:6px 9px;line-height:20px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;border:none;border-bottom:1px solid #ccc;-webkit-box-shadow:0 2px 6px 0 rgba(0,0,0,0.1);box-shadow:0 2px 6px 0 rgba(0,0,0,0.1);-moz-box-shadow:0 2px 6px 0 rgba(0,0,0,0.1);-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;font-weight:bold}.fixed-search input:focus{outline:0}
|
||||
.keyword-item{width:auto;float:left;line-height:22px;position:relative;background:rgba(0,0,0,0.15);margin:0 5px 5px 0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
|
||||
.wpfc-add-new-keyword, .keyword-item a.keyword-label{
|
||||
background-color: #ffa100;
|
||||
color:#ffffff;
|
||||
text-decoration:none;
|
||||
padding:7px 15px;
|
||||
display:block;
|
||||
text-shadow:none;
|
||||
-webkit-transition:all .1s linear;
|
||||
-moz-transition:all .1s linear;
|
||||
-o-transition:all .1s linear;
|
||||
transition:all .1s linear;
|
||||
cursor: pointer;
|
||||
}
|
||||
.keyword-item a.keyword-label:hover{
|
||||
padding-left: 4px;
|
||||
padding-right: 26px;
|
||||
}
|
||||
.keyword-item a.keyword-label:hover:after{
|
||||
width:16px;
|
||||
height:16px;
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAAnNCSVQICFXsRgQAAAAJcEhZcwAAAIAAAACAAc9WmjcAAAAZdEVYdFNvZnR3YXJlAHd3dy5pbmtzY2FwZS5vcmeb7jwaAAAA4klEQVQokWXOMSuFcRQH4EcZZFB3w0BZfIC7mLl3MaGu2cAtqyLJwMQiRuObidFG4hNQJrlFJBlMFgzKMfi/vPe9/ZbT+T11jvAbq2nI8k3aB1MymStPTrTcyWTmi2BDdCQrgprtjjQKIJgw15aZth+Co9KB6zLYL4GLMthqq7/slcFKoVzTa1ClHTT/wKwxt0I4N/wPGqk+NuTNqQ/PLt3oyUEtgQWbQl3NqHVhOgfVBCYdCC3dhnwKSzkYSWDXslDVNG5RqOegksCDPg/ufXv34kxXAkF/SpcBh1492tEbwg+6YscxiN7TegAAAABJRU5ErkJggg==');
|
||||
content:"";
|
||||
position:absolute;
|
||||
top:10px;
|
||||
right:4px;
|
||||
}
|
||||
|
||||
.wpfc-add-new-keyword{
|
||||
cursor:pointer;
|
||||
text-decoration:none;
|
||||
background-color:#fff !important;
|
||||
color:#ccc !important;
|
||||
padding:5px 12px !important;
|
||||
border:2px dashed #ccc;
|
||||
line-height:21px;
|
||||
}
|
||||
.wpfc-add-new-keyword:before{display:inline-block;content:"+";margin:-1px 4px 0 -6px;}
|
||||
.wpfc-add-new-keyword:hover{color:#589b43 !important;border-color:#589b43;}
|
||||
|
||||
</style>
|
||||
|
||||
<ul class="keyword-item-list">
|
||||
<li class="keyword-item">
|
||||
<a class="wpfc-add-new-keyword">Add Keyword</a>
|
||||
<div class="wpfc-textbox-con" style="display:none;">
|
||||
<div class="fixed-search"><input type="text" placeholder="Add Keyword"></div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user