Visual improvements to the export element table

This commit is contained in:
Andrew Manning 2016-08-21 06:53:19 -04:00
parent 1c61e316b4
commit d39cf23b2f

View File

@ -12,33 +12,33 @@
<div class="pull-left"> <div class="pull-left">
<button id="toggle-select-all" class="btn btn-xs btn-primary" onclick="checkedAll(window.isChecked); return false;"><i class="fa fa-check"></i>&nbsp;Toggle Select All</button> <button id="toggle-select-all" class="btn btn-xs btn-primary" onclick="checkedAll(window.isChecked); return false;"><i class="fa fa-check"></i>&nbsp;Toggle Select All</button>
</div> </div>
<div class="clear"></div> <div class="clear"></div>
<h4>Pages</h4> <hr>
<!--<h4>Pages</h4>-->
<div> <div>
<table class="table-striped table-responsive table-hover" style="width: 100%;"> <table class="table-striped table-responsive table-hover" style="width: 100%;">
<thead> <thead>
<tr><th>Export?</th><th>Page Title</th><th>Page Link</th><th>Type</th></tr> <tr><th></th><th>Page Link</th><th>Page Title</th><th>Type</th></tr>
</thead> </thead>
{{foreach $pages as $page}} {{foreach $pages as $page}}
<tr> <tr>
<td> <td width="30px" style="padding-right: 20px;">
<div class='squaredThree'> <div class='squaredThree'>
<input type="checkbox" id="page_{{$page.mid}}" name="page[]" value="{{$page.mid}}"> <input type="checkbox" id="page_{{$page.mid}}" name="page[]" value="{{$page.mid}}">
<label for="page_{{$page.mid}}"></label> <label for="page_{{$page.mid}}"></label>
</div> </div>
</td> </td>
<td> <td width="30%">
<div class="desc"> <div class="desc">
{{$page.title}}<br>
</div>
</td>
<td>
<div class='desc'>
{{$page.pagetitle}}<br> {{$page.pagetitle}}<br>
</div> </div>
</td> </td>
<td> <td width="55%">
<div class='desc'>
{{$page.title}}<br>
</div>
</td>
<td width="15%">
<div class='desc'> <div class='desc'>
{{$page.mimetype}}<br> {{$page.mimetype}}<br>
</div> </div>
@ -47,33 +47,33 @@
{{/foreach}} {{/foreach}}
</table> </table>
</div> </div>
<hr>
<div class="clear"></div> <div class="clear"></div>
<h4>Layouts</h4> <!--<h4>Layouts</h4>-->
<div> <div>
<table class="table-striped table-responsive table-hover" style="width: 100%;"> <table class="table-striped table-responsive table-hover" style="width: 100%;">
<thead> <thead>
<tr><th>Export?</th><th>Layout Name</th><th>Layout Description</th><th>Type</th></tr> <tr><th width="20px"></th><th>Layout Name</th><th>Layout Description</th><th>Type</th></tr>
</thead> </thead>
{{foreach $layouts as $layout}} {{foreach $layouts as $layout}}
<tr> <tr>
<td> <td width="30px" style="padding-right: 20px;">
<div class='squaredThree'> <div class='squaredThree'>
<input type="checkbox" id="layout_{{$layout.mid}}" name="layout[]" value="{{$layout.mid}}"> <input type="checkbox" id="layout_{{$layout.mid}}" name="layout[]" value="{{$layout.mid}}">
<label for="layout_{{$layout.mid}}"></label> <label for="layout_{{$layout.mid}}"></label>
</div> </div>
</td> </td>
<td> <td width="30%">
<div class="desc"> <div class="desc">
{{$layout.name}}<br> {{$layout.name}}<br>
</div> </div>
</td> </td>
<td> <td width="55%">
<div class='desc'> <div class='desc'>
{{$layout.description}}<br> {{$layout.description}}<br>
</div> </div>
</td> </td>
<td> <td width="15%">
<div class='desc'> <div class='desc'>
{{$layout.mimetype}}<br> {{$layout.mimetype}}<br>
</div> </div>
@ -82,33 +82,33 @@
{{/foreach}} {{/foreach}}
</table> </table>
</div> </div>
<hr>
<div class="clear"></div> <div class="clear"></div>
<h4>Blocks</h4> <!--<h4>Blocks</h4>-->
<div> <div>
<table class="table-striped table-responsive table-hover" style="width: 100%;"> <table class="table-striped table-responsive table-hover" style="width: 100%;">
<thead> <thead>
<tr><th>Export?</th><th>Block Title</th><th>Block Name</th><th>Type</th></tr> <tr><th width="30px"></th><th>Block Name</th><th>Block Title</th><th>Type</th></tr>
</thead> </thead>
{{foreach $blocks as $block}} {{foreach $blocks as $block}}
<tr> <tr>
<td> <td width="30px" style="padding-right: 20px;">
<div class='squaredThree'> <div class='squaredThree'>
<input type="checkbox" id="block_{{$block.mid}}" name="block[]" value="{{$block.mid}}"> <input type="checkbox" id="block_{{$block.mid}}" name="block[]" value="{{$block.mid}}">
<label for="block_{{$block.mid}}"></label> <label for="block_{{$block.mid}}"></label>
</div> </div>
</td> </td>
<td> <td width="30%">
<div class="desc"> <div class="desc">
{{$block.title}}<br>
</div>
</td>
<td>
<div class='desc'>
{{$block.name}}<br> {{$block.name}}<br>
</div> </div>
</td> </td>
<td> <td width="55%">
<div class='desc'>
{{$block.title}}<br>
</div>
</td>
<td width=15%">
<div class='desc'> <div class='desc'>
{{$block.mimetype}}<br> {{$block.mimetype}}<br>
</div> </div>