From 17136a42388273af72d133a5ae49832c554eb1e4 Mon Sep 17 00:00:00 2001 From: Rohith <gambol99@gmail.com> Date: Sat, 26 Aug 2017 11:59:08 +0100 Subject: [PATCH] - switching to golang v1.9 --- Makefile | 2 +- templates/forbidden.html.tmpl | 55 +++++++++++++++++------------------ 2 files changed, 28 insertions(+), 29 deletions(-) diff --git a/Makefile b/Makefile index 27f1a67..445118a 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ NAME=keycloak-proxy AUTHOR=gambol99 AUTHOR_EMAIL=gambol99@gmail.com REGISTRY=quay.io -GOVERSION ?= 1.8.3 +GOVERSION ?= 1.9 ROOT_DIR=${PWD} HARDWARE=$(shell uname -m) GIT_SHA=$(shell git --no-pager describe --always --dirty) diff --git a/templates/forbidden.html.tmpl b/templates/forbidden.html.tmpl index abbe6cd..d5b94b7 100644 --- a/templates/forbidden.html.tmpl +++ b/templates/forbidden.html.tmpl @@ -1,35 +1,34 @@ <!DOCTYPE html> <html> -<head> - <meta charset="UTF-8"> - <title>403 - Access Forbidden</title> - <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> - <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> - <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> - <style> - .oops { - font-size: 9em; - letter-spacing: 2px; - } - .message { - font-size: 3em; - } - </style> -</head> -<body> - <div class="container text-center"> - <div class="row vcenter" style="margin-top: 20%;"> - <div class="col-md-12"> - <div class="error-template"> - <h1 class="oops">Oops!</h1> - <h2 class="message">403 Permission Denied</h2> - <div class="error-details"> - Sorry, you do not have access to this page, please contact your administrator + <head> + <meta charset="UTF-8"> + <title>403 - Access Forbidden</title> + <link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> + <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> + <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script> + <style> + .oops { + font-size: 9em; + letter-spacing: 2px; + } + .message { + font-size: 3em; + } + </style> + </head> + <body> + <div class="container text-center"> + <div class="row vcenter" style="margin-top: 20%;"> + <div class="col-md-12"> + <div class="error-template"> + <h1 class="oops">Oops!</h1> + <h2 class="message">403 Permission Denied</h2> + <div class="error-details"> + Sorry, you do not have access to this page, please contact your administrator + </div> </div> </div> </div> </div> -</div> - -</body> + </body> </html> -- GitLab