-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from CodeBull/basic
Basic Interface
- Loading branch information
Showing
17 changed files
with
5,778 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module.exports = { | ||
"extends": "airbnb-base", | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"jquery": true | ||
}, | ||
"rules": { | ||
"no-console": 0, | ||
"no-bitwise": 0, | ||
"no-restricted-globals": 0, | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Steem Multiple Authority Manager</title> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="css/styles.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1 class="text-center">Broadcast Transaction</h1> | ||
<p id="welcome" class="h5 mt-5 mb-5 text-center"></p> | ||
|
||
<div class="alert" id="feedback"></div> | ||
|
||
<div class="row"> | ||
<div class="col-md-6"> | ||
|
||
<form id="broadcast-transaction"> | ||
<div class="form-group"> | ||
<label for="transaction">Transaction</label> | ||
<textarea type="text" name="transaction" id="transaction" class="form-control" rows="10"></textarea> | ||
</div> | ||
|
||
<button class="btn btn-primary" type="submit">Broadcast</button> | ||
</form> | ||
</div> | ||
|
||
<div class="col-md-6 mt-4"> | ||
<div id="preview"> | ||
|
||
<h5 class="h5 text-uppercase">Operation(s)</h5><hr> | ||
<div id="operations" class="mb-3"> | ||
</div> | ||
|
||
<h5 class="h5 text-uppercase">Signed By</h5><hr> | ||
<div id="signed" class="mb-3"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<footer class="footer"> | ||
<p class="small">Disclaimer: I cannot be held responsible for any misuse of this tool or any harm that may occur to your account by using this tool.</p> | ||
<p>Brought to you by <a href="https://steemit.com/@reazuliqbal">@reazuliqbal</a></p> | ||
</footer> | ||
</div> | ||
<script src="js/app.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
body { | ||
padding-top: 20px; | ||
padding-bottom: 20px; | ||
} | ||
|
||
label { | ||
font-weight: 500; | ||
} | ||
|
||
.box { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
height: 200px; | ||
color: #fff; | ||
font-size: 28px; | ||
padding: 20px; | ||
text-align: center; | ||
margin-bottom: 20px; | ||
} | ||
.box:hover, | ||
.box:focus, | ||
.boc:active { | ||
text-decoration: none; | ||
color: #fff; | ||
} | ||
|
||
.turquoise { | ||
background-color: #58C9B9; | ||
} | ||
.red { | ||
background-color: #E53A40; | ||
} | ||
.green { | ||
background-color: #75D701; | ||
} | ||
.purple { | ||
background-color: #6C49B8; | ||
} | ||
|
||
#feedback { | ||
margin-top: 15px; | ||
margin-bottom: 15px; | ||
} | ||
.footer { | ||
margin-top: 30px; | ||
padding: 20px; | ||
border-top: 1px solid rgba(0,0,0,.1); | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Steem Multiple Authority Manager</title> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="css/styles.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1 class="text-center">Generate Transaction</h1> | ||
<p id="welcome" class="h5 mt-5 mb-5 text-center"></p> | ||
|
||
<div class="row"> | ||
<div class="offset-md-2 col-md-8"> | ||
|
||
<div class="alert" id="feedback"></div> | ||
|
||
<form id="generate-transaction"> | ||
<div class="form-group"> | ||
<label for="op_type">Operation Type</label> | ||
<select name="op_type" id="op_type" class="form-control" required> | ||
<option value="">Select an operation</option> | ||
<option value="vote">Vote</option> | ||
<option value="transfer">Transfer</option> | ||
<option value="delegate_vesting_shares">Delegate SP</option> | ||
</select> | ||
</div> | ||
|
||
<div id="operation"></div> | ||
|
||
<div class="form-group"> | ||
<label for="wif">WIF</label> | ||
<input type="password" name="wif" id="wif" class="form-control" required> | ||
</div> | ||
|
||
<button class="btn btn-primary">Generate</button> | ||
</form> | ||
|
||
<div class="mt-5"> | ||
<label for="">Transaction</label> | ||
<textarea id="output" class="form-control" rows="10"></textarea> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<footer class="footer"> | ||
<p class="small">Disclaimer: I cannot be held responsible for any misuse of this tool or any harm that may occur to your account by using this tool.</p> | ||
<p>Brought to you by <a href="https://steemit.com/@reazuliqbal">@reazuliqbal</a></p> | ||
</footer> | ||
</div> | ||
<script src="js/app.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Steem Multiple Authority Manager</title> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="css/styles.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1 class="text-center">Steem Multiple Authority Manager</h1> | ||
|
||
<p id="welcome" class="h5 mt-5 mb-5 text-center">Please enter your Steem account.</p> | ||
|
||
<div class="row justify-content-center"> | ||
<div class="col-md-8 col-xl-6"> | ||
<form id="login" class="mt-3 mb-5"> | ||
<div class="form-group"> | ||
<label for="username" class="sr-only">Username</label> | ||
<div class="input-group"> | ||
<input type="text" id="username" name="username" class="form-control" placeholder="Steem Username"> | ||
<div class="input-group-append"> | ||
<button class="btn btn-success">Login</button> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
<div class="row"> | ||
<div class="col-md-3 mt-3 text-center"> | ||
<a href="multiauth-account.html" class="box turquoise">Multiple Authority Account</a> | ||
<p>Generate multiple authority for your account.</p> | ||
</div> | ||
<div class="col-md-3 mt-3 text-center"> | ||
<a href="generate-transaction.html" class="box green"> | ||
Generate Transaction | ||
</a> | ||
<p>Generate transaction to be signed by multiple parties.</p> | ||
</div> | ||
<div class="col-md-3 mt-3 text-center"> | ||
<a href="sign-transaction.html" class="box red">Sign Transaction</a> | ||
<p>Sign an already generated transaction.</p> | ||
</div> | ||
<div class="col-md-3 mt-3 text-center"> | ||
<a href="broadcast-transaction.html" class="box purple">Broadcast Transaction</a> | ||
<p>Broadcast a signed transaction to the blockchain.</p> | ||
</div> | ||
</div> | ||
|
||
<footer class="footer"> | ||
<p class="small">Disclaimer: I cannot be held responsible for any misuse of this tool or any harm that may occur to your account by using this tool.</p> | ||
<p>Brought to you by <a href="https://steemit.com/@reazuliqbal">@reazuliqbal</a></p> | ||
</footer> | ||
</div> | ||
<script src="js/app.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Steem Multiple Authority Manager</title> | ||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="css/styles.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1 class="text-center">Steem Multiple Authority</h1> | ||
<p id="welcome" class="h5 mt-5 mb-5 text-center"></p> | ||
|
||
<div class="row"> | ||
<div class="offset-md-2 col-md-8"> | ||
|
||
<div class="alert" id="feedback"></div> | ||
|
||
<form id="gen-multi-auth"> | ||
<div class="form-group"> | ||
<label for="username">Username</label> | ||
<input type="text" name="username" class="form-control" readonly> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="authority">Authority</label> | ||
<select name="authority" id="authority" class="form-control"> | ||
<option value="posting">Posting</option> | ||
<option value="active">Active</option> | ||
<option value="owner">Owner</option> | ||
</select> | ||
</div> | ||
|
||
<div id="keys"> | ||
<div class="form-group"> | ||
<div class="row"> | ||
<div class="col-sm-8"> | ||
<label for="publickey">Public Key</label> | ||
<input type="text" name="publickeys[]" class="form-control" required> | ||
</div> | ||
<div class="col-sm-4"> | ||
<label for="weight">Weight</label> | ||
<input type="number" name="weights[]" class="form-control" min="1" required> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<button class="btn btn-sm btn-warning" id="add-key-field">Add</button> | ||
<button class="btn btn-sm btn-danger" id="remove-key-field">Remove</button> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="threshold">Weight Threshold</label> | ||
<input type="number" name="threshold" id="threshold" class="form-control" min="1" required> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="wif">Active Key or Password</label> | ||
<input type="password" name="wif" id="wif" class="form-control" required> | ||
<p class="form-text text-muted">Please enter master password only when you are changing owner authority.</p> | ||
</div> | ||
|
||
<button class="btn btn-primary" type="submit">Submit</button> | ||
</form> | ||
|
||
<hr> | ||
|
||
<form id="gen-key"> | ||
<h4>Generate Public and Private Keys</h4> | ||
<div class="form-group"> | ||
<label for="seed">Seed String</label> | ||
<input type="text" name="seed" id="seed" class="form-control"> | ||
<p class="form-text text-muted">If left blank a random string will be generated. You should have this in case you forget the private key.</p> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="private-key">Private Key</label> | ||
<input type="text" name="private-key" id="private-key" class="form-control" readonly> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label for="public-key">Public Key</label> | ||
<input type="text" name="public-key" id="public-key" class="form-control" readonly> | ||
</div> | ||
|
||
<button class="btn btn-primary" id="gen-new-key">Generate New Key</button> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
<footer class="footer"> | ||
<p class="small">Disclaimer: I cannot be held responsible for any misuse of this tool or any harm that may occur to your account by using this tool.</p> | ||
<p>Brought to you by <a href="https://steemit.com/@reazuliqbal">@reazuliqbal</a></p> | ||
</footer> | ||
</div> | ||
<script src="js/app.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.