-
-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cleanup, css, rebase to alpine 3.21 #968
- Loading branch information
jokob-sk
committed
Jan 20, 2025
1 parent
5110a3c
commit 5b10026
Showing
37 changed files
with
116 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,11 @@ | ||
<!-- | ||
#---------------------------------------------------------------------------------# | ||
# NetAlertX # | ||
# Open Source Network Guard / WIFI & LAN intrusion detector # | ||
# # | ||
# events.php - Front module. Events page # | ||
#---------------------------------------------------------------------------------# | ||
# Puche 2021 [email protected] GNU GPLv3 # | ||
# jokob-sk 2022 [email protected] GNU GPLv3 # | ||
# leiweibau 2022 https://github.com/leiweibau GNU GPLv3 # | ||
# cvc90 2023 https://github.com/cvc90 GNU GPLv3 # | ||
#---------------------------------------------------------------------------------# | ||
--> | ||
|
||
<?php | ||
require 'php/templates/header.php'; | ||
?> | ||
|
||
<!-- ----------------------------------------------------------------------- --> | ||
|
||
<!-- Page ------------------------------------------------------------------ --> | ||
<div class="content-wrapper"> | ||
|
||
<!-- Content header--------------------------------------------------------- --> | ||
<section class="content-header"> | ||
<h1 id="pageTitle"> | ||
<i class="fa fa-bolt"></i> | ||
<?= lang('Events_Title');?> | ||
</h1> | ||
|
||
<!-- period selector --> | ||
<span class="breadcrumb" style="top: 0px;"> | ||
<select class="form-control" id="period" onchange="javascript: periodChanged();"> | ||
<option value="1 day"><?= lang('Events_Periodselect_today');?></option> | ||
<option value="7 days"><?= lang('Events_Periodselect_LastWeek');?></option> | ||
<option value="1 month" selected><?= lang('Events_Periodselect_LastMonth');?></option> | ||
<option value="1 year"><?= lang('Events_Periodselect_LastYear');?></option> | ||
<option value="100 years"><?= lang('Events_Periodselect_All');?></option> | ||
</select> | ||
</span> | ||
</section> | ||
<div class="content-wrapper eventsPage"> | ||
|
||
<!-- Main content ---------------------------------------------------------- --> | ||
<section class="content"> | ||
|
@@ -123,15 +90,31 @@ | |
<!-- datatable ------------------------------------------------------------- --> | ||
<div class="row"> | ||
<div class="col-xs-12"> | ||
|
||
<div id="tableEventsBox" class="box"> | ||
|
||
<!-- box-header --> | ||
<div class="box-header"> | ||
<h3 id="tableEventsTitle" class="box-title text-gray">Events</h3> | ||
<div class="box-header col-xs-12"> | ||
<h3 id="tableEventsTitle" class="box-title text-gray col-xs-10">Events</h3> | ||
<div class="eventsPeriodSelectWrap col-xs-2"> | ||
<select class="form-control" id="period" onchange="javascript: periodChanged();"> | ||
<option value="1 day"><?= lang('Events_Periodselect_today');?></option> | ||
<option value="7 days"><?= lang('Events_Periodselect_LastWeek');?></option> | ||
<option value="1 month" selected><?= lang('Events_Periodselect_LastMonth');?></option> | ||
<option value="1 year"><?= lang('Events_Periodselect_LastYear');?></option> | ||
<option value="100 years"><?= lang('Events_Periodselect_All');?></option> | ||
</select> | ||
</div> | ||
|
||
</div> | ||
|
||
|
||
|
||
<!-- table --> | ||
<div class="box-body table-responsive"> | ||
|
||
|
||
|
||
<table id="tableEvents" class="table table-bordered table-hover table-striped "> | ||
<thead> | ||
<tr> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,16 @@ | ||
<?php | ||
#---------------------------------------------------------------------------------# | ||
# NetAlertX # | ||
# Open Source Network Guard / WIFI & LAN intrusion detector # | ||
# # | ||
# maintenance.php - Front module. Server side. Maintenance # | ||
#---------------------------------------------------------------------------------# | ||
# Puche 2021 [email protected] GNU GPLv3 # | ||
# jokob-sk 2022 [email protected] GNU GPLv3 # | ||
# leiweibau 2022 https://github.com/leiweibau GNU GPLv3 # | ||
# cvc90 2023 https://github.com/cvc90 GNU GPLv3 # | ||
#---------------------------------------------------------------------------------# | ||
|
||
|
||
|
||
//------------------------------------------------------------------------------ | ||
?> | ||
|
||
|
||
|
||
<?php | ||
require 'php/templates/header.php'; | ||
require 'php/templates/notification.php'; | ||
?> | ||
|
||
<!-- ----------------------------------------------------------------------- --> | ||
|
||
|
||
<!-- Page ------------------------------------------------------------------ --> | ||
<div class="content-wrapper" id="maintenancePage"> | ||
|
||
<!-- Content header--------------------------------------------------------- --> | ||
<section class="content-header"> | ||
<?php require 'php/templates/notification.php'; ?> | ||
<h1 id="pageTitle"> | ||
<i class="fa fa-wrench"></i> | ||
<?= lang('Maintenance_Title');?> | ||
</h1> | ||
</section> | ||
<!-- Main content ---------------------------------------------------------- --> | ||
<section class="content"> | ||
|
||
<!-- Main content ---------------------------------------------------------- --> | ||
<section class="content"> | ||
|
||
|
||
<?php | ||
<?php | ||
|
||
// Size and last mod of DB ------------------------------------------------------ | ||
|
||
|
@@ -91,10 +60,11 @@ | |
<div class="db_info_table_row"> | ||
<div class="db_info_table_cell" style="min-width: 140px"><?= lang('Maintenance_version');?> | ||
<a href="https://github.com/jokob-sk/NetAlertX/blob/main/docs/VERSIONS.md" target="_blank"> <span><i class="fa fa-circle-question"></i></a><span> | ||
|
||
</div> | ||
<div class="db_info_table_cell"> | ||
<div class="version" id="version" data-build-time="<?php echo file_get_contents( "buildtimestamp.txt");?>"><?php echo '<span id="new-version-text" class="myhidden">' .lang('Maintenance_new_version').'</span>'.'<span id="current-version-text" class="myhidden">' .lang('Maintenance_current_version').'</span>';?></div> | ||
<div class="version" id="version" data-build-time="<?php echo file_get_contents( "buildtimestamp.txt");?>"> | ||
<?php echo '<span id="new-version-text" class="myhidden"><i class="fa-solid fa-rocket fa-beat"></i> ' .lang('Maintenance_new_version').'</span>'.'<span id="current-version-text" class="myhidden">' .lang('Maintenance_current_version').'</span>';?> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="db_info_table_row"> | ||
|
Oops, something went wrong.