forked from crowdfavorite-mirrors/wp-w3-total-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cdn_Highwinds_Widget_View.php
executable file
·42 lines (39 loc) · 1.56 KB
/
Cdn_Highwinds_Widget_View.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
namespace W3TC;
if ( !defined( 'W3TC' ) )
die();
?>
<div class="wrapper">
<div class="tools area">
<ul class="w3tchw_tools">
<li><a class="button"
href="<?php echo $url_manage ?>"><?php _e( 'Manage', 'w3-total-cache' )?></a>
</li>
<li><a class="button"
href="<?php echo $url_analyze ?>"><?php _e( 'Reports', 'w3-total-cache' )?></a>
</li>
<li><a class="button" href="<?php echo $url_purge ?>"
onclick="w3tc_popupadmin_bar(this.href); return false"><?php _e( 'Purge', 'w3-total-cache' )?></a>
</li>
</ul>
</div>
<div class="w3tchw_loading w3tc_loading w3tc_hidden">Loading...</div>
<div class="w3tchw_error w3tc_none">
An error occurred
<div class="w3tchw_error_details"></div>
</div>
<div class="w3tchw_content w3tc_hidden">
<div class="summary area">
<h4><?php _e( 'Report - 30 days', 'w3-total-cache' ) ?></h4>
<ul id="w3tchw_report">
<li>Transferred: <span class="w3tchw_transferred_size"></span></li>
<li>Average rate Mb/s: <span class="w3tchw_average_mbps"></span></li>
<li>Average requests/s: <span class="w3tchw_average_rps"></span></li>
</ul>
</div>
<div class="charts area">
<h4><?php _e( 'Requests', 'w3-total-cache' ) ?></h4>
<div id="w3tchw_chart" style="width: 320px; height: 220px;margin-left: auto; margin-right: auto;"></div>
</div>
</div>
</div>