cp.html 5.48 KB
Newer Older
1 2 3 4 5 6 7 8
---
layout: base
---
<div class="site-wrap ffs-proposal ffs-cp">

<div class="container ffs-breadcrumbs">
   <div class="row">
      <div class="col-xs-12">
9 10
          <p><a href="/">Community Crowdfunding System</a></p>
          <p><a href="/completed-proposals/">Completed Tasks</a></p>
11 12 13 14 15 16 17 18
        <p class="bread-active">{{page.title}}</p>
      </div>
   </div>
</div>    
            <section class="container full">
                <div class="info-block">
                   <div class="row">
                        <div class="col-xs-12">
19 20 21 22
                           {% for toplevel in site.data.completed-proposals %}
                             {% if toplevel.stage == "Completed Proposals" %}
                                {% for proposal in toplevel.proposals%}
                                  {% if proposal.name == {{page.title}} %}
23
                            <h2>{{page.title}}</h2>
's avatar
committed
24 25 26
                                <p class="author-list">by {{proposal.author}}</p>
                                <p class="date-list">{{proposal.date}}</p>
                                <p class="progress-number-goal">{{proposal.amount}} XMR</p>
27
                                <p class="date-list contributor">{{proposal.contributions}} contributors</p>
28 29 30 31
                                <p class="bar-work-status">Completed</p> 
                            <div class="progress-bar">
                                <span class="work-progress" style="width: 100%; background-color: #70af71;"></span>
                            </div>
's avatar
committed
32
                            
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
                        </div>
                    </div>
                </div>
        </section>
                   
        <section class="container full">
                <div class="">
                    <div class="row between-xs">
                       <div class="col-xs-12">
                            <div class="tabs">
                                  <input class="input" name="tabs" type="radio" id="tab-1" checked="checked"/>
                                  <label class="label" for="tab-1">Proposal</label>
                                  <div class="panel col-xs-12">
                                       <div class="panel-segment">
                                           {{content}}
's avatar
committed
48 49 50 51 52 53 54 55
                                           <div class="gldiscuss">
                                               <h3>Community Discussion and Updates</h3>
                                               <p><a href="{{proposal.gitlab-url}}">View community discussion, comments, and proposal updates on GitLab</a></p>
                                           </div>
                                           {%endif%}
                            {%endfor%}
                            {%endif%}
                            {%endfor%}
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
                                       </div>
                                  </div>
                                  <input class="input" name="tabs" type="radio" id="tab-2"/>
                                  <label class="label" for="tab-2">Milestones</label>
                                  <div class="panel col-xs-12">
                                    {% if page.milestones != nil %}
                                        {% for milestones in page.milestones %}
                                           <div class="milestone panel-segment">
                                                <span class="{{milestones.status}} ms-{{milestones.status}}"></span>
                                                <h3>{{milestones.name}}</h3>
                                                <p><span class="bold">To be paid:</span> {{milestones.funds}}</p>
                                                <p><span class="bold">Completion date:</span> {{milestones.done}}</p>
                                           </div>
                                        {%endfor%}
                                        {%else%}
                                            <div class="panel-segment">
                                                <p>No milestones</p>
                                            </div>
                                    {%endif%}
                                  </div>
                                  <input class="input" name="tabs" type="radio" id="tab-3"/>
                                  <label class="label" for="tab-3">Payouts</label>
                                  <div class="panel col-xs-12">
                                    {% if page.payouts != nil %}
                                        {% for payouts in page.payouts %}
's avatar
committed
81
                                           <div class="milestone panel-segment">
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
                                                <span class="{{milestones.status}} ms-{{milestones.status}}"></span>
                                                <p><span class="bold">Funds Awarded:</span> {{payouts.amount}}</p>
                                                <p><span class="bold">Date:</span> {{payouts.date}}</p>
                                            </div>
                                        {%endfor%}
                                        {%else%}
                                            <div class="panel-segment">
                                                <p>No Payouts</p>
                                            </div>
                                    {%endif%}
                                  </div>
                                </div>
                       </div>
                    </div>
                </div>
        </section>
    </div>