diff --git a/README.md b/README.md index 86d641b..2270af2 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # gPanel ![TravisCI gPanel Build](https://travis-ci.org/Ennovar/gPanel.svg?branch=master) +![gPanel Logo](logo/gpanel-general.jpg) + 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) diff --git a/account/assets/css/style.css b/account/assets/css/style.css index 5a9ced0..335d132 100644 --- a/account/assets/css/style.css +++ b/account/assets/css/style.css @@ -28,6 +28,11 @@ body { .btn { cursor:pointer; } + +.loginLogo img { + width:600px; + height:auto; +} /* General End */ /* IP Filter Modal Start */ diff --git a/account/assets/img/gpanel-account.jpg b/account/assets/img/gpanel-account.jpg new file mode 100644 index 0000000..8a4dd7f Binary files /dev/null and b/account/assets/img/gpanel-account.jpg differ diff --git a/account/index.html b/account/index.html index 8a996ff..bbd9a00 100644 --- a/account/index.html +++ b/account/index.html @@ -25,6 +25,12 @@
+
+ +
+
diff --git a/logo/gpanel-account.psd b/logo/gpanel-account.psd new file mode 100644 index 0000000..bbcf349 Binary files /dev/null and b/logo/gpanel-account.psd differ diff --git a/logo/gpanel-general.jpg b/logo/gpanel-general.jpg new file mode 100644 index 0000000..cbe519f Binary files /dev/null and b/logo/gpanel-general.jpg differ diff --git a/logo/gpanel-general.psd b/logo/gpanel-general.psd new file mode 100644 index 0000000..de6f670 Binary files /dev/null and b/logo/gpanel-general.psd differ diff --git a/logo/gpanel-logo-small.png b/logo/gpanel-logo-small.png new file mode 100644 index 0000000..46473cf Binary files /dev/null and b/logo/gpanel-logo-small.png differ diff --git a/logo/gpanel-logo.png b/logo/gpanel-logo.png new file mode 100644 index 0000000..31f9596 Binary files /dev/null and b/logo/gpanel-logo.png differ diff --git a/logo/gpanel-server.psd b/logo/gpanel-server.psd new file mode 100644 index 0000000..6e99186 Binary files /dev/null and b/logo/gpanel-server.psd differ diff --git a/pkg/gpaccount/authentication.go b/pkg/gpaccount/authentication.go index 546af5c..16a18bf 100644 --- a/pkg/gpaccount/authentication.go +++ b/pkg/gpaccount/authentication.go @@ -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 diff --git a/pkg/gpserver/authentication.go b/pkg/gpserver/authentication.go index ba80d9a..be01e16 100644 --- a/pkg/gpserver/authentication.go +++ b/pkg/gpserver/authentication.go @@ -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 diff --git a/server/document_root/assets/css/style.css b/server/document_root/assets/css/style.css index 52547f1..48af9b7 100644 --- a/server/document_root/assets/css/style.css +++ b/server/document_root/assets/css/style.css @@ -28,4 +28,9 @@ body { .btn { cursor:pointer; } + +.loginLogo img { + width:600px; + height:auto; +} /* General End */ diff --git a/server/document_root/assets/img/gpanel-server.jpg b/server/document_root/assets/img/gpanel-server.jpg new file mode 100644 index 0000000..73e923b Binary files /dev/null and b/server/document_root/assets/img/gpanel-server.jpg differ diff --git a/server/document_root/index.html b/server/document_root/index.html index 23f0b41..267c81a 100644 --- a/server/document_root/index.html +++ b/server/document_root/index.html @@ -25,6 +25,12 @@
+
+ +
+