Mercurial > piecrust2
comparison piecrust/admin/templates/dashboard.html @ 1069:dff873f11541
admin: Upgrade Bootstrap, switch icons to Open-Iconic, remove Bower.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 13 Feb 2018 23:22:27 -0800 |
parents | 8101692fdc11 |
children |
comparison
equal
deleted
inserted
replaced
1068:137c9b41edd2 | 1069:dff873f11541 |
---|---|
1 {% extends 'layouts/default.html' %} | 1 {% extends 'layouts/default.html' %} |
2 | 2 |
3 {% block content %} | 3 {% block content %} |
4 <div class="row"> | 4 <div class="row"> |
5 <div class="col-md-12"> | 5 <div class="col-md-12"> |
6 <h1>{{site_title}} <a href="{{url_preview}}"><span class="icon ion-arrow-right-c"></span></a></h1> | 6 <h1>{{site_title}} <a href="{{url_preview}}"><span class="oi oi-arrow-right"></span></a></h1> |
7 </div> | 7 </div> |
8 </div> | 8 </div> |
9 {% with messages = get_flashed_messages() %} | 9 {% with messages = get_flashed_messages() %} |
10 {% if messages %} | 10 {% if messages %} |
11 <div class="row"> | 11 <div class="row"> |
15 </div> | 15 </div> |
16 {% endif %} | 16 {% endif %} |
17 {% endwith %} | 17 {% endwith %} |
18 <div class="row"> | 18 <div class="row"> |
19 <div class="col-md-6"> | 19 <div class="col-md-6"> |
20 <h2><span class="icon ion-stats-bars"></span> Site Summary</h2> | 20 <h2><span class="oi oi-bar-chart"></span> Site Summary</h2> |
21 {% for s in sources %} | 21 {% for s in sources %} |
22 <div class="ft-summary-source"> | 22 <div class="ft-summary-source"> |
23 <a href="{{s.list_url}}">{{s.page_count}} {{s.name}}</a> | 23 <p><a href="{{s.list_url}}">{{s.page_count}} {{s.name}}</a></p> |
24 </div> | 24 </div> |
25 {% endfor %} | 25 {% endfor %} |
26 | 26 |
27 <h2><span class="icon ion-wrench"></span> Site Management</h2> | 27 <h2><span class="oi oi-wrench"></span> Site Management</h2> |
28 <form action="{{url_bake_assets}}" method="POST"> | 28 <form action="{{url_bake_assets}}" method="POST"> |
29 <button type="submit" class="btn"><span class="icon ion-loop"></span> Rebake Preview Assets</button> | 29 <button type="submit" class="btn"><span class="oi oi-loop"></span> Rebake Preview Assets</button> |
30 </form> | 30 </form> |
31 </div> | 31 </div> |
32 <div class="col-md-6"> | 32 <div class="col-md-6"> |
33 <h2><span class="icon ion-erlenmeyer-flask"></span> Work in Progress</h2> | 33 <h2><span class="oi oi-beaker"></span> Work in Progress</h2> |
34 {% if new_pages %} | 34 {% if new_pages %} |
35 <p>New pages:</p> | 35 <p>New pages:</p> |
36 <ul> | 36 <ul> |
37 {% for p in new_pages %} | 37 {% for p in new_pages %} |
38 <li><a href="{{p.url}}">{{p.title}}</a><br/> | 38 <li><a href="{{p.url}}">{{p.title}}</a><br/> |