mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 04:41:02 +00:00
Browser extension signing example (#1067)
* routing and signing example * cliipy fix * submitting extrinsics * change order of lines * Skip call variants if there aren't any (#980) Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com> * Tidy up some metadata accessing (#978) * Reduce some repetition when obtaining metadata pallets/runtime_traits * make them pub * fix docs and clippy * Bump tokio from 1.28.1 to 1.28.2 (#984) Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.28.1 to 1.28.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.1...tokio-1.28.2) --- updated-dependencies: - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump regex from 1.8.2 to 1.8.3 (#986) Bumps [regex](https://github.com/rust-lang/regex) from 1.8.2 to 1.8.3. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.8.2...1.8.3) --- updated-dependencies: - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump quote from 1.0.27 to 1.0.28 (#983) Bumps [quote](https://github.com/dtolnay/quote) from 1.0.27 to 1.0.28. - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.27...1.0.28) --- updated-dependencies: - dependency-name: quote dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump proc-macro2 from 1.0.58 to 1.0.59 (#985) Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.58 to 1.0.59. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.58...1.0.59) --- updated-dependencies: - dependency-name: proc-macro2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * restrict sign_with_address_and_signature interface (#988) * changing js bridge * dryrunresult ok * submitting extrinsic working * tiny up code and ui * formatting * remove todos * support tip and mortality * Prevent bug when reusing type ids in hashing (#1075) * practice TDD * implement a hashmap 2-phases approach * use nicer types * add test for cache filling * adjust test --------- Co-authored-by: James Wilson <james@jsdw.me> * small adjustment * Merge branch 'master' into tadeo-hepperle-browser-extension-signing-example * fix lock file * tell users how to add Alice account to run signing example * adjust to PR comments * fmt --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: James Wilson <james@jsdw.me> Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
@@ -2,56 +2,101 @@ $primary: #24cc85;
|
||||
$secondary: #1f624a;
|
||||
$dark: #242a35;
|
||||
|
||||
*{
|
||||
font-family: monospace;
|
||||
color: $dark;
|
||||
|
||||
* {
|
||||
font-family: monospace;
|
||||
color: $dark;
|
||||
}
|
||||
|
||||
html{
|
||||
background-color: $dark;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
html {
|
||||
background-color: $dark;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
h1{
|
||||
font-weight: bolder;
|
||||
color: $dark;
|
||||
h1 {
|
||||
font-weight: bolder;
|
||||
color: $dark;
|
||||
}
|
||||
|
||||
body{
|
||||
width: 800px;
|
||||
max-width: 100%;
|
||||
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
|
||||
height: 100%;
|
||||
margin: 0px;
|
||||
padding: 16px;
|
||||
background-color: $primary;
|
||||
body {
|
||||
width: 800px;
|
||||
max-width: 100%;
|
||||
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
|
||||
min-height: 100%;
|
||||
margin: 0px;
|
||||
padding: 16px;
|
||||
background-color: $primary;
|
||||
}
|
||||
|
||||
|
||||
p{
|
||||
white-space: pre-wrap;
|
||||
border-radius: 8px;
|
||||
padding: 8px;
|
||||
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
|
||||
background-color: $dark;
|
||||
color: white;
|
||||
}
|
||||
button{
|
||||
font-size: large;
|
||||
padding: 8px 16px;
|
||||
font-weight: bold;
|
||||
background-color: $dark;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
p {
|
||||
white-space: pre-wrap;
|
||||
border-radius: 8px;
|
||||
padding: 8px;
|
||||
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
|
||||
background-color: $dark;
|
||||
color: white;
|
||||
}
|
||||
|
||||
button:hover{
|
||||
background-color: $secondary;
|
||||
}
|
||||
button {
|
||||
font-size: large;
|
||||
padding: 8px 16px;
|
||||
font-weight: bold;
|
||||
background-color: $dark;
|
||||
border: none;
|
||||
border-radius: 8px;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: $secondary;
|
||||
}
|
||||
|
||||
input {
|
||||
font-size: large;
|
||||
background-color: white;
|
||||
color: $dark;
|
||||
border-radius: 8px;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.mb {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
small {
|
||||
color: #24cc85;
|
||||
}
|
||||
|
||||
.error {
|
||||
color: red;
|
||||
background: black;
|
||||
padding: 8px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
@keyframes loading {
|
||||
0% {
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
transform: translateX(20px);
|
||||
opacity: 0.5;
|
||||
}
|
||||
100% {
|
||||
transform: translateX(0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.loading {
|
||||
animation: loading 0.7s infinite;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user