Skip to content
Permalink
Browse files

Refined file view

  • Loading branch information...
davidmerfield committed Mar 9, 2019
1 parent 5a9e6ad commit 4de389cf855c91917e873c6b7c8eda515e8ff004
Showing with 54 additions and 57 deletions.
  1. +7 −45 app/dashboard/views/folder/entry.html
  2. +45 −10 app/dashboard/views/folder/file.html
  3. +2 −2 app/dashboard/views/folder/stat.html
@@ -8,15 +8,17 @@

{{#entry}}



<tr>
<td>Title:</td>
<td>{{title}}</td>
<td><a href="{{blog.url}}{{{url}}}">{{title}}</a></td>
</tr>

{{^draft}}{{^scheduled}}
<tr>
<td>URL:</td>
<td><a href="{{blog.url}}{{url}}">{{{url}}}</a></td>
<td>{{{url}}}</td>
</tr>
{{/scheduled}}{{/draft}}

@@ -31,50 +33,10 @@
<td>{{#draft}}Yes{{/draft}}{{^draft}}No{{/draft}}</td>
</tr>

<tr>
<td>Page:</td>
<td>{{#page}}Yes {{/page}}{{^page}}No{{/page}}</td>
<tr style="border-bottom:1px solid rgba(0,0,0,0.05)">
<td style="padding-bottom:11px;margin-bottom:11px">Page:</td>
<td style="padding-bottom:11px;margin-bottom:11px">{{#page}}Yes {{/page}}{{^page}}No{{/page}}</td>
</tr>

<!--
<tr>
<td>Why:</td>
<td>{{name}} became a blog post because it a type of file Blot can process</td>
</td>
-->
<!--
{{^scheduled}}
Draft that will be dated: <span style="float:right">{{date}}</td>
{{/scheduled}}
{{#scheduled}}
Draft that will be published {{toNow}}
{{/scheduled}}
{{^scheduled}}
Published: <span style="float:right">{{date}}</td>
{{/scheduled}}
{{#scheduled}}
Scheduled for publication {{toNow}}
{{/scheduled}}
-->



<!--
<tr>
<td>Created:</td>
<td>Plain text document</td>
</td>
<tr>
<td>Modified:</td>
<td>Plain text document</td>
</td> -->


{{/entry}}
@@ -1,7 +1,22 @@
<style type="text/css">
tr {border: none;}
td {vertical-align: top;}
td:first-child {color: rgb(158, 154, 152);padding-right: 20px}
table {display: table;width: 100%}
tr {
border: none;
}
td {
vertical-align: top;
}
td:first-child {
color: rgb(158, 154, 152);
padding-right: 20px
}
td a {color: #365899}
td:nth-child(2) {
width: 100%;
}
</style>
<div style="padding:0 20px">

@@ -16,14 +31,35 @@
{{/entry}}

<span>
<a href="{{blog.url}}{{path}}" style="color:#365899;text-decoration:none">{{name}}</a>
<!-- <span style="float:right;color:rgb(158, 154, 152)">{{size}}</span>
--> </span>
</span>
<!-- <span style="display:block;color:rgb(158, 154, 152);margin-left:24px;margin-top:-6px;margin-bottm:">Modified: {{updated}}</span>
--> </span>
<!-- <a style="color:#365899;text-decoration:none" href="{{blog.url}}{{{path}}}"> -->{{name}}<!-- </a> -->
</span>
<br>
<div class="clear" style="margin:11px 0;border-bottom:1px solid rgba(0,0,0,0.05)"></div>

<!--
{{#entry}}<a class="val external" style="margin-bottom:11px" href="{{blog.url}}{{{url}}}" >Visit
{{#draft}}
draft
{{/draft}}
{{#scheduled}}
preview of blog post
{{/scheduled}}
{{#page}}
page
{{/page}}
{{^draft}} {{^page}} {{^scheduled}} post {{/scheduled}} {{/page}} {{/draft}}
<span class="square">&rarr;</span></a><br>
{{/entry}} -->


</span>
</span>

<!--
<span class="line-item">
{{#entry}}<a class="val external" style="margin-top:20px;margin-bottom:10px" href="{{blog.url}}{{{url}}}" >Visit
@@ -42,7 +78,6 @@
<span class="square">&rarr;</span></a>{{/entry}}
</span> -->


<table>
{{> entry}}

@@ -1,8 +1,8 @@
{{#stat}}

<tr>
<td>Where:</td>
<td>{{path}}</td>
<td style="padding-top:11px">Where:</td>
<td style="padding-top:11px"><a href="{{blog.url}}{{{path}}}">{{path}}</a></td>
</tr>

<tr>

0 comments on commit 4de389c

Please sign in to comment.
You can’t perform that action at this time.