mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
Frontend UI performance fix
This commit is contained in:
parent
04070b4270
commit
bae14b2180
6 changed files with 46 additions and 39 deletions
|
@ -62,8 +62,37 @@
|
|||
<!-- /.l-separator -->
|
||||
|
||||
<div class="l-center units">
|
||||
<?php
|
||||
<?php
|
||||
if ($user == 'admin') {
|
||||
?>
|
||||
<div class="io-box clearfix">
|
||||
<div class="io-box-left clearfix">
|
||||
<div class="io-box-left-items io-1-homepage-block">
|
||||
<a href="https://www.myvestacp.com/" target="_blank">myVesta</a>
|
||||
<span class="io-description">website</span>
|
||||
</div>
|
||||
<div class="io-box-left-items io-2-homepage-block">
|
||||
<a href="https://forum.myvestacp.com/" target="_blank">Forum</a>
|
||||
<span class="io-description">Ask the questions on our forum</span>
|
||||
</div>
|
||||
<div class="io-box-left-items io-3-homepage-block">
|
||||
<a href="https://github.com/myvesta/vesta" target="_blank">Git</a>
|
||||
<span class="io-description">Become our code contributor</span>
|
||||
</div>
|
||||
<div class="io-box-left-items io-4-homepage-block">
|
||||
<a href="https://forum.myvestacp.com/viewtopic.php?t=814" target="_blank">Donate</a>
|
||||
<span class="io-description">Buy us a coffe</span>
|
||||
</div>
|
||||
<div class="io-box-left-items io-5-homepage-block">
|
||||
<a href="https://wiki.myvestacp.com/" target="_blank">Wiki</a>
|
||||
<span class="io-description">Find solution in our documentation</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="io-box-right io-banner clearfix">
|
||||
<a href="/list/rrd/"><img src="/list/rrd/image.php?/rrd/la/daily-la.png" alt="SysLoad"></a>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
echo '<a class="l-sort__create-btn" style="position: relative; bottom: 0; margin-bottom: 15px; left: 20px;" href="/add/user/" title="'.__('Add User').'"></a>';
|
||||
}
|
||||
if (isset($changelog)) {
|
||||
|
|
|
@ -128,6 +128,9 @@ $debian_ver=file_get_contents('/etc/debian_version');
|
|||
<span style="font-weight: bold;">Build date:</span> <?php echo $vesta_build_date;?><br />
|
||||
<span style="font-weight: bold;">Debian </span> <?php echo $debian_ver;?><br />
|
||||
</div>
|
||||
<div style="display: block; padding: 30px 0 0 19px; color: #b9bcbd;">
|
||||
<a href="https://forum.myvestacp.com/viewtopic.php?f=23&t=819" target="_blank" style="text-decoration: underline;">Need emergency help?</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.l-stats -->
|
||||
</div>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Lobster&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css">
|
||||
<link rel="stylesheet" href="/css/styles.fix.css?1446554108">
|
||||
<link rel="stylesheet" href="/css/styles.fix.css?1446554110">
|
||||
<script>
|
||||
//
|
||||
// GLOBAL SETTINGS
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
<div>
|
||||
<?php
|
||||
$output='';
|
||||
exec (VESTA_CMD."v-list-user-log ".$CURRENT_USER_FINAL." json 25", $output, $return_var);
|
||||
exec (VESTA_CMD."v-list-user-log ".$CURRENT_USER_FINAL." json 15", $output, $return_var);
|
||||
check_error($return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
foreach ($data as $key => $value) {
|
||||
|
@ -165,7 +165,7 @@ foreach ($data as $key => $value) {
|
|||
<script type="text/javascript" src="/js/i18n.js.php?<?=JS_LATEST_UPDATE?>"></script>
|
||||
<script type="text/javascript" src="/js/templates.js?<?=JS_LATEST_UPDATE?>"></script>
|
||||
<script type="text/javascript" src="/js/jquery.finder.js?<?=JS_LATEST_UPDATE?>"></script>
|
||||
<script type="text/javascript" src="/js/fix.js"></script>
|
||||
<script type="text/javascript" src="/js/fix.js?v=2"></script>
|
||||
|
||||
<script>
|
||||
hover_menu = function() {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue