From f7dd877a2783af93bc63ca13cfbec019a384e72d Mon Sep 17 00:00:00 2001
From: hunterlong <info@socialeck.com>
Date: Fri, 20 Mar 2020 01:29:22 -0700
Subject: [PATCH] travis

---
 cmd/cli.go                   | 12 +++++++++---
 frontend/src/pages/Index.vue | 12 ------------
 2 files changed, 9 insertions(+), 15 deletions(-)

diff --git a/cmd/cli.go b/cmd/cli.go
index ac3b43b8..1f095cc8 100644
--- a/cmd/cli.go
+++ b/cmd/cli.go
@@ -316,9 +316,8 @@ func HelpEcho() {
 	fmt.Println("     statping version            - Returns the current version of Statping")
 	fmt.Println("     statping run                - Check all services 1 time and then quit")
 	fmt.Println("     statping assets             - Dump all assets used locally to be edited.")
-	fmt.Println("     statping static             - Creates a static HTML file of the index page")
+	//fmt.Println("     statping static             - Creates a static HTML file of the index page")
 	fmt.Println("     statping sass               - Compile .scss files into the css directory")
-	fmt.Println("     statping test plugins       - Test all plugins for required information")
 	fmt.Println("     statping env                - Show all environment variables being used for Statping")
 	fmt.Println("     statping update             - Attempts to update to the latest version")
 	fmt.Println("     statping export             - Exports your Statping settings to a 'statping-export.json' file.")
@@ -334,7 +333,6 @@ func HelpEcho() {
 	fmt.Println("     IP                        - Bind a specific IP address to the HTTP server (or use -ip)")
 	fmt.Println("     VERBOSE                   - Display more logs in verbose mode. (1 - 4)")
 	fmt.Println("     STATPING_DIR              - Set a absolute path for the root path of Statping server (logs, assets, SQL db)")
-	fmt.Println("     DISABLE_LOGS              - Disable viewing and writing to the log file (default is false)")
 	fmt.Println("     DB_CONN                   - Automatic Database connection (sqlite, postgres, mysql)")
 	fmt.Println("     DB_HOST                   - Database hostname or IP address")
 	fmt.Println("     DB_USER                   - Database username")
@@ -342,6 +340,7 @@ func HelpEcho() {
 	fmt.Println("     DB_PORT                   - Database port (5432, 3306, ...)")
 	fmt.Println("     DB_DATABASE               - Database connection's database name")
 	fmt.Println("     POSTGRES_SSLMODE          - Enable Postgres SSL Mode 'ssl_mode=VALUE' (enable/disable/verify-full/verify-ca)")
+	fmt.Println("     DISABLE_LOGS              - Disable viewing and writing to the log file (default is false)")
 	fmt.Println("     GO_ENV                    - Run Statping in testmode, will bypass HTTP authentication (if set as 'test')")
 	fmt.Println("     NAME                      - Set a name for the Statping status page")
 	fmt.Println("     DESCRIPTION               - Set a description for the Statping status page")
@@ -349,10 +348,17 @@ func HelpEcho() {
 	fmt.Println("     ADMIN_USER                - Username for administrator account (default: admin)")
 	fmt.Println("     ADMIN_PASS                - Password for administrator account (default: admin)")
 	fmt.Println("     SASS                      - Set the absolute path to the sass binary location")
+	fmt.Println("     USE_ASSETS                - Automatically use assets from 'assets folder' (true/false)")
 	fmt.Println("     HTTP_PROXY                - Use a HTTP Proxy for HTTP Requests")
 	fmt.Println("     AUTH_USERNAME             - HTTP Basic Authentication username")
 	fmt.Println("     AUTH_PASSWORD             - HTTP Basic Authentication password")
 	fmt.Println("     BASE_PATH                 - Set the base URL prefix (set to 'monitor' if URL is domain.com/monitor)")
+	fmt.Println("     PREFIX                    - A Prefix for each value in Prometheus /metric exporter")
+	fmt.Println("     API_KEY                   - Set a custom API Key for Statping")
+	fmt.Println("     API_SECRET                - Set a custom API Secret for API Authentication")
+	fmt.Println("     MAX_OPEN_CONN             - Set Maximum Open Connections for database server (default: 5)")
+	fmt.Println("     MAX_IDLE_CONN             - Set Maximum Idle Connections for database server")
+	fmt.Println("     MAX_LIFE_CONN             - Set Maximum Life Connections for database server")
 	fmt.Println("   * You can insert environment variables into a '.env' file in root directory.")
 	fmt.Println("Give Statping a Star at https://github.com/statping/statping")
 }
diff --git a/frontend/src/pages/Index.vue b/frontend/src/pages/Index.vue
index 402fb5c9..d7aafadf 100644
--- a/frontend/src/pages/Index.vue
+++ b/frontend/src/pages/Index.vue
@@ -3,18 +3,6 @@
 
         <Header/>
 
-        <div v-show="$store.getters.groups.length === 0">
-            <div class="col-12">
-                <div class="col-12 loader backgroundAnimated"></div>
-                <div class="col-12 mt-3 border-0 loader backgroundAnimated" style="min-height: 200px;"></div>
-            </div>
-
-            <div class="col-12 mt-4">
-                <div class="col-12 loader backgroundAnimated"></div>
-                <div class="col-12 mt-3 border-0 loader backgroundAnimated" style="min-height: 200px;"></div>
-            </div>
-        </div>
-
         <div v-for="(group, index) in $store.getters.groupsInOrder" v-bind:key="index">
             <Group :group=group />
         </div>