Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Commit

Permalink
Major updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
seikan committed Feb 20, 2021
1 parent b7b5b92 commit 6e6a552
Show file tree
Hide file tree
Showing 45 changed files with 2,608 additions and 2,031 deletions.
4 changes: 2 additions & 2 deletions .htaccess.sample
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Options -Indexes
RewriteEngine On

RewriteRule ^(.+)\.json$ index.php?q=json.$1.php [L,QSA]
RewriteRule ^(.+)\.json$ index.php?_PAGE=json.$1.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)$ index.php?page=$1 [L,QSA]
RewriteRule ^(.*)$ index.php?_PAGE=$1 [L,QSA]
40 changes: 40 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en" class="h-100">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="NodeList">
<title>404 Page Not Found</title>

<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/4.5.3/flatly/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
</head>

<body class="d-flex flex-column h-100 text-center">
<main class="flex-shrink-0">
<div class="container">
<div class="row">
<div class="col">
<div class="mx-auto w-50">
<h2 class="mt-5 mb-3">The Page Is Missing!</h2>
<p>
The requested page is not found.
</p>
</div>
</div>
</div>
</div>
</main>

<footer class="footer mt-auto py-3">
<div class="container">
<span class="text-muted"><i class="fa fa-github"></i> <a href="https://github.com/seikan/NodeList" target="_blank">Node List</a></span>
</div>
</footer>
</body>

</html>

40 changes: 40 additions & 0 deletions 50x.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en" class="h-100">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="NodeList">
<title>500 Internal Server Error</title>

<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/4.5.3/flatly/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
</head>

<body class="d-flex flex-column h-100 text-center">
<main class="flex-shrink-0">
<div class="container">
<div class="row">
<div class="col">
<div class="mx-auto w-50">
<h2 class="mt-5 mb-3">Oops! Something Went Wrong</h2>
<p>
There is an error in the page. Please check the server log for details.
</p>
</div>
</div>
</div>
</div>
</main>

<footer class="footer mt-auto py-3">
<div class="container">
<span class="text-muted"><i class="fa fa-github"></i> <a href="https://github.com/seikan/NodeList" target="_blank">Node List</a></span>
</div>
</footer>
</body>

</html>

29 changes: 24 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,28 @@
# NodeList
# Node List

This is a small web application I wrote to keep track all my VPS and dedicated servers. The codes may messy as it was using by myself only in last 3 years.
This is a PHP web application I wrote to keep track all my VPS and dedicated servers. It utilized some library written by myself. This application is storing records in CSV format. It's recommended to use by only yourself.

The codes are written in PHP and frontend with [Bootstrap](http://getbootstrap.com/). The database is stored in CSV files with no MySQL or SQLite extension needed.

I just added a `setup.php` so everyone can try to install and run it.

I will continue update the application if needed.
This application is maintained during my free time. Feel free to create pull request or [report issue](https://github.com/seikan/NodeList/issues) and I will have look whenever possible.



### Requirements

- PHP 7.2 and above.
- Apache / Nginx web server.



### Screenshots

![](https://user-images.githubusercontent.com/73107/108585062-1bd74400-7381-11eb-9e89-711c7619ea1a.png)



![](https://user-images.githubusercontent.com/73107/108585067-209bf800-7381-11eb-80db-b12a49cc8b87.png)



![](https://user-images.githubusercontent.com/73107/108585069-21cd2500-7381-11eb-9874-1b92b9e046b4.png)
File renamed without changes.
8 changes: 8 additions & 0 deletions assets/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
textarea{resize:none}
input[type="text"],input[type="email"],input[type="search"],input[type="password"],input[type="number"],textarea{-webkit-appearance:none;-webkit-box-shadow:none !important;-moz-box-shadow:none !important;box-shadow:none !important}
.machine-name,.machine-ip{cursor:pointer}
.machine-ip .fa{visibility:hidden}
.machine-ip:hover .fa{visibility:visible}
.badge-hdd{font-size:8px;display:block}
.swap{font-size:10px;color:var(--secondary)}
.nat{font-size:6px;position:absolute;margin-top:-6px}
Binary file added assets/img/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/img/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Access denied.
1 change: 1 addition & 0 deletions assets/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Access denied.
Loading

0 comments on commit 6e6a552

Please sign in to comment.