Changed LogView tool type

- Changed logview representation form from snippet to new tab
This commit is contained in:
Toby Chui
2025-08-31 14:29:20 +08:00
parent bf5ffa100c
commit d9fd38260f
2 changed files with 10 additions and 5 deletions

View File

@@ -125,7 +125,7 @@
<!-- Log Viewer -->
<h3>System Log Viewer</h3>
<p>View and download Zoraxy log</p>
<button class="ui basic button" onclick="launchToolWithSize('snippet/logview.html', 1024, 768);"><i class="ui blue file icon"></i> Open Log Viewer</button>
<a class="ui basic button" href="snippet/logview.html" target="_blank"><i class="ui blue file icon"></i> Open Log Viewer</a>
<div class="ui divider"></div>
<!-- System Information -->
<div id="zoraxyinfo">

View File

@@ -1,12 +1,17 @@
<!DOCTYPE html>
<html ng-app="App">
<head>
<title>System Logs</title>
<title>LogView | Zoraxy</title>
<meta charset="UTF-8">
<meta name="theme-color" content="#4b75ff">
<meta name="zoraxy.csrf.Token" content="{{.csrfToken}}">
<link rel="icon" type="image/png" href="../favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0 user-scalable=no">
<link rel="stylesheet" href="../script/semantic/semantic.min.css">
<script type="text/javascript" src="../script/jquery-3.6.0.min.js"></script>
<script type="text/javascript" src="../script/semantic/semantic.min.js"></script>
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="darktheme.css">
<style>
.clickable{
cursor: pointer;
@@ -140,7 +145,7 @@
<div class="ui container">
<div class="ui stackable secondary menu">
<div class="item" style="font-weight: bold;">
Zoraxy LogVPro
Zoraxy LogView
</div>
<a class="item active panel_menu_btn" id="dashboardMenu">
Dashboard
@@ -227,12 +232,12 @@ Pick a log file from the menu to start debugging
<br>
<div class="ui container">
<div class="ui divider"></div>
<small>Zoraxy LogVPro - Advance log viewer for Zoraxy log files</small>
<small>Zoraxy LogView - Advance log viewer for Zoraxy log files</small>
<br><br><br>
</div>
</body>
<script>
//LogVPro Implemnetation
//LogView Implementation
var currentFilter = "all";
var currentOpenedLogURL = "";
var currentLogFile = "";