Basic styling for breadcrumbs
This commit is contained in:
parent
ee059ac36c
commit
a6b928b42b
2 changed files with 19 additions and 4 deletions
|
@ -1,10 +1,20 @@
|
|||
<div class="drive">
|
||||
<ol class="breadcrumbs">
|
||||
<li><a href="{.mount_path}/{.base_drive_path}/">/</a></li>
|
||||
<li>
|
||||
<a href="{.mount_path}/{.base_drive_path}/">
|
||||
<i class="fa-solid fa-cloud"></i>
|
||||
<span class="directory">/</span>
|
||||
</a>
|
||||
</li>
|
||||
{#for .breadcrumbs |$crumb, $i| =}
|
||||
<li><a href="{.mount_path}/{.base_drive_path}
|
||||
<i class="fa-solid fa-chevron-right"></i>
|
||||
<li>
|
||||
<a href="{.mount_path}/{.base_drive_path}
|
||||
{= #for @slice(.breadcrumbs, 0, $i) |$c|}/{$c}{/for =}
|
||||
/{$crumb}">{$crumb}</a></li>
|
||||
/{$crumb}">
|
||||
{$crumb}
|
||||
</a>
|
||||
</li>
|
||||
{/for =}
|
||||
</ol>
|
||||
<table class="directory-listing">
|
||||
|
|
|
@ -218,6 +218,11 @@ button:hover, a.button:hover {
|
|||
}
|
||||
}
|
||||
|
||||
.drive .breadcrumbs {
|
||||
list-style: none;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.drive .icons {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
|
|
Loading…
Reference in a new issue