P3X GitList Demo
GitHub
Repo
Changelog
To do
Releases
Themes
Language
Auto
Afrikaans
العربية
বাংলা
Català
Čeština
Dansk
Deutsch
Ελληνικά
English
Español
Suomi
Français
עברית
Magyar
Italiano
日本語
한국어
Nederlands
Norsk
Polski
Português
Română
Русский
Српски
Svenska
Türkçe
Українська
Tiếng Việt
中文
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
003662cbe158c92c5133f8e8f2f4d328b02bef71
Branches
main
Files
Commits
Log
Graph
Stats
redis-ui-material.git
src
ng
pages
database
key
key-list.component.html
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Delete
Are you sure to delete this file?
Editor
Raw
Blame
History
2kB
28 lines
HTML code
Clone
HTTPS
This file (2kB) exceeds the allowed full mode (48 kb) size. The editor full height is disabled, only scrolling is allowed.
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height mode.
src/ng/pages/database/key/key-list.component.html
<p3xr-key-pager-inline [paging]="paging" (pageChanged)="updatePagedItems()"></p3xr-key-pager-inline> <div class="p3xr-key-type-table"> <div class="p3xr-key-type-header"> <span style="flex: 20%">{{ strings?.page?.key?.list?.table?.index }}</span> <span style="flex: 60%">{{ strings?.page?.key?.list?.table?.value }}</span> <span style="flex: 20%; text-align: right"> @if (!isReadonly) { <button mat-icon-button (click)="appendValue($event)" matTooltip="Add"> <mat-icon>add</mat-icon> </button> } </span> </div> @for (item of pagedItems; track item.index) { <div class="p3xr-key-type-row"> <span class="p3xr-key-col" style="flex: 20%; cursor: pointer" (click)="editValue(item.index, item.value, $event)">{{ item.index }}</span> <span class="p3xr-value-col" [class.p3xr-pre]="valueFormat !== 'hex'" style="flex: 60%; cursor: pointer" (click)="editValue(item.index, item.value, $event)">@if (valueFormat === 'hex') {<p3xr-hex-monitor [value]="truncateDisplay(item.value)" [truncated]="isTruncated(item.value)"></p3xr-hex-monitor>} @else {{{ truncateDisplay(formatValue(item.value)) }}@if (isTruncated(item.value)) {<span style="opacity: 0.5;">...</span>}}</span> <span style="flex: 20%; text-align: right" class="p3xr-key-type-row-actions"> @if (!isReadonly) { <mat-icon class="icon-warn" (click)="deleteListElement(item.index, $event)" matTooltip="Delete">delete</mat-icon> } <mat-icon class="icon-accent" (click)="showJsonItem(item.value, $event)" matTooltip="JSON">account_tree</mat-icon> <mat-icon class="icon-accent" (click)="copyItem(item.value)" matTooltip="Copy">content_copy</mat-icon> <mat-icon class="icon-accent" (click)="downloadItem(item.index)" matTooltip="Download">download</mat-icon> @if (!isReadonly) { <mat-icon class="icon-primary" (click)="editValue(item.index, item.value, $event)" matTooltip="Edit">edit</mat-icon> } </span> </div> } </div>
Keyboard shortcuts
/
Focus search
?
Show this help
Esc
Unfocus input