diff --git a/template/amber/base.amber b/template/amber/base.amber index 6bb2e295..491bf3cf 100644 --- a/template/amber/base.amber +++ b/template/amber/base.amber @@ -7,11 +7,11 @@ html meta[http-equiv="x-ua-compatible"][content="ie=edge"] link[rel="icon"][type="image/x-icon"][href="/static/images/favicon.ico"] - link[rel="stylesheet"][href="https://fonts.googleapis.com/icon?family=Material+Icons"] - link[rel="stylesheet"][href="https://fonts.googleapis.com/css?family=Roboto+Mono"] - link[rel="stylesheet"][href="https://fonts.googleapis.com/css?family=Roboto"] - link[rel="stylesheet"][href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/css/bootstrap.min.css"] - link[rel="stylesheet"][href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.1.0/octicons.min.css"] + link[rel="stylesheet"][href="//fonts.googleapis.com/icon?family=Material+Icons"] + link[rel="stylesheet"][href="//fonts.googleapis.com/css?family=Roboto+Mono"] + link[rel="stylesheet"][href="//fonts.googleapis.com/css?family=Roboto"] + link[rel="stylesheet"][href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/css/bootstrap.min.css"] + link[rel="stylesheet"][href="//cdnjs.cloudflare.com/ajax/libs/octicons/3.1.0/octicons.min.css"] link[rel="stylesheet"][href="/static/styles_gen/style.css"] if Csrf @@ -48,10 +48,10 @@ html block content block scripts - script[type="text/javascript"][src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"] - script[type="text/javascript"][src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.6/moment.min.js"] - script[type="text/javascript"][src="https://cdnjs.cloudflare.com/ajax/libs/jquery-searcher/0.2.0/jquery.searcher.min.js"] - script[type="text/javascript"][src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/js/bootstrap.min.js"] - script[type="text/javascript"][src="https://cdnjs.cloudflare.com/ajax/libs/typeahead.js/0.11.1/typeahead.bundle.min.js"] - script[text="text/javascript"][src="https://cdnjs.cloudflare.com/ajax/libs/stickyfill/1.1.2/stickyfill.js"] + script[type="text/javascript"][src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"] + script[type="text/javascript"][src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.10.6/moment.min.js"] + script[type="text/javascript"][src="//cdnjs.cloudflare.com/ajax/libs/jquery-searcher/0.2.0/jquery.searcher.min.js"] + script[type="text/javascript"][src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/js/bootstrap.min.js"] + script[type="text/javascript"][src="//cdnjs.cloudflare.com/ajax/libs/typeahead.js/0.11.1/typeahead.bundle.min.js"] + script[text="text/javascript"][src="//cdnjs.cloudflare.com/ajax/libs/stickyfill/1.1.2/stickyfill.js"] script[type="text/javascript"][src="/static/scripts_gen/drone.min.js"] diff --git a/template/amber/docs.amber b/template/amber/docs.amber index a981c904..f0555e13 100644 --- a/template/amber/docs.amber +++ b/template/amber/docs.amber @@ -36,5 +36,5 @@ block content #{Page.HTML} block scripts - script[type="text/javascript"][src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"] - script[type="text/javascript"][src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/js/bootstrap.min.js"] + script[type="text/javascript"][src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"] + script[type="text/javascript"][src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/js/bootstrap.min.js"] diff --git a/template/amber/login.amber b/template/amber/login.amber index 716ac88f..7686d2a2 100644 --- a/template/amber/login.amber +++ b/template/amber/login.amber @@ -7,10 +7,10 @@ html meta[http-equiv="x-ua-compatible"][content="ie=edge"] link[rel="icon"][type="image/x-icon"][href="/static/images/favicon.ico"] - link[rel="stylesheet"][href="https://fonts.googleapis.com/icon?family=Material+Icons"] - link[rel="stylesheet"][href="https://fonts.googleapis.com/css?family=Roboto+Mono"] - link[rel="stylesheet"][href="https://fonts.googleapis.com/css?family=Roboto"] - link[rel="stylesheet"][href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/css/bootstrap.min.css"] + link[rel="stylesheet"][href="//fonts.googleapis.com/icon?family=Material+Icons"] + link[rel="stylesheet"][href="//fonts.googleapis.com/css?family=Roboto+Mono"] + link[rel="stylesheet"][href="//fonts.googleapis.com/css?family=Roboto"] + link[rel="stylesheet"][href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/css/bootstrap.min.css"] link[rel="stylesheet"][href="/static/styles_gen/style.css"] style html { height: 100%; overflow: hidden; } @@ -22,7 +22,7 @@ html if Error == "oauth_error" div.alert.alert-danger - | We failed to authorize your account. Please contact your + | We failed to authorize your account. Please contact your | system administrator to check the logs and see what went wrong. else if Error == "access_denied" @@ -31,6 +31,5 @@ html else if Error == "internal_error" div.alert.alert-danger - | We encountered an unexpected error. Please contact your + | We encountered an unexpected error. Please contact your | system administrator to check the logs and see what went wrong. - diff --git a/template/amber/login_form.amber b/template/amber/login_form.amber index c74eacf6..62631dfd 100644 --- a/template/amber/login_form.amber +++ b/template/amber/login_form.amber @@ -7,10 +7,10 @@ html meta[http-equiv="x-ua-compatible"][content="ie=edge"] link[rel="icon"][type="image/x-icon"][href="/static/images/favicon.ico"] - link[rel="stylesheet"][href="https://fonts.googleapis.com/icon?family=Material+Icons"] - link[rel="stylesheet"][href="https://fonts.googleapis.com/css?family=Roboto+Mono"] - link[rel="stylesheet"][href="https://fonts.googleapis.com/css?family=Roboto"] - link[rel="stylesheet"][href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/css/bootstrap.min.css"] + link[rel="stylesheet"][href="//fonts.googleapis.com/icon?family=Material+Icons"] + link[rel="stylesheet"][href="//fonts.googleapis.com/css?family=Roboto+Mono"] + link[rel="stylesheet"][href="//fonts.googleapis.com/css?family=Roboto"] + link[rel="stylesheet"][href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/css/bootstrap.min.css"] link[rel="stylesheet"][href="/static/styles_gen/style.css"] style html { height: 100%; overflow: hidden; } diff --git a/template/amber/swagger.amber b/template/amber/swagger.amber index fc7f1561..0f7cedf5 100644 --- a/template/amber/swagger.amber +++ b/template/amber/swagger.amber @@ -24,7 +24,7 @@ block content div.row ul.toc each $tag in Swagger.Tags - li + li h2 #{$tag.Name} ul each $op in $tag.Ops @@ -72,5 +72,5 @@ block content pre #{$res.Example} block scripts - script[type="text/javascript"][src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"] - script[type="text/javascript"][src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/js/bootstrap.min.js"] + script[type="text/javascript"][src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"] + script[type="text/javascript"][src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.0.0-alpha/js/bootstrap.min.js"]