master
Thomas BELLEMBOIS 3 years ago
parent 9e6fb7f52a
commit f4f7c4f1c7

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 936 B

@ -27,7 +27,8 @@ func init() {
DocIcon, DocIcon,
PastebinIcon, PastebinIcon,
ChatIcon, ChatIcon,
RunnerIcon string RunnerIcon,
HelpIcon string
}{ }{
Background: icons.HomeBackground, Background: icons.HomeBackground,
Logo: icons.Logo, Logo: icons.Logo,
@ -42,6 +43,7 @@ func init() {
PastebinIcon: icons.ContentPaste, PastebinIcon: icons.ContentPaste,
ChatIcon: icons.Wechat, ChatIcon: icons.Wechat,
RunnerIcon: icons.WebSync, RunnerIcon: icons.WebSync,
HelpIcon: icons.Help,
} }
var tpl bytes.Buffer var tpl bytes.Buffer

@ -11,7 +11,7 @@ var menuTemplate = `<div id="codefirstMenu" style="display: inline-block; width:
vertical-align: bottom; vertical-align: bottom;
} }
img.codefirstMenu { img.codefirstMenu {
height: 20px; height: 35px;
} }
span.codefirstMenu { span.codefirstMenu {
line-height: 2em; line-height: 2em;
@ -42,14 +42,6 @@ var menuTemplate = `<div id="codefirstMenu" style="display: inline-block; width:
</style> </style>
sonar--> sonar-->
{{safe "<!--dockerregistry"}}
<style type="text/css" scoped>
span#dockerregistry {
text-decoration: underline;
}
</style>
dockerregistry-->
{{safe "<!--dockerrunner"}} {{safe "<!--dockerrunner"}}
<style type="text/css" scoped> <style type="text/css" scoped>
span#dockerrunner { span#dockerrunner {
@ -100,7 +92,7 @@ var menuTemplate = `<div id="codefirstMenu" style="display: inline-block; width:
</a> </a>
</div> </div>
<div title="sonarqube" style="float: left; margin-right: 50px;"> <div title="sonarqube" style="float: left; margin-right: 5px;">
<a class="codefirstMenu" style="border-bottom: none;" href="https://CODEFIRST_HOSTNAME/sonar/sessions/init/oidc?return_to=%2Fsonar%2F"> <a class="codefirstMenu" style="border-bottom: none;" href="https://CODEFIRST_HOSTNAME/sonar/sessions/init/oidc?return_to=%2Fsonar%2F">
<span id="sonar" class="codefirstMenu"> <span id="sonar" class="codefirstMenu">
<img class="codefirstMenu" src="data:image/png;base64,{{.SonarIcon}}"/> <img class="codefirstMenu" src="data:image/png;base64,{{.SonarIcon}}"/>
@ -113,21 +105,10 @@ var menuTemplate = `<div id="codefirstMenu" style="display: inline-block; width:
<a class="codefirstMenu" style="border-bottom: none;" href="https://CODEFIRST_HOSTNAME/documentation/"> <a class="codefirstMenu" style="border-bottom: none;" href="https://CODEFIRST_HOSTNAME/documentation/">
<span id="documentation" class="codefirstMenu"> <span id="documentation" class="codefirstMenu">
<img class="codefirstMenu" src="data:image/png;base64,{{.DocIcon}}"/> <img class="codefirstMenu" src="data:image/png;base64,{{.DocIcon}}"/>
Doc Documents
</span>
</a>
</div>
<!--
<div title="docker registry" style="float: left; margin-right: 5px;">
<a class="codefirstMenu" style="border-bottom: none;" href="https://pubhub.CODEFIRST_HOSTNAME">
<span id="dockerregistry" class="codefirstMenu">
<img class="codefirstMenu" src="data:image/png;base64,{{.RegistryIcon}}"/>
Registry
</span> </span>
</a> </a>
</div> </div>
-->
<div title="docker runner" style="float: left; margin-right: 50px;"> <div title="docker runner" style="float: left; margin-right: 50px;">
<a class="codefirstMenu" style="border-bottom: none;" target="_blank" href="https://CODEFIRST_HOSTNAME/dockerrunner/static/html/"> <a class="codefirstMenu" style="border-bottom: none;" target="_blank" href="https://CODEFIRST_HOSTNAME/dockerrunner/static/html/">
@ -156,6 +137,15 @@ var menuTemplate = `<div id="codefirstMenu" style="display: inline-block; width:
</a> </a>
</div> </div>
<div title="help" style="float: left; margin-right: 5px;">
<a class="codefirstMenu" style="border-bottom: none;" target="_blank" href="https://CODEFIRST_HOSTNAME/documentation/CodeFirst/docusaurus/GuidesTutorials/">
<span class="codefirstMenu">
<img class="codefirstMenu" src="data:image/png;base64,{{.HelpIcon}}"/>
Help
</span>
</a>
</div>
<div title="logout" style="float: right; margin-right: 5px;"> <div title="logout" style="float: right; margin-right: 5px;">
<a class="codefirstMenu" style="border-bottom: none;" href="https://CODEFIRST_HOSTNAME/keycloak/realms/master/protocol/openid-connect/logout"> <a class="codefirstMenu" style="border-bottom: none;" href="https://CODEFIRST_HOSTNAME/keycloak/realms/master/protocol/openid-connect/logout">

Loading…
Cancel
Save