diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-08-29 18:35:34 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2023-08-29 18:35:34 +1000 |
| commit | 35e98d66a2b2f3cff2a9a9b9905cba270b6c6cc3 (patch) | |
| tree | 25bd08220f168c6f7f9eeb8ff887be98173a5b6e | |
| parent | 524c015d77bcb9cb762d8470c6de80d9a2c6b9cb (diff) | |
Made tags on ViewMedia clickable
| -rw-r--r-- | Pages/Component/MediaTagTable.razor | 12 | ||||
| -rw-r--r-- | Pages/Component/MediaTagTable.razor.css | 8 | ||||
| -rw-r--r-- | Todo.md | 3 |
3 files changed, 16 insertions, 7 deletions
diff --git a/Pages/Component/MediaTagTable.razor b/Pages/Component/MediaTagTable.razor index ce42e48..dedf865 100644 --- a/Pages/Component/MediaTagTable.razor +++ b/Pages/Component/MediaTagTable.razor @@ -19,11 +19,13 @@ } </td> <td> - @if(e.isImplicit) { - <i>@e.tagDef.Name</i> - } else { - @e.tagDef.Name - } + <a href="/Gallery?q=@(e.tagDef.Name)"> + @if(e.isImplicit) { + <i>@e.tagDef.Name</i> + } else { + @e.tagDef.Name + } + </a> </td> <td> @if(!e.isImplicit) { diff --git a/Pages/Component/MediaTagTable.razor.css b/Pages/Component/MediaTagTable.razor.css index dcf5e09..3b5cffe 100644 --- a/Pages/Component/MediaTagTable.razor.css +++ b/Pages/Component/MediaTagTable.razor.css @@ -1,3 +1,11 @@ td { font-size: 8pt; } + +td:nth-child(2) a { + color: #fff; +} + +td:nth-child(2) a:hover { + color: #999; +} @@ -12,10 +12,9 @@ - Video support - User/security support -#Long-term Features +# Long-term Features - Search engine includes implicit tags - Periodic thumbnail scrubbing - - Search tags from ViewMedia page - Loading animations - Keyboard shortcuts - Find source |
