forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlist_weblog.php
More file actions
92 lines (88 loc) · 4.13 KB
/
Copy pathlist_weblog.php
File metadata and controls
92 lines (88 loc) · 4.13 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!doctype html>
<html lang="en">
<head>
<!-- Load necessary CSS and JavaScript from source -->
<?php require "" . $_SERVER["HESTIA"] . "/web/templates/includes/title.php"; ?>
<?php require "" . $_SERVER["HESTIA"] . "/web/templates/includes/css.php"; ?>
<?php require "" . $_SERVER["HESTIA"] . "/web/templates/includes/js.php"; ?>
</head>
<body>
<header class="app-header">
<div class="top-bar">
<div class="container top-bar-inner">
<div class="top-bar-left">
<a href="/" class="top-bar-logo" title="<?= _("Hestia Control Panel") ?>">
<img src="/images/logo-header.svg" alt="<?= _("Hestia Control Panel") ?>" width="54" height="29">
</a>
</div>
<div class="top-bar-right">
<nav x-data="{ open: false }" class="top-bar-menu">
<button x-on:click="open = !open" type="button" class="top-bar-menu-link u-hide-tablet" title="<?= _("Toggle menu") ?>">
<i class="fas fa-bars"></i>
<span class="u-hidden"><?= _("Toggle menu") ?></span>
</button>
<ul x-cloak x-show="open" class="top-bar-menu-list animate__animated animate__fadeIn">
<li class="top-bar-menu-item">
<a class="top-bar-menu-link" href="/list/web/">
<i class="fas fa-circle-left"></i>
<span class="top-bar-menu-link-label"><?= _("Back") ?></span>
</a>
</li>
<li class="top-bar-menu-item">
<a class="top-bar-menu-link <?php if($_GET['type'] == 'access') echo 'active' ?>" href="/list/web-log/?domain=<?=htmlentities($_GET['domain'])?>&type=access&token=<?=$_SESSION['token']?>">
<i class="fas fa-eye"></i>
<span class="top-bar-menu-link-label"><?= _("Access Log") ?></span>
</a>
</li>
<li class="top-bar-menu-item">
<a class="top-bar-menu-link <?php if($_GET['type'] == 'access') echo 'active' ?>" href="/download/web-log/?domain=<?=htmlentities($_GET['domain'])?>&type=access&&token=<?=$_SESSION['token']?>" title="<?= _("Download") ?>">
<i class="fas fa-download"></i>
<span class="u-hidden"><?= _("Download") ?></span>
</a>
</li>
<li class="top-bar-menu-item">
<a class="top-bar-menu-link <?php if($_GET['type'] == 'error') echo 'active' ?>" href="/list/web-log/?domain=<?=htmlentities($_GET['domain'])?>&type=error&token=<?=$_SESSION['token']?>">
<i class="fas fa-circle-exclamation"></i>
<span class="top-bar-menu-link-label"><?= _("Error Log") ?></span>
</a>
</li>
<li class="top-bar-menu-item">
<a class="top-bar-menu-link <?php if($_GET['type'] == 'error') echo 'active' ?>" href="/download/web-log/?domain=<?=htmlentities($_GET['domain'])?>&type=error&token=<?=$_SESSION['token']?>" title="<?= _("Download") ?>">
<i class="fas fa-download"></i>
<span class="u-hidden"><?= _("Download") ?></span>
</a>
</li>
<li class="top-bar-menu-item">
<a class="top-bar-menu-link" href="javascript:location.reload();" title="<?= _("Refresh") ?>">
<i class="fas fa-arrow-rotate-right"></i>
<span class="u-hidden"><?= _("Refresh") ?></span>
</a>
</li>
<li class="top-bar-menu-item">
<a class="top-bar-menu-link" href="/edit/user/" title="<?= htmlentities($user) ?>">
<i class="fas fa-circle-user"></i>
<span class="u-hidden"><?= htmlentities($user) ?></span>
</a>
</li>
<li class="top-bar-menu-item">
<a class="top-bar-menu-link top-bar-menu-link-logout" href="/logout/?token=<?=$_SESSION['token']?>" title="<?= _("Log out") ?>">
<i class="fas fa-right-from-bracket"></i>
<span class="u-hidden"><?= _("Log out") ?></span>
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
</header>
<a
href="#top"
class="button button-secondary button-circle button-floating button-floating-top "
title="<?= _("Top") ?>"
>
<i class="fas fa-arrow-up"></i>
<span class="u-hidden"><?= _("Top") ?></span>
</a>
<div class="container" style="padding-top: 80px;"><?= sprintf(_("Last 70 lines of %s.%s.log"), htmlentities($_GET["domain"]), htmlentities($type)) ?></div>
<pre class="container console-output">