mirror of
https://github.com/seigler/govobject-proposal
synced 2025-07-27 06:46:10 +00:00
Dash Budget Proposal Generator (#18)
* GovObject Proposal Form * update proposal_name --> name * jquery ui date picker * cleanup + copyToClipboard * remove websockets * aesthetic/UX changes * fix start/end epoch times * remove "dash-cli" prefix from gobject commands * bugfix: proposal name double-quote serialization * add .gitignore * Refactor UX * ProposalGenerator / UI Controller * Proposal form is disabled on create * bugfix: prepare command string * add proposal validation * refactor setFormEditable * simplify url regex * first commit with drop down list instead of datepicker for payment start & end dates * first commit with drop down list instead of datepicker for payment start & end dates * automatic default adjustment of end date to one month after start date whenever start date is changed * clean readme * added parameter bufferdays to easily change number of days before next superblock before we automatically select start date of next budget cycle * included dropdown lists to be uneditable/editable with the "Create Proposal"/"Edit Proposal"-buttons * replaced end date dropdown with a time span in month dropdown * adapted default superblock for start date dropdown * fill $("#time").val once again for the time parameter in gobject cmd * first code to check feeTxid of govobject prepare and count confirmations * first code to check feeTxid of govobject prepare and count confirmations * disable/enable fee Transaction input field * checking new block for feeTxid * listener for blocks and 6 confirmations * listener for blocks and 6 confirmations * listener for blocks and 6 confirmations * progress bar while waiting for fee tx confirmations * added error messages * Add epoch time to serialization and relax address validation (#4) - address validation is breaking in Ubuntu Firefox. disabled until future fix * bugfix: convert javascript time to unix time (/1000) * refactor: tx listener and superblock date selection fields (#6) * adds images, css dir, reformats proposal form * adds dash logo, styles header, sync with design * refactor start and end epoch calculation * refactor js dependencies * comment out social links for now, issue #8 * adds favicon * move proposol header and description to right side of form * include Roboto font * refactor js dependencies * refactor transaction listener * implements tabs as step progression * clean up tabs * progress buttons * progress bar * implement transaction listener progress bar * save progress on getting submit proposal command and progressing UI confirmations * confirmations counted, transitions to final step * fee transaction id appends to submit command, step four complete * implement network selector * bugfix: provider * adds css proposalBlock style to rest of steps, raises validation errors on step 2 while inputting txID * adds disconnect event for socket io * enables new and edit buttons, hides steps in progress if new proposal clicked * mainnet/testnet toggle is hidden upon clicking Create Proposal, reappeears upon New Proposal * calculate total proposal amount * bugfix and refactor total amount calculation * adjust payment cycle selectors * various adjustments * moves network toggle buttons, popup on tx errors (#16) * replace dash_logo, sharpen Governance Tools subtitle (#17) * moves network toggle buttons, popup on tx errors * replace dash_logo, sharpen Governance Tools subtitle * include proposal maturity constants * updated proposal validation * update bitcore-lib-dash to latest * adjust start_epoch and end_epoch calculation * various design / label improvements * add api prefix as parameter for socket.io * update DASH fee amount * update default network
This commit is contained in:
parent
b2588253ae
commit
dff6605da4
33 changed files with 63941 additions and 3 deletions
137
css/master.css
Normal file
137
css/master.css
Normal file
|
@ -0,0 +1,137 @@
|
|||
body {
|
||||
background-image: url("../images/background.png");
|
||||
font-family: 'Roboto', sans-serif;
|
||||
}
|
||||
|
||||
textarea {
|
||||
background-color:#fafafa !important;
|
||||
}
|
||||
|
||||
.createProposal {
|
||||
|
||||
}
|
||||
|
||||
i.fa {
|
||||
font-size: 1.5em;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.header_title {
|
||||
color: rgb(30, 115, 190);
|
||||
font-weight: 600;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.header_description {
|
||||
margin: 1% 0% 5% 0%;
|
||||
font-weight: 600;
|
||||
line-height:1.5em;
|
||||
}
|
||||
|
||||
.input-spacing {
|
||||
margin: 5%;
|
||||
}
|
||||
|
||||
.progress {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
margin-top:40px;
|
||||
}
|
||||
|
||||
.proposalBlock {
|
||||
padding: 5% 5% 2% 5%;
|
||||
background-color: #ffffff;
|
||||
box-shadow: 0px 17px 24px 0px rgba(0, 0, 0, 0.16);
|
||||
}
|
||||
|
||||
.removeMargin {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.validationError {
|
||||
background-color:#ffe6e6;
|
||||
}
|
||||
|
||||
.walletCommands {
|
||||
|
||||
}
|
||||
|
||||
#dash_logo {
|
||||
width: 150px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#header {
|
||||
margin-top:2em;
|
||||
}
|
||||
|
||||
/*#createProposalHeader {
|
||||
margin-top:1em;
|
||||
}*/
|
||||
|
||||
#createProposalForm {
|
||||
margin-top:1em;
|
||||
}
|
||||
|
||||
#lang_box {
|
||||
width: 82px;
|
||||
position: relative;
|
||||
top: -4px;
|
||||
}
|
||||
|
||||
#payment_amount {
|
||||
display: inline-block;
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
#side-header {
|
||||
margin-top: 40%;
|
||||
}
|
||||
|
||||
#side_header_description {
|
||||
margin: 20% 0% 20% 0%;
|
||||
}
|
||||
|
||||
#proposal_link {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
#side-header {
|
||||
margin-top: 4%;
|
||||
}
|
||||
|
||||
.proposalBlock {
|
||||
margin-top: 0%;
|
||||
}
|
||||
|
||||
.header_description {
|
||||
margin: 1% 0% 1% 0%;
|
||||
}
|
||||
|
||||
#side_header_description {
|
||||
margin: 1% 0% 1% 0%;
|
||||
}
|
||||
}
|
||||
|
||||
#walletCommandsHeader {
|
||||
margin-top:2em;
|
||||
}
|
||||
|
||||
#walletCommandsPrepare {
|
||||
margin-top:2em;
|
||||
}
|
||||
|
||||
#walletCommandsTx {
|
||||
margin-top:2em;
|
||||
}
|
||||
|
||||
#walletCommandsProgress {
|
||||
margin-top:2em;
|
||||
}
|
||||
|
||||
#walletCommandsSubmit {
|
||||
margin-top:2em;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue