Skip to content

Commit 40369d7

Browse files
author
Kristan Kenney
committed
Merge branch 'winterfell-weblogs' into webui-refresh-winterfell
2 parents 30259df + ea81a7c commit 40369d7

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

web/templates/admin/list_web.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
<div class="l-unit-toolbar__col l-unit-toolbar__col--right noselect">
141141
<div class="actions-panel clearfix">
142142
<div class="actions-panel__col actions-panel__edit shortcut-enter" key-action="href"><a href="/edit/web/?domain=<?=$key?>"><?=__('edit')?> <i></i></a><span class="shortcut enter">&nbsp;&#8629;</span></div>
143-
<div class="actions-panel__col actions-panel__logs shortcut-l" key-action="href"><a href="/list/web-log/?domain=<?php echo $key ?>&type=access#" target="_blank"><?=__('view logs')?> <i></i></a><span class="shortcut">&nbsp;L</span></div>
143+
<div class="actions-panel__col actions-panel__logs shortcut-l" key-action="href"><a href="/list/web-log/?domain=<?php echo $key ?>&type=access#"><?=__('view logs')?> <i></i></a><span class="shortcut">&nbsp;L</span></div>
144144
<? if (!empty($data[$key]['STATS'])) { ?>
145145
<div class="actions-panel__col actions-panel__logs shortcut-w" key-action="href"><a href="http://<?=$key?>/vstats/" target="_blank"><?=__('open webstats')?> <i></i></a><span class="shortcut">&nbsp;W</span></div>
146146
<? } ?>

web/templates/admin/list_weblog.html

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
<meta charset="utf-8">
55
<link rel="icon" href="/images/favicon.ico" type="image/x-icon">
66
<title>Hestia - <?=__('Web Log Manager')?> </title>
7-
<link rel="stylesheet" href="/css/styles.min.css">
8-
9-
<link type="text/css" href="/css/jquery-custom-dialogs.css" rel="stylesheet" />
7+
<link rel="stylesheet" href="/css/styles.min.css?1446554103">
8+
<link type="text/css" href="/css/animate.css?1446554103" rel="stylesheet" />
9+
<link type="text/css" href="/css/jquery-custom-dialogs.css?1446554103" rel="stylesheet" />
10+
<link type="text/css" href="/css/all.min.css?1446554103" rel="stylesheet" />
11+
<script src="/inc/jquery/jquery-3.3.1.min.js"></script>
1012
<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
1113
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
1214
<script type="text/javascript" src="/js/jquery-ui-1.8.20.custom.min.js"></script>
@@ -21,20 +23,21 @@
2123
<a href="/" class="l-logo"></a>
2224
<!-- /.l-logo -->
2325
<div class="l-menu clearfix">
24-
<div class="l-menu__item <?php if($_GET['type'] == 'access') echo 'l-menu__item--active' ?>"><a href="/list/web-log/?domain=<?=htmlentities($_GET['domain'])?>&type=access"><?=__('AccessLog')?></a></div>
25-
<div class="l-menu__item <?php if($_GET['type'] == 'error') echo 'l-menu__item--active' ?>"><a href="/list/web-log/?domain=<?=htmlentities($_GET['domain'])?>&type=error"><?=__('ErrorLog')?></a></div>
26-
<div class="l-menu__item"><a href="/download/web-log/?domain=<?=htmlentities($_GET['domain'])?>&type=access"><?=__('Download AccessLog')?></a></div>
27-
<div class="l-menu__item"><a href="/download/web-log/?domain=<?=htmlentities($_GET['domain'])?>&type=error"><?=__('Download ErrorLog')?></a></div>
26+
<div class="l-menu__item"><a href="/list/web/"><i class="fas fa-arrow-alt-circle-left"></i>&nbsp;&nbsp;&nbsp;<?=__('Back')?></a></div>
27+
<div class="l-menu__item <?php if($_GET['type'] == 'access') echo 'l-menu__item--active' ?>"><a href="/list/web-log/?domain=<?=htmlentities($_GET['domain'])?>&type=access"><i class="fas fa-eye"></i>&nbsp;&nbsp;&nbsp;<?=__('AccessLog')?></a><a href="/download/web-log/?domain=<?=htmlentities($_GET['domain'])?>&type=access"><i class="fas fa-download"></i></a></div>
28+
<div class="l-menu__item <?php if($_GET['type'] == 'error') echo 'l-menu__item--active' ?>"><a href="/list/web-log/?domain=<?=htmlentities($_GET['domain'])?>&type=error"><i class="fas fa-exclamation-circle"></i>&nbsp;&nbsp;&nbsp;<?=__('ErrorLog')?></a><a href="/download/web-log/?domain=<?=htmlentities($_GET['domain'])?>&type=error"><i class="fas fa-download"></i></a></div>
29+
2830
</div>
2931
<!-- /.l-menu -->
3032
<div class="l-profile">
33+
<div class="l-menu__item"><a href="javascript:location.reload();"><i class="fas fa-redo"></i></a></div>
3134
<a class="l-profile__username" href="/edit/user/?user=<?php echo $user; ?>"><?=$user?></a>
32-
<a class="l-profile__logout" href="/logout/"> <?=__('Log out')?> </a>
35+
<a class="l-profile__logout" href="/logout/"> <?=__('Log out')?> <i class="fas fa-sign-out-alt"></i></a>
3336
</div>
3437
<!-- /.l-profile -->
3538
</div>
3639
</div>
3740
<!-- /.l-header -->
3841

3942
<div style="color: #cc3366; padding: 10px 0 20px 20px; background: #fff; "><?php echo __('Last 70 lines of %s.%s.log',htmlentities($_GET['domain']),htmlentities($_GET['type'])) ;?></div>
40-
<pre style="margin-left: 20px; color: #555; font-family: arial; font-size: 14px; line-height: 30px;">
43+
<pre class="console-output">

0 commit comments

Comments
 (0)