mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: add data-preview (#412)
Co-authored-by: undefined <i@undefined.moe>
This commit is contained in:
1 parent
b7cdadc255
commit
388adbedde
10 files changed
+177
-112
No files matched your search
@@ -32,7 +32,7 @@
|
||||
<tbody>
|
||||
{%- for file in additional_file -%}
|
||||
<tr data-filename="{{ file.name }}" data-size="{{ file.size }}">
|
||||
<td class="col--name" title="{{ file.name }}">
|
||||
<td class="col--name" title="{{ file.name }}" data-preview="additional_file">
|
||||
<a href="{{ url('problem_file_download', {pid: pdoc.docId, filename: file.name}) }}">{{ file.name }}</a>
|
||||
</td>
|
||||
<td class="col--size">{{ size(file.size) }}</td>
|
||||
|
||||
Reference in new issue
Block a user