diff --git a/server/public_test.go b/server/public_test.go index b92be2c8..9e8e8164 100644 --- a/server/public_test.go +++ b/server/public_test.go @@ -218,7 +218,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Transaction

`, `fdd824a780cbb718eeb766eb05d83fdefc793a27082cd5e67f856d69798cf7db`, `td class="data">0 FAKE`, @@ -234,7 +234,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Address`, `0 FAKE`, `mtGXQvBowMkBpnhLckhxhbwYK44Gs9eEtz`, @@ -254,7 +254,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Transaction

`, `3d90d15ed026dc45e19ffb52875ed18fa9e8012ad123d7f7212176e2b0ebdb71`, `0.00000062 FAKE`, @@ -267,7 +267,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Error

`, `

Transaction not found

`, ``, @@ -279,7 +279,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Blocks`, `225494`, `00000000eb0443fd7dc4a1ed5c686a8e995057805f9a161d9a5a77a95e72b7b6`, @@ -295,7 +295,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Block 225494

`, `00000000eb0443fd7dc4a1ed5c686a8e995057805f9a161d9a5a77a95e72b7b6`, `4`, // number of transactions @@ -311,7 +311,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Application status

`, `

Synchronization with backend is disabled, the state of index is not up to date.

`, `225494`, @@ -325,7 +325,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Block 225494

`, `00000000eb0443fd7dc4a1ed5c686a8e995057805f9a161d9a5a77a95e72b7b6`, `4`, // number of transactions @@ -341,7 +341,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Block 225494

`, `00000000eb0443fd7dc4a1ed5c686a8e995057805f9a161d9a5a77a95e72b7b6`, `4`, // number of transactions @@ -357,7 +357,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Transaction

`, `fdd824a780cbb718eeb766eb05d83fdefc793a27082cd5e67f856d69798cf7db`, `td class="data">0 FAKE`, @@ -373,7 +373,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Address`, `0 FAKE`, `mtGXQvBowMkBpnhLckhxhbwYK44Gs9eEtz`, @@ -393,7 +393,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

XPUB 1186.419755 FAKE

upub5E1xjDmZ7Hhej6LPpS8duATdKXnRYui7bDYj6ehfFGzWDZtmCmQkZhc3Zb7kgRLtHWd16QFxyP86JKL3ShZEBFX88aciJ3xyocuyhZZ8g6q
`, `Total Received1186.41975501 FAKE`, `Total Sent0.00000001 FAKE`, @@ -411,7 +411,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Error

`, `

No matching records found for '1234'

`, ``, @@ -423,7 +423,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Send Raw Transaction

`, ``, ``, @@ -435,7 +435,7 @@ func httpTestsBitcoinType(t *testing.T, ts *httptest.Server) { status: http.StatusOK, contentType: "text/html; charset=utf-8", body: []string{ - `Fake Coin Explorer`, + `Fake Coin Explorer`, `

Send Raw Transaction

`, ``, `
Invalid data
`, diff --git a/static/css/main.css b/static/css/main.css index c0bf1ee2..49aa654e 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -87,7 +87,6 @@ h3 { position: absolute; top: 0; left: 0; - height: 53px; width: 100%; margin: 0; padding-bottom: 0; @@ -98,31 +97,39 @@ h3 { .bg-trezor { background-color: #212121!important; - height: 53px; + padding-top: 3px; + padding-bottom: 2px; + z-index: 2; } -.bg-trezor .navbar-text { +.bg-trezor .navbar-brand { color: rgba(255, 255, 255); font-weight: bold; font-size: 19px; + fill: #FFFFFF; } -.trezor-logo-svg-white svg { - fill: #FFFFFF; - margin-top: 6px; +@media (max-width: 768px) { + .navbar { + font-size: 14px; + } + .bg-trezor .navbar-brand { + font-weight: normal; + font-size: 14px; + } } #wrap { min-height: 100%; height: auto; padding: 75px 0; - margin: 0 auto -53px; + margin: 0 auto -45px; } #footer { background-color: #212121; color: #fff; - height: 53px; + height: 45px; overflow: hidden; } @@ -243,15 +250,6 @@ table.data-table table.data-table th { margin: 0; } -.navbar-nav .nav-link { - padding-right: 0; - padding-left: .25rem; -} - -.navbar-text .nav-link { - padding: 0; -} - ::-webkit-input-placeholder { color: #CCC!important; font-style: italic; diff --git a/static/templates/base.html b/static/templates/base.html index 0e747649..dd60ab8d 100644 --- a/static/templates/base.html +++ b/static/templates/base.html @@ -14,10 +14,10 @@ @@ -70,7 +75,7 @@