|
|
@@ -110,6 +110,31 @@
|
|
|
<input type="hidden" name="id" value="{$id}" />
|
|
|
|
|
|
<table class="table table-striped">
|
|
|
+ {if $lastupdate}
|
|
|
+ <div class="tab-pane fade" role="tabpanel" id="resourceusage">
|
|
|
+ <div class="col-sm-10 offset-sm-1">
|
|
|
+ <div class="col-sm-6">
|
|
|
+ <h4>{lang key='diskSpace'}</h4>
|
|
|
+ <input type="text" value="{$diskpercent|substr:0:-1}" class="dial-usage" data-width="100" data-height="100" data-min="0" data-readOnly="true" />
|
|
|
+ <p>{$diskusage / 1024} GB / {$disklimit / 1024} GB</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="clearfix">
|
|
|
+ </div>
|
|
|
+ <p class="text-muted">{lang key='clientarealastupdated'}: {$lastupdate}</p>
|
|
|
+ <script src="{$BASE_PATH_JS}/jquery.knob.js"></script>
|
|
|
+ <script>
|
|
|
+ jQuery(function() {
|
|
|
+ jQuery(".dial-usage").knob({
|
|
|
+ 'format': function(v) {
|
|
|
+ alert(v);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ </script>
|
|
|
+ </div>
|
|
|
+ {/if}
|
|
|
+
|
|
|
{foreach $configoptions as $configoption}
|
|
|
<tr>
|
|
|
<td>
|