fixed file manager design

This commit is contained in:
Daniel Balk 2023-04-05 22:55:56 +02:00
parent 35e1f99277
commit dbaaf6a32e
3 changed files with 7 additions and 4 deletions

View file

@ -24,7 +24,7 @@
else else
{ {
<div class="card mb-7"> <div class="card mb-7">
<div class="card-header"> <div class="card-header border-0 my-2">
<div class="card-title"> <div class="card-title">
<div class="d-flex flex-stack"> <div class="d-flex flex-stack">
<FilePath Access="Access" OnPathChanged="OnComponentStateChanged" /> <FilePath Access="Access" OnPathChanged="OnComponentStateChanged" />
@ -59,7 +59,7 @@ else
else else
{ {
<button type="button" @onclick="Launch" class="btn btn-light-primary me-3"> <button type="button" @onclick="Launch" class="btn btn-light-primary me-3">
<span class="svg-icon svg-icon-muted svg-icon-2hx"> <span class="svg-icon svg-icon-muted svg-icon-2">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path opacity="0.3" d="M5 16C3.3 16 2 14.7 2 13C2 11.3 3.3 10 5 10H5.1C5 9.7 5 9.3 5 9C5 6.2 7.2 4 10 4C11.9 4 13.5 5 14.3 6.5C14.8 6.2 15.4 6 16 6C17.7 6 19 7.3 19 9C19 9.4 18.9 9.7 18.8 10C18.9 10 18.9 10 19 10C20.7 10 22 11.3 22 13C22 14.7 20.7 16 19 16H5ZM8 13.6H16L12.7 10.3C12.3 9.89999 11.7 9.89999 11.3 10.3L8 13.6Z" fill="currentColor"/> <path opacity="0.3" d="M5 16C3.3 16 2 14.7 2 13C2 11.3 3.3 10 5 10H5.1C5 9.7 5 9.3 5 9C5 6.2 7.2 4 10 4C11.9 4 13.5 5 14.3 6.5C14.8 6.2 15.4 6 16 6C17.7 6 19 7.3 19 9C19 9.4 18.9 9.7 18.8 10C18.9 10 18.9 10 19 10C20.7 10 22 11.3 22 13C22 14.7 20.7 16 19 16H5ZM8 13.6H16L12.7 10.3C12.3 9.89999 11.7 9.89999 11.3 10.3L8 13.6Z" fill="currentColor"/>
<path d="M11 13.6V19C11 19.6 11.4 20 12 20C12.6 20 13 19.6 13 19V13.6H11Z" fill="currentColor"/> <path d="M11 13.6V19C11 19.6 11.4 20 12 20C12.6 20 13 19.6 13 19V13.6H11Z" fill="currentColor"/>
@ -86,7 +86,7 @@ else
</div> </div>
</div> </div>
<div class="card card-body"> <div class="card card-body ps-9">
<FileView @ref="View" <FileView @ref="View"
Access="Access" Access="Access"
ContextActions="Actions" ContextActions="Actions"

View file

@ -97,7 +97,7 @@
<td>@(Formatter.FormatSize(file.Size))</td> <td>@(Formatter.FormatSize(file.Size))</td>
<td class="text-end"> <td class="text-end">
<div class="d-flex justify-content-end"> <div class="d-flex justify-content-end">
<div class="ms-2 me-7"> <div class="ms-2 me-6">
@if (ContextActions.Any()) @if (ContextActions.Any())
{ {
<ContextMenuTrigger MenuId="triggerMenu" MouseButtonTrigger="MouseButtonTrigger.Both" Data="file"> <ContextMenuTrigger MenuId="triggerMenu" MouseButtonTrigger="MouseButtonTrigger.Both" Data="file">

View file

@ -484,3 +484,6 @@ Server not found;Server not found
A server with that id cannot be found or you have no access for this server;A server with that id cannot be found or you have no access for this server A server with that id cannot be found or you have no access for this server;A server with that id cannot be found or you have no access for this server
Compress;Compress Compress;Compress
Decompress;Decompress Decompress;Decompress
Moving;Moving
Compressing;Compressing
selected;selected