Skip to content

Commit

Permalink
#4 added help texts for all inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryzhak committed Oct 25, 2018
1 parent 9d59072 commit 55d1ec7
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 17 deletions.
41 changes: 33 additions & 8 deletions src/app/dashboard/dao-param-page/dao-param-page.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<header>
<h1 class="h3 display">DAO params</h1>
<div><span class="text-small help-block-none">Each method creates a voting</span></div>
</header>

<div class="row">
Expand All @@ -9,7 +10,10 @@ <h1 class="h3 display">DAO params</h1>
<div>
<form [formGroup]="formDaoParams">
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Amount of DZT created each week</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Amount of DZT created each week</label>
<div><span class="text-small text-gray help-block-none">This amount of DZT is minted each week when new episode is created</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand All @@ -22,7 +26,10 @@ <h1 class="h3 display">DAO params</h1>
</div>
</div>
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Amount of DZTREP created each week</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Amount of DZTREP created each week</label>
<div><span class="text-small text-gray help-block-none">This amount of DZTREP is minted each week when new episode is created</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand All @@ -35,7 +42,10 @@ <h1 class="h3 display">DAO params</h1>
</div>
</div>
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Price for 1 DZT in ETH</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Price for 1 DZT in ETH</label>
<div><span class="text-small text-gray help-block-none">You can buy ads or become the next guest with DZT</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand All @@ -48,7 +58,10 @@ <h1 class="h3 display">DAO params</h1>
</div>
</div>
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Price for 1 ad slot in ETH</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Price for 1 ad slot in DZT</label>
<div><span class="text-small text-gray help-block-none">You can buy ads with DZT</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand All @@ -61,7 +74,10 @@ <h1 class="h3 display">DAO params</h1>
</div>
</div>
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Guest stake in DZT</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Guest stake in DZT</label>
<div><span class="text-small text-gray help-block-none">To become a guest user should put some DZT at stake</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand All @@ -74,7 +90,10 @@ <h1 class="h3 display">DAO params</h1>
</div>
</div>
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Host reward for episode in DZTREP</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Host reward for episode in DZTREP</label>
<div><span class="text-small text-gray help-block-none">When episode ends host gets this amount of DZTREP</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand All @@ -87,7 +106,10 @@ <h1 class="h3 display">DAO params</h1>
</div>
</div>
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Guest reward for episode in DZTREP</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Guest reward for episode in DZTREP</label>
<div><span class="text-small text-gray help-block-none">When episode ends guest gets this amount of DZTREP</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand All @@ -100,7 +122,10 @@ <h1 class="h3 display">DAO params</h1>
</div>
</div>
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Reward of all team members for episode in DZTREP</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Reward of all team members for episode in DZTREP</label>
<div><span class="text-small text-gray help-block-none">When episode ends all team members(not each) get this amount of DZTREP</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand Down
10 changes: 8 additions & 2 deletions src/app/dashboard/outsider-page/outsider-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ <h1 class="h3 display">For listener</h1>
<div>
<form [formGroup]="formBuyTokens">
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Buy DZT</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Buy DZT</label>
<div><span class="text-small text-gray help-block-none">For DZT you can become the next guest or buy ads for the next episode</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand All @@ -25,7 +28,10 @@ <h1 class="h3 display">For listener</h1>
</div>
<div>
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Become the next guest</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Become the next guest</label>
<div><span class="text-small text-gray help-block-none">To become the next guest you should put some DZT at stake. If you miss the show then your DZT at stake are burnt.</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand Down
5 changes: 4 additions & 1 deletion src/app/dashboard/patron-page/patron-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ <h1 class="h3 display">For advertiser</h1>
<div>
<form [formGroup]="formRunAdsInTheNextEpisode">
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Buy ad slot</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Buy ad slot</label>
<div><span class="text-small text-gray help-block-none">This advertisement will run in the next show</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand Down
26 changes: 21 additions & 5 deletions src/app/dashboard/team-page/team-page.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<header>
<h1 class="h3 display">Team</h1>
<div><span class="text-small help-block-none">Each method creates a voting</span></div>
</header>

<div class="row">
Expand All @@ -9,7 +10,10 @@ <h1 class="h3 display">Team</h1>
<div>
<form [formGroup]="formWithdrawEther">
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Withdraw collected ETH to address</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Withdraw collected ETH to addressek</label>
<div><span class="text-small text-gray help-block-none">Withdraw all ETH to specific address</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand All @@ -26,7 +30,10 @@ <h1 class="h3 display">Team</h1>
<div>
<form [formGroup]="formSelectNextHost">
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Select the next host</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Select the next host</label>
<div><span class="text-small text-gray help-block-none">Change the next episode's host</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand All @@ -43,7 +50,10 @@ <h1 class="h3 display">Team</h1>
<div>
<form [formGroup]="formChangeTheGuest">
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Change the guest</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Change the guest</label>
<div><span class="text-small text-gray help-block-none">Change the next episode's guest(previous guest notified you that he wouldn't come to the show)</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand All @@ -66,7 +76,10 @@ <h1 class="h3 display">Team</h1>
<div>
<form [formGroup]="formEmergencyChangeTheGuest">
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Emergency change the guest</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Emergency change the guest</label>
<div><span class="text-small text-gray help-block-none">Change the next episode's guest in case of emergency(previous guest suddenly didn't come)</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand All @@ -89,7 +102,10 @@ <h1 class="h3 display">Team</h1>
<div>
<form [formGroup]="formMoveToNextEpisode">
<div class="form-group row">
<label class="col-sm-12 col-md-3 form-control-label">Move to next episode</label>
<div class="col-sm-12 col-md-3">
<label class="form-control-label mb-0">Move to next episode</label>
<div><span class="text-small text-gray help-block-none">Creates a new episode if 1 week passed</span></div>
</div>
<div class="col-sm-12 col-md-9">
<div class="row">
<div class="col-md-4">
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/services/devzendao/devzendao.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ export class DevzendaoService {
}
if(hash == this.PARAM_ONE_AD_SLOT_PRICE) {
name = "oneAdSlotPrice";
desc = "Price for 1 ad slot in ETH";
desc = "Price for 1 ad slot in DZT";
}
if(hash == this.PARAM_ONE_TOKEN_PRICE_IN_WEI) {
name = "oneTokenPriceInWei";
Expand Down

0 comments on commit 55d1ec7

Please sign in to comment.