mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge branch 'users' of https://github.com/appwrite/appwrite-console-poc into users
This commit is contained in:
@@ -73,7 +73,24 @@
|
||||
{#if $file}
|
||||
<CardGrid>
|
||||
<div class="u-flex u-gap-16">
|
||||
<img width="205" height="125" src={getPreview($file.$id)} alt={$file.name} />
|
||||
<a
|
||||
href={downloadFile()}
|
||||
class="file-preview is-with-image"
|
||||
target="_blank"
|
||||
aria-label="open file in new window">
|
||||
<div class="file-preview-image">
|
||||
<img
|
||||
width="205"
|
||||
height="125"
|
||||
src={getPreview($file.$id)}
|
||||
alt={$file.name} />
|
||||
</div>
|
||||
<div class="file-preview-content">
|
||||
<div class="avatar">
|
||||
<span class="icon-external-link" aria-hidden="true" />
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<div>
|
||||
<h2 class="heading-level-7">{$file.name}</h2>
|
||||
<Copy value={getView($file.$id)}>
|
||||
@@ -110,7 +127,7 @@
|
||||
</svelte:fragment>
|
||||
<p>
|
||||
If you want to assign permissions specific to this file, you will need to
|
||||
update your <a class="link" href="#?"> Bucket Settings</a> to enable File Level
|
||||
update your <a class="link" href="#"> Bucket Settings</a> to enable File Level
|
||||
permissions.
|
||||
</p>
|
||||
</Alert>
|
||||
|
||||
Reference in New Issue
Block a user