start reconciling it with the browser embedded version. They should use identical code

This commit is contained in:
idk
2020-09-09 23:22:03 -04:00
parent d13415403d
commit 37f22b1911
5 changed files with 21 additions and 13 deletions

View File

@ -3,7 +3,7 @@ build: fmt gen
go build --tags=netgo
run: fmt gen
go run ./ -port 9001 -ribbon true
go run ./ -port 9001 #-ribbon true
fmt:
gofmt -w -s *.go */*.go

File diff suppressed because one or more lines are too long

View File

@ -42,8 +42,6 @@ body {
display: flex;
flex-direction: column;
font-family: "Droid Sans","Noto Sans",Ubuntu,"Segoe UI","Lucida Grande",Verdana,Helvetica,sans-serif;
width: 100%;
height: 100%;
margin: 0 auto;
padding: 0;
color: #495057;
@ -191,7 +189,6 @@ html body ul.label-list li {
list-style: none;
float: left;
}
label { display: block }
html body ul.label-list li:nth-child(odd) { clear: left;}
#linksExplain {
min-height: 5rem;
@ -207,9 +204,8 @@ html body ul.label-list li:nth-child(odd) { clear: left;}
min-height: 5rem;
padding: .5rem;
margin: .5rem;
width: 30%;
min-width: 30%;
text-align: center!important;
width: 50%;
text-align: left!important;
float: left
}
#proxyReady {
@ -242,6 +238,16 @@ html body ul.label-list li:nth-child(odd) { clear: left;}
float: left;
text-align: center!important;
}
.tabicon {
min-width: 64px;
min-height: 64px;
}
li.application {
text-align: left;
}
button.applicationName {
width: auto;
}
.onboardingContent {
font-size: .8rem!important;
text-align: left;

View File

@ -13,7 +13,7 @@
<ul>
<li>
<a href="https://localhost:7657" target="_blank">
<a href="http://localhost:7657" target="_blank">
<img alt="i2p router console" class="center" src="/images/logo.svg"/>
</a>
</li>

View File

@ -114,8 +114,10 @@ document.addEventListener("click", clickEvent => {
clickEvent.preventDefault();
});
document.getElementById("label-peers-list").style.display = "none"
document.getElementById("label-bandwidth-list").style.display = "none"
window.onload = function(e){
document.getElementById("label-peers-list").style.display = "none"
document.getElementById("label-bandwidth-list").style.display = "none"
}
if (UpdateContents !== undefined) UpdateContents();