mirror of
https://github.com/seigler/dash-website
synced 2025-07-27 07:16:10 +00:00
cleaned up governance page; budget page=> governance page
This commit is contained in:
parent
4629c4a475
commit
19fc93eff0
5 changed files with 96 additions and 247 deletions
22
_i18n/en.yml
22
_i18n/en.yml
|
@ -76,11 +76,12 @@ pages:
|
||||||
how-btc-text: The system would work as a decentralized voting mechanism setup ipay them directly after approval of the work in a decentralized fashion.
|
how-btc-text: The system would work as a decentralized voting mechanism setup ipay them directly after approval of the work in a decentralized fashion.
|
||||||
how-btc-btn: Show Video
|
how-btc-btn: Show Video
|
||||||
|
|
||||||
budget:
|
governance:
|
||||||
title: Dash Official Website | Dash Crypto Currency
|
title: Dash Official Website | Dash Crypto Currency
|
||||||
description: Dash is Digital Cash
|
description: Dash is Digital Cash
|
||||||
|
|
||||||
hero-heading: Budget System
|
hero-heading: Decentralized Governance System
|
||||||
|
|
||||||
hero-text: >
|
hero-text: >
|
||||||
Decentralized Governance by Blockchain, or DGBB, is Dash's attempt to solve two important problems in cryptocurrency: governance and funding.
|
Decentralized Governance by Blockchain, or DGBB, is Dash's attempt to solve two important problems in cryptocurrency: governance and funding.
|
||||||
|
|
||||||
|
@ -104,9 +105,9 @@ pages:
|
||||||
At that time, the block rewards that were not paid out (10% of each block) will be used to fund approved proposals. The network thus funds itself
|
At that time, the block rewards that were not paid out (10% of each block) will be used to fund approved proposals. The network thus funds itself
|
||||||
by reserving 10% of the block reward for budget projects.
|
by reserving 10% of the block reward for budget projects.
|
||||||
|
|
||||||
governance-heading: Goverment Tools
|
governance-meaning: What is Governance and what does it mean for Dash
|
||||||
|
|
||||||
voting-header: How to Voting
|
voting-header: How to Vote
|
||||||
voting-automatic: Automated Voting
|
voting-automatic: Automated Voting
|
||||||
voting-automatic-text: >
|
voting-automatic-text: >
|
||||||
One of the greatest challenges of building a crypto currency platform is ensuring you create a decentralized system of governance to manage,
|
One of the greatest challenges of building a crypto currency platform is ensuring you create a decentralized system of governance to manage,
|
||||||
|
@ -122,14 +123,13 @@ pages:
|
||||||
The system would work as a decentralized voting mechanism setup in the software, where budgets for specific projects are proposed,
|
The system would work as a decentralized voting mechanism setup in the software, where budgets for specific projects are proposed,
|
||||||
then the masternodes as a whole vote on them. Each project, if it passes, is added to the total budget and paid directly from the blockchain
|
then the masternodes as a whole vote on them. Each project, if it passes, is added to the total budget and paid directly from the blockchain
|
||||||
to the person doing the work. With this, we could hire core developers and pay them directly after approval of the work in a decentralized fashion.
|
to the person doing the work. With this, we could hire core developers and pay them directly after approval of the work in a decentralized fashion.
|
||||||
decentralized-governance-link: Self-sustainable Decentralized Governance
|
generator-link: Budget Proposal Generator
|
||||||
masternode-budget-link: Masternode Budget API
|
dashcentral-link: DashCentral
|
||||||
using-link: >
|
votetracker-link: VoteTracker
|
||||||
Using Decentralized Governance: Proposals, Voting, and Budgets
|
budget-monitoring-link: Budget Monitoring
|
||||||
dgb-link: DGBB Document templates
|
proposal-status-link: Proposal Status
|
||||||
budget-finalization-link: Budget Finalization Procedure
|
|
||||||
|
|
||||||
exchange-heading: Full Exchange Listing
|
proposal-service: Proposal Automated Service
|
||||||
|
|
||||||
woocommerce:
|
woocommerce:
|
||||||
title: Dash Official Website | Dash Crypto Currency
|
title: Dash Official Website | Dash Crypto Currency
|
||||||
|
|
|
@ -11,13 +11,13 @@
|
||||||
|
|
||||||
<!-- Hero content -->
|
<!-- Hero content -->
|
||||||
<div class="hero__content">
|
<div class="hero__content">
|
||||||
<h1 class="hero__title">{% t pages.budget.hero-heading %}</h1>
|
<h1 class="hero__title">{% t pages.governance.hero-heading %}</h1>
|
||||||
<p class="hero__lead">{% t pages.budget.hero-text %}</p>
|
<p class="hero__lead">{% t pages.governance.hero-text %}</p>
|
||||||
|
|
||||||
<div class="hero__buttons">
|
<div class="hero__buttons">
|
||||||
<a href="#" class="btn-white-solid">{% t pages.budget.hero-how-to-btn %}</a>
|
<a href="#" class="btn-white-solid">{% t pages.governance.hero-how-to-btn %}</a>
|
||||||
<a href="#" class="btn-white-solid">{% t pages.budget.hero-guide-btn %}</a>
|
<a href="#" class="btn-white-solid">{% t pages.governance.hero-guide-btn %}</a>
|
||||||
<a href="#" class="btn-white-solid">{% t pages.budget.hero-pools-btn %}</a>
|
<a href="#" class="btn-white-solid">{% t pages.governance.hero-pools-btn %}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,229 +0,0 @@
|
||||||
---
|
|
||||||
layout: default
|
|
||||||
title: pages.budget.title
|
|
||||||
description: pages.budget.description
|
|
||||||
---
|
|
||||||
|
|
||||||
|
|
||||||
{% include hero/budget.html %}
|
|
||||||
{% include base.html %}
|
|
||||||
|
|
||||||
|
|
||||||
<div class="page page--home">
|
|
||||||
|
|
||||||
<!--
|
|
||||||
WHAT IS PLUGIN?
|
|
||||||
-->
|
|
||||||
<section class="section">
|
|
||||||
<div class="section__content">
|
|
||||||
<div class="section__lead">{% tmd pages.budget.description-text-hero %}</div>
|
|
||||||
<br>
|
|
||||||
<p>{% t pages.budget.description %}</p>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<!--
|
|
||||||
DASH FEATURES
|
|
||||||
PRIVATE | INSTANT | SECURE
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
<section id="" class="section section--cta">
|
|
||||||
<div class="section__content"> <!--section__content -->
|
|
||||||
<div>
|
|
||||||
<h2>{% t pages.community.discussion-heading %}<a class="permalink" title="Permalink" id="discussion"></a></h2>
|
|
||||||
|
|
||||||
{% tmd pages.community.discussion-text %}
|
|
||||||
</div>
|
|
||||||
<div class="ctabox ctabox--gray-light-bg" data-js-ctabox>
|
|
||||||
<div class="ctabox__inner">
|
|
||||||
<article class="ctabox__cta" data-js-ctabox-item>
|
|
||||||
<a href="https://www.dash.org/forum" target="_blank" class="ctabox__link">
|
|
||||||
<div class="ctabox__imagewrapper">
|
|
||||||
<img src="/assets/img/community/dashforum_logo.png" class="ctabox__image" >
|
|
||||||
</div>
|
|
||||||
<div class="ctabox__text">
|
|
||||||
<h4 class="ctabox__title">CREATE PROPOSAL</h4>
|
|
||||||
<p>
|
|
||||||
Budget
|
|
||||||
<br>
|
|
||||||
Proposal
|
|
||||||
<br>
|
|
||||||
Generator
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
</article>
|
|
||||||
<article class="ctabox__cta" data-js-ctabox-item>
|
|
||||||
<a href="https://www.reddit.com/r/dashpay/" target="_blank" class="ctabox__link">
|
|
||||||
<div class="ctabox__imagewrapper">
|
|
||||||
<img src="/assets/img/community/reddit_logo.png" class="ctabox__image" >
|
|
||||||
</div>
|
|
||||||
<div class="ctabox__text">
|
|
||||||
<h4 class="ctabox__title">DASHCENTRAL</h4>
|
|
||||||
<p>
|
|
||||||
Budget Monitoring
|
|
||||||
<br>Create Proposal
|
|
||||||
<br> Monitoring MN
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
</article>
|
|
||||||
<article class="ctabox__cta" data-js-ctabox-item>
|
|
||||||
<a href="https://bitcointalk.org/index.php?topic=421615.0" target="_blank" class="ctabox__link">
|
|
||||||
<div class="ctabox__imagewrapper">
|
|
||||||
<img src="/assets/img/community/bitcointalk_logo.png" class="ctabox__image" >
|
|
||||||
</div>
|
|
||||||
<div class="ctabox__text">
|
|
||||||
<h4 class="ctabox__title">MONITORING</h4>
|
|
||||||
<p>
|
|
||||||
Budget
|
|
||||||
<br>
|
|
||||||
Voting Monitoring
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
</article>
|
|
||||||
<article class="ctabox__cta" data-js-ctabox-item>
|
|
||||||
<a href="https://forum.bitcoin.com/dash/" target="_blank" class="ctabox__link">
|
|
||||||
<div class="ctabox__imagewrapper">
|
|
||||||
<img src="/assets/img/community/bitcoindotcom_logo.png" class="ctabox__image" >
|
|
||||||
</div>
|
|
||||||
<div class="ctabox__text">
|
|
||||||
<h4 class="ctabox__title">VOTING STATUS</h4>
|
|
||||||
<p></p>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
</article>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
<section class="">
|
|
||||||
<div class="content">
|
|
||||||
<h2 class="section__title">{% t pages.budget.voting-header %}</h2>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-sm-6">
|
|
||||||
<h2>{% t pages.budget.voting-automatic %}</h2>
|
|
||||||
<p>{% t pages.budget.voting-automatic-text %}</p>
|
|
||||||
<a href="/network" class="btn-blue">{% t pages.budget.voting-guide-btn %}</a>
|
|
||||||
<a href="/network" class="btn-blue">{% t pages.budget.voting-manual-btn %}</a>
|
|
||||||
<a href="/network" class="btn-blue">{% t pages.budget.voting-central-btn %}</a>
|
|
||||||
</div>
|
|
||||||
<div class="col-sm-6">
|
|
||||||
<h2>{% t pages.budget.voting-tools %}</h2>
|
|
||||||
<p>{% t pages.budget.voting-tools-text %}</p>
|
|
||||||
<a href="">{% t pages.budget.decentralized-governance-link %}</a>
|
|
||||||
<a href="">{% t pages.budget.masternode-budget-link %}</a>
|
|
||||||
<a href="">{% t pages.budget.using-link %}</a>
|
|
||||||
<a href="">{% t pages.budget.dgb-link %}</a>
|
|
||||||
<a href="">{% t pages.budget.budget-finalization-link %}</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="section section--currency" id="section-blockchain">
|
|
||||||
<h2 class="section__title">{% t pages.budget.exchange-heading %}</h2>
|
|
||||||
<table id="blocks">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>Height</th>
|
|
||||||
<th>Block Time</th>
|
|
||||||
<th>Transactions</th>
|
|
||||||
<th>Value Out</th>
|
|
||||||
<th>Difficulty</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</section>
|
|
||||||
</div>
|
|
||||||
<script type="text/javascript">
|
|
||||||
window.onload = function () {
|
|
||||||
$( document ).ready(function(){
|
|
||||||
|
|
||||||
// Get the exchange data
|
|
||||||
$.ajax({
|
|
||||||
url: "{{ site.api }}/exchange/",
|
|
||||||
error: function(jqXHR, textStatus, errorThrown) {
|
|
||||||
console.log(jqXHR);
|
|
||||||
console.log(textStatus);
|
|
||||||
console.log('errorThrown:');
|
|
||||||
}
|
|
||||||
})
|
|
||||||
.done(function(response){
|
|
||||||
var exchanges = response;
|
|
||||||
|
|
||||||
exchanges.map(function(exchange){
|
|
||||||
if(exchange){
|
|
||||||
console.log('exchange',exchange);
|
|
||||||
var name = exchange.exchange,
|
|
||||||
url = exchange.url
|
|
||||||
volume = "$" + formatCurrency(exchange.volume,0),
|
|
||||||
price = "$" + formatCurrency(exchange.price),
|
|
||||||
change = formatNumber(exchange.percent_change);
|
|
||||||
|
|
||||||
$("#exchanges>tbody").append('<tr><td data-header="Exchange"><a target="_blank" href="' + url + '">' + name + '</a></td><td data-header="Volume (24h)">' + volume + '</td><td data-header="Price">' + price + '</td><td data-header="Volume (%)">' + change + '%</td></tr>');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// Get the current number of masternodes.
|
|
||||||
$.ajax({
|
|
||||||
url: "{{ site.api }}/masternodes/stats/"
|
|
||||||
})
|
|
||||||
.done(function(response){
|
|
||||||
console.log('masternode stats', response.stats);
|
|
||||||
var masternodes_count = formatNumber(response.stats['count']),
|
|
||||||
masternodes_max = formatNumber(response.stats['max']);
|
|
||||||
|
|
||||||
$("#masternodes_count").text(masternodes_count);
|
|
||||||
$("#masternodes_max").text(masternodes_max);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Get the budget proposals
|
|
||||||
$.ajax({
|
|
||||||
url: "{{ site.api }}/budgets/"
|
|
||||||
})
|
|
||||||
.done(function(response){
|
|
||||||
var proposals = response.proposals;
|
|
||||||
|
|
||||||
proposals.map(function(proposal){
|
|
||||||
var title = proposal.title ? proposal.title : proposal.name,
|
|
||||||
url = proposal.dw_url,
|
|
||||||
owner = proposal.owner_username,
|
|
||||||
votes_yes = proposal.yes,
|
|
||||||
votes_no = proposal.no,
|
|
||||||
required_votes = proposal.remaining_yes_votes_until_funding,
|
|
||||||
amount_monthly = formatCurrency(proposal.monthly_amount)
|
|
||||||
will_be_funded = proposal.will_be_funded ? "yes" : "no";
|
|
||||||
|
|
||||||
$("#budgets>tbody").append('<tr><td data-header="Title"><a href="' + url + '" target="_blank">' + title + '</a></td><td data-header="Owner">' + owner + '</td><td data-header="Votes (yes/no)">' + votes_yes + '/' + votes_no + '</td><td data-header="Votes Required">' + required_votes + '</td><td data-header="Monthly Amount">' + amount_monthly + '</td><td data-header="Will be Funded">' + will_be_funded + '</td></tr>');
|
|
||||||
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// Get the blockchain info
|
|
||||||
$.ajax({
|
|
||||||
url: "{{ site.api }}/chain/latestBlocks/"
|
|
||||||
})
|
|
||||||
.done(function(response){
|
|
||||||
var blocks = response.blocks;
|
|
||||||
|
|
||||||
blocks.map(function(block){
|
|
||||||
var height = block.height,
|
|
||||||
age = moment.unix(block.time).format("LLL"),
|
|
||||||
txs = block.txlength,
|
|
||||||
out = block.cbvalue,
|
|
||||||
difficulty = block.difficulty;
|
|
||||||
|
|
||||||
$("#blocks>tbody").append('<tr><td data-header="Height">' + height + '</td><td data-header="Block Time">' + age + '</td><td data-header="Transactions">' + txs + '</td><td data-header="Value Out">' + out + '</td><td data-header="Difficulty">' + difficulty + '</td></tr>');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
});
|
|
||||||
}
|
|
||||||
</script>
|
|
78
governance/index.html
Normal file
78
governance/index.html
Normal file
|
@ -0,0 +1,78 @@
|
||||||
|
---
|
||||||
|
layout: default
|
||||||
|
title: pages.governance.title
|
||||||
|
description: pages.governance.description
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
{% include hero/governance.html %}
|
||||||
|
{% include base.html %}
|
||||||
|
|
||||||
|
|
||||||
|
<div class="page page--home">
|
||||||
|
|
||||||
|
<!--
|
||||||
|
WHAT IS PLUGIN?
|
||||||
|
-->
|
||||||
|
<section class="section">
|
||||||
|
<div class="section__content">
|
||||||
|
<div class="section__lead">{% tmd pages.governance.description-text-hero %}</div>
|
||||||
|
<br>
|
||||||
|
<p>{% t pages.governance.description %}</p>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section class="section">
|
||||||
|
<div class="section__content">
|
||||||
|
<h2 class="section__title">{% t pages.governance.governance-meaning %}</h2>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-6 col-md-offset-3">
|
||||||
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/jHsVU1LBuAY" frameborder="0" allowfullscreen></iframe>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
<section class="">
|
||||||
|
<div class="content">
|
||||||
|
<h2 class="section__title">{% t pages.governance.voting-header %}</h2>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<h2>{% t pages.governance.voting-automatic %}</h2>
|
||||||
|
<p>{% t pages.governance.voting-automatic-text %}</p>
|
||||||
|
<a href="https://youtu.be/52TzOgq15h8" class="btn-blue" target="_blank">
|
||||||
|
{% t pages.governance.voting-guide-btn %}
|
||||||
|
</a>
|
||||||
|
<a href="https://dashpay.atlassian.net/wiki/x/DIBGB" class="btn-blue" target="_blank">
|
||||||
|
{% t pages.governance.voting-manual-btn %}
|
||||||
|
</a>
|
||||||
|
<a href="https://dashpay.atlassian.net/wiki/x/EIBGB" class="btn-blue" target="_blank">
|
||||||
|
{% t pages.governance.voting-central-btn %}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-6">
|
||||||
|
<h2>{% t pages.governance.voting-tools %}</h2>
|
||||||
|
<p>{% t pages.governance.voting-tools-text %}</p>
|
||||||
|
<a href="https://proposal.dash.org" class="btn-blue" target="_blank">{% t pages.governance.generator-link %}</a>
|
||||||
|
<a href="https://www.dashcentral.org/" class="btn-blue" target="_blank">{% t pages.governance.dashcentral-link %}</a>
|
||||||
|
<a href="http://dashvotetracker.com" class="btn-blue" target="_blank">{% t pages.governance.votetracker-link %}</a>
|
||||||
|
<a href="https://www.dashninja.pl/budgets.html" class="btn-blue" target="_blank">{% t pages.governance.budget-monitoring-link %}</a>
|
||||||
|
<a href="#" class="btn-blue" target="_blank">{% t pages.governance.proposal-status-link %}</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section>
|
||||||
|
<div class="content">
|
||||||
|
<div>
|
||||||
|
<h2 class="section__title">{% t pages.governance.proposal-service %}</h2>
|
||||||
|
<img src="/assets/img/update/Voting.png" alt="">
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<a href="http://govobject-proposal.slayer.work/" target="_blank" class="btn-blue">{% t pages.update.proposal-btn %}</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
</div>
|
|
@ -25,7 +25,7 @@ description: pages.budget.description
|
||||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/4GRrLiTCq5M" frameborder="0" allowfullscreen></iframe>
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/4GRrLiTCq5M" frameborder="0" allowfullscreen></iframe>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<h2>{% t pages.masternodes.earn-heading %}</h2>
|
<h2 class="bottom-space">{% t pages.masternodes.earn-heading %}</h2>
|
||||||
<p>{% t pages.masternodes.earn-text %}</p>
|
<p>{% t pages.masternodes.earn-text %}</p>
|
||||||
<table id="exchanges">
|
<table id="exchanges">
|
||||||
<thead>
|
<thead>
|
||||||
|
@ -87,7 +87,7 @@ description: pages.budget.description
|
||||||
|
|
||||||
<section class="">
|
<section class="">
|
||||||
<div class="section__content">
|
<div class="section__content">
|
||||||
<h2 class="bottom-space">P2P</h2>
|
<h2 class="bottom-space">P2P</h2>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
<div class="bottom-space">{% tmd pages.masternodes.p2p-text %}</div>
|
<div class="bottom-space">{% tmd pages.masternodes.p2p-text %}</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue