a5190449da
* Remove all ui reference in dapps interface * Pass primary cli build * Add back parity wallet dapp as builtin * Clean up ui settings * Fix all tests in cli * Missed ui files to commit * Add parity-utils endpoint back * Fix non-dapp feature compiling * Inline styles * Remove parity-utils endpoint * Remove ui precompiled crate * Remove parity-ui alltogether * Remove ui feature flags * Move errors to static methods * Fix tests * Remove all reference to utils endpoint and remove server side injection According to https://github.com/paritytech/parity/pull/8539, inject.js is already handled by Parity UI.
103 lines
1.8 KiB
HTML
103 lines
1.8 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width">
|
|
<title>{title}</title>
|
|
<style>
|
|
:root, :root body {{
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
font-size: 100%;
|
|
font: inherit;
|
|
vertical-align: baseline;
|
|
background: rgb(95, 95, 95);
|
|
color: rgba(255, 255, 255, 0.75);
|
|
font-size: 16px;
|
|
font-family: sans-serif;
|
|
font-weight: 300;
|
|
}}
|
|
|
|
:root a, :root a:visited {{
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
color: rgb(0, 151, 167); /* #f80 */
|
|
}}
|
|
|
|
:root a:hover {{
|
|
color: rgb(0, 174, 193);
|
|
}}
|
|
|
|
h1,h2,h3,h4,h5,h6 {{
|
|
font-weight: 300;
|
|
text-transform: uppercase;
|
|
text-decoration: none;
|
|
}}
|
|
|
|
h1 {{
|
|
font-size: 24px;
|
|
line-height: 36px;
|
|
color: rgb(0, 151, 167);
|
|
}}
|
|
|
|
h2 {{
|
|
font-size: 20px;
|
|
line-height: 34px;
|
|
}}
|
|
|
|
code,kbd,pre,samp {{
|
|
font-family: monospace;
|
|
}}
|
|
|
|
.parity-navbar {{
|
|
background: rgb(65, 65, 65);
|
|
height: 72px;
|
|
padding: 0 1rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}}
|
|
|
|
.parity-status {{
|
|
clear: both;
|
|
padding: 1rem;
|
|
margin: 1rem 0;
|
|
text-align: right;
|
|
opacity: 0.75;
|
|
}}
|
|
|
|
.parity-box {{
|
|
margin: 1rem;
|
|
padding: 1rem;
|
|
background-color: rgb(48, 48, 48);
|
|
box-sizing: border-box;
|
|
box-shadow: rgba(0, 0, 0, 0.117647) 0px 1px 6px, rgba(0, 0, 0, 0.117647) 0px 1px 4px;
|
|
border-radius: 2px;
|
|
z-index: 1;
|
|
color: #aaa;
|
|
}}
|
|
|
|
.parity-box h1,
|
|
.parity-box h2,
|
|
.parity-box h3,
|
|
.parity-box h4,
|
|
.parity-box h5,
|
|
.parity-box h6 {{
|
|
margin: 0;
|
|
}}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="parity-navbar">
|
|
</div>
|
|
<div class="parity-box">
|
|
<h1>{title}</h1>
|
|
<h3>{message}</h3>
|
|
<p><code>{details}</code></p>
|
|
</div>
|
|
<div class="parity-status">
|
|
<small>{version}</small>
|
|
</div>
|
|
</body>
|
|
</html>
|