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

Commit 6e6a552

Browse files
committed
Major updates.
1 parent b7b5b92 commit 6e6a552

45 files changed

Lines changed: 2608 additions & 2031 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.htaccess.sample

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Options -Indexes
22
RewriteEngine On
33

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

66
RewriteCond %{REQUEST_FILENAME} !-f
77
RewriteCond %{REQUEST_FILENAME} !-d
88
RewriteCond %{REQUEST_URI} !=/favicon.ico
9-
RewriteRule ^(.*)$ index.php?page=$1 [L,QSA]
9+
RewriteRule ^(.*)$ index.php?_PAGE=$1 [L,QSA]

404.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE html>
2+
<html lang="en" class="h-100">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7+
<meta name="description" content="">
8+
<meta name="author" content="NodeList">
9+
<title>404 Page Not Found</title>
10+
11+
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/css/bootstrap.min.css" rel="stylesheet">
12+
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/4.5.3/flatly/bootstrap.min.css" rel="stylesheet">
13+
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
14+
</head>
15+
16+
<body class="d-flex flex-column h-100 text-center">
17+
<main class="flex-shrink-0">
18+
<div class="container">
19+
<div class="row">
20+
<div class="col">
21+
<div class="mx-auto w-50">
22+
<h2 class="mt-5 mb-3">The Page Is Missing!</h2>
23+
<p>
24+
The requested page is not found.
25+
</p>
26+
</div>
27+
</div>
28+
</div>
29+
</div>
30+
</main>
31+
32+
<footer class="footer mt-auto py-3">
33+
<div class="container">
34+
<span class="text-muted"><i class="fa fa-github"></i> <a href="https://github.com/seikan/NodeList" target="_blank">Node List</a></span>
35+
</div>
36+
</footer>
37+
</body>
38+
39+
</html>
40+

50x.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE html>
2+
<html lang="en" class="h-100">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7+
<meta name="description" content="">
8+
<meta name="author" content="NodeList">
9+
<title>500 Internal Server Error</title>
10+
11+
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.3/css/bootstrap.min.css" rel="stylesheet">
12+
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/4.5.3/flatly/bootstrap.min.css" rel="stylesheet">
13+
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
14+
</head>
15+
16+
<body class="d-flex flex-column h-100 text-center">
17+
<main class="flex-shrink-0">
18+
<div class="container">
19+
<div class="row">
20+
<div class="col">
21+
<div class="mx-auto w-50">
22+
<h2 class="mt-5 mb-3">Oops! Something Went Wrong</h2>
23+
<p>
24+
There is an error in the page. Please check the server log for details.
25+
</p>
26+
</div>
27+
</div>
28+
</div>
29+
</div>
30+
</main>
31+
32+
<footer class="footer mt-auto py-3">
33+
<div class="container">
34+
<span class="text-muted"><i class="fa fa-github"></i> <a href="https://github.com/seikan/NodeList" target="_blank">Node List</a></span>
35+
</div>
36+
</footer>
37+
</body>
38+
39+
</html>
40+

README.md

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,28 @@
1-
# NodeList
1+
# Node List
22

3-
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.
3+
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.
44

5-
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.
65

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

9-
I will continue update the application if needed.
7+
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.
8+
9+
10+
11+
### Requirements
12+
13+
- PHP 7.2 and above.
14+
- Apache / Nginx web server.
15+
16+
17+
18+
### Screenshots
19+
20+
![](https://user-images.githubusercontent.com/73107/108585062-1bd74400-7381-11eb-9e89-711c7619ea1a.png)
21+
22+
23+
24+
![](https://user-images.githubusercontent.com/73107/108585067-209bf800-7381-11eb-80db-b12a49cc8b87.png)
25+
26+
27+
28+
![](https://user-images.githubusercontent.com/73107/108585069-21cd2500-7381-11eb-9874-1b92b9e046b4.png)

assets/css/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
textarea{resize:none}
2+
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}
3+
.machine-name,.machine-ip{cursor:pointer}
4+
.machine-ip .fa{visibility:hidden}
5+
.machine-ip:hover .fa{visibility:visible}
6+
.badge-hdd{font-size:8px;display:block}
7+
.swap{font-size:10px;color:var(--secondary)}
8+
.nat{font-size:6px;position:absolute;margin-top:-6px}

assets/img/icon.png

13.5 KB
Loading

assets/img/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Access denied.

assets/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Access denied.

0 commit comments

Comments
 (0)