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-json.component.html
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Delete
Are you sure to delete this file?
Editor
Raw
Blame
History
4kB
86 lines
HTML code
Clone
HTTPS
This file (4kB) 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-json.component.html
<!-- Action buttons --> <div class="p3xr-key-type-actions"> @if (isGtSm) { <button mat-raised-button class="btn-accent p3xr-action-btn" type="button" (click)="copyValue()"> <mat-icon>content_copy</mat-icon> <span>{{ strings?.intention?.copy }}</span> </button> } @else { <button mat-mini-fab class="btn-accent" type="button" (click)="copyValue()" [matTooltip]="strings?.intention?.copy ?? 'Copy'" matTooltipPosition="above"> <mat-icon>content_copy</mat-icon> </button> } @if (isGtSm) { <button mat-raised-button class="btn-accent p3xr-action-btn" type="button" (click)="downloadJsonFile()"> <mat-icon>download</mat-icon> <span>{{ strings?.intention?.downloadJson }}</span> </button> } @else { <button mat-mini-fab class="btn-accent" type="button" (click)="downloadJsonFile()" [matTooltip]="strings?.intention?.downloadJson ?? 'Download JSON'" matTooltipPosition="above"> <mat-icon>download</mat-icon> </button> } @if (isGtSm) { <button mat-raised-button class="btn-accent p3xr-action-btn" type="button" (click)="expandAll()"> <mat-icon>unfold_more</mat-icon> <span>{{ strings?.page?.treeControls?.expandAll }}</span> </button> } @else { <button mat-mini-fab class="btn-accent" type="button" (click)="expandAll()" [matTooltip]="strings?.page?.treeControls?.expandAll ?? 'Expand All'" matTooltipPosition="above"> <mat-icon>unfold_more</mat-icon> </button> } @if (isGtSm) { <button mat-raised-button class="btn-accent p3xr-action-btn" type="button" (click)="collapseAll()"> <mat-icon>unfold_less</mat-icon> <span>{{ strings?.page?.treeControls?.collapseAll }}</span> </button> } @else { <button mat-mini-fab class="btn-accent" type="button" (click)="collapseAll()" [matTooltip]="strings?.page?.treeControls?.collapseAll ?? 'Collapse All'" matTooltipPosition="above"> <mat-icon>unfold_less</mat-icon> </button> } @if (isGtSm) { <button mat-raised-button class="btn-accent p3xr-action-btn" type="button" (click)="toggleWrap()"> <mat-icon>{{ treeWrap ? 'wrap_text' : 'notes' }}</mat-icon> <span>{{ treeWrap ? (strings?.intention?.unwrap) : (strings?.intention?.wrap) }}</span> </button> } @else { <button mat-mini-fab class="btn-accent" type="button" (click)="toggleWrap()" [matTooltip]="treeWrap ? (strings?.intention?.unwrap ?? 'Unwrap') : (strings?.intention?.wrap ?? 'Wrap')" matTooltipPosition="above"> <mat-icon>{{ treeWrap ? 'wrap_text' : 'notes' }}</mat-icon> </button> } @if (!isReadonly) { @if (isGtSm) { <button mat-raised-button class="btn-primary p3xr-action-btn" type="button" (click)="jsonEditor()"> <mat-icon>edit</mat-icon> <span>{{ strings?.intention?.jsonViewEditor }}</span> </button> } @else { <button mat-mini-fab class="btn-primary" type="button" (click)="jsonEditor()" [matTooltip]="strings?.intention?.jsonViewEditor ?? 'Edit JSON'" matTooltipPosition="above"> <mat-icon>edit</mat-icon> </button> } } </div> <!-- Inline JSON tree view --> <div class="p3xr-key-type-content" style="overflow: auto;"> @if (jsonObj !== undefined) { <p3xr-json-tree [data]="jsonObj" [label]="strings?.label?.tree" [expanded]="treeExpanded" [wrap]="treeWrap"> </p3xr-json-tree> } @else { <div class="p3xr-pre">{{ truncateDisplay(p3xrValue) }}</div> } </div>
Keyboard shortcuts
/
Focus search
?
Show this help
Esc
Unfocus input