mirror of
https://github.com/donl/gPanel.git
synced 2026-05-25 22:06:55 -06:00
commit
36bf57a2c1
15 changed files with 31 additions and 7 deletions
12
README.md
12
README.md
|
|
@ -1,11 +1,13 @@
|
|||
# gPanel 
|
||||
<p align="center"><img src="logo/gpanel-general.jpg" width="600"></p>
|
||||
<p align="center" style="text-size:10px;">Logo by <a href="https://www.github.com/bvhme">@bvhme</a></p>
|
||||
<p align="center"><a href="https://travis-ci.org/Ennovar/gPanel"><img src="https://travis-ci.org/Ennovar/gPanel.svg?branch=master"></a></p>
|
||||
|
||||
# gPanel
|
||||
|
||||
A web-hosting control panel written in Go.
|
||||
|
||||
*__Note:__ This software currently only runs on Linux systems.*
|
||||
|
||||
This project may qualify for Mozilla's 2018 Global Sprint, in efforts to satisfy their rules I am linking their Community Participation Guidelines [here](https://www.mozilla.org/en-US/about/governance/policies/participation/) along with their already being a code of conduct within this project located [here](https://github.com/Ennovar/gPanel/blob/master/CODE_OF_CONDUCT.md).
|
||||
|
||||
## Table of Contents
|
||||
1. [Technology Stack](#technology-stack)
|
||||
2. [Preview Images](#preview-images)
|
||||
|
|
@ -19,7 +21,7 @@ This project may qualify for Mozilla's 2018 Global Sprint, in efforts to satisfy
|
|||
|
||||
## Technology Stack
|
||||
|
||||
Backend: __[Go (1.8+)](https://golang.org/)__
|
||||
Backend: __[Go (1.9.2+)](https://golang.org/)__
|
||||
Database: __[Bolt](https://github.com/boltdb/bolt)__
|
||||
CSS Toolkit(s): __[Bootstrap 4](http://getbootstrap.com/) & [Font Awesome](http://fontawesome.io/)__
|
||||
JS Toolkit(s): __[jQuery](https://jquery.com/)__
|
||||
|
|
@ -27,7 +29,7 @@ JS Toolkit(s): __[jQuery](https://jquery.com/)__
|
|||
## Preview Images
|
||||
|
||||
gPanel Structure
|
||||

|
||||

|
||||
|
||||
gPanel Server
|
||||

|
||||
|
|
|
|||
|
|
@ -28,6 +28,11 @@ body {
|
|||
.btn {
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.loginLogo img {
|
||||
width:600px;
|
||||
height:auto;
|
||||
}
|
||||
/* General End */
|
||||
|
||||
/* IP Filter Modal Start */
|
||||
|
|
|
|||
BIN
account/assets/img/gpanel-account.jpg
Normal file
BIN
account/assets/img/gpanel-account.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 46 KiB |
|
|
@ -25,6 +25,12 @@
|
|||
</nav>
|
||||
|
||||
<div class="container">
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 text-center loginLogo">
|
||||
<img class="img-fluid" src="assets/img/gpanel-account.jpg" alt="gPanel Account">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-12 d-flex justify-content-center align-items-center">
|
||||
|
|
|
|||
BIN
logo/gpanel-account.psd
Normal file
BIN
logo/gpanel-account.psd
Normal file
Binary file not shown.
BIN
logo/gpanel-general.jpg
Normal file
BIN
logo/gpanel-general.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
BIN
logo/gpanel-general.psd
Normal file
BIN
logo/gpanel-general.psd
Normal file
Binary file not shown.
BIN
logo/gpanel-logo-small.png
Normal file
BIN
logo/gpanel-logo-small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
BIN
logo/gpanel-logo.png
Normal file
BIN
logo/gpanel-logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
BIN
logo/gpanel-server.psd
Normal file
BIN
logo/gpanel-server.psd
Normal file
Binary file not shown.
|
|
@ -16,7 +16,7 @@ import (
|
|||
func reqAuth(path string) bool {
|
||||
path = strings.ToLower(path)
|
||||
|
||||
dismissibleTypes := []string{".css", ".js"}
|
||||
dismissibleTypes := []string{".css", ".js", ".jpg", ".png", ".ico"}
|
||||
for _, t := range dismissibleTypes {
|
||||
if strings.HasSuffix(path, t) {
|
||||
return false
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ import (
|
|||
func reqAuth(path string) bool {
|
||||
path = strings.ToLower(path)
|
||||
|
||||
dismissibleTypes := []string{".css", ".js"}
|
||||
dismissibleTypes := []string{".css", ".js", ".jpg", ".png", ".ico"}
|
||||
for _, t := range dismissibleTypes {
|
||||
if strings.HasSuffix(path, t) {
|
||||
return false
|
||||
|
|
|
|||
|
|
@ -28,4 +28,9 @@ body {
|
|||
.btn {
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.loginLogo img {
|
||||
width:600px;
|
||||
height:auto;
|
||||
}
|
||||
/* General End */
|
||||
|
|
|
|||
BIN
server/document_root/assets/img/gpanel-server.jpg
Normal file
BIN
server/document_root/assets/img/gpanel-server.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
|
|
@ -25,6 +25,12 @@
|
|||
</nav>
|
||||
|
||||
<div class="container">
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 text-center loginLogo">
|
||||
<img class="img-fluid" src="assets/img/gpanel-server.jpg" alt="gPanel Server">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-12 d-flex justify-content-center align-items-center">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue