mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Display icon in metadata (#7078)
* Display metadata icon * UI static files
This commit is contained in:
2
pkg/apiserver-impl/ui/index.html
generated
2
pkg/apiserver-impl/ui/index.html
generated
@@ -11,6 +11,6 @@
|
||||
<body class="mat-typography">
|
||||
<div id="loading">Loading, please wait...</div>
|
||||
<app-root></app-root>
|
||||
<script src="runtime.1289ea0acffcdc5e.js" type="module"></script><script src="polyfills.8b3b37cedaf377c3.js" type="module"></script><script src="main.d81b67faa7ca223c.js" type="module"></script>
|
||||
<script src="runtime.1289ea0acffcdc5e.js" type="module"></script><script src="polyfills.8b3b37cedaf377c3.js" type="module"></script><script src="main.d468134bf8c5f727.js" type="module"></script>
|
||||
|
||||
</body></html>
|
||||
1
pkg/apiserver-impl/ui/main.d468134bf8c5f727.js
generated
Normal file
1
pkg/apiserver-impl/ui/main.d468134bf8c5f727.js
generated
Normal file
File diff suppressed because one or more lines are too long
1
pkg/apiserver-impl/ui/main.d81b67faa7ca223c.js
generated
1
pkg/apiserver-impl/ui/main.d81b67faa7ca223c.js
generated
File diff suppressed because one or more lines are too long
@@ -1,3 +1,7 @@
|
||||
.main { padding: 16px; }
|
||||
mat-form-field.full-width { width: 100%; }
|
||||
mat-form-field.mid-width { width: 50%; }
|
||||
.quart-width { width: 25%; }
|
||||
.icon-display { display: inline-flex; position: relative; left: 16px; top: 22px; }
|
||||
.width-10 { width: 10%; }
|
||||
.width-40 { width: 40%; }
|
||||
|
||||
@@ -34,8 +34,11 @@
|
||||
<mat-label>Icon</mat-label>
|
||||
<input placeholder="Can be a URI or a relative path in the project" matInput formControlName="icon">
|
||||
</mat-form-field>
|
||||
<span class="icon-display width-10">
|
||||
<img width="56" [src]="form.controls['icon'].value">
|
||||
</span>
|
||||
|
||||
<mat-form-field appearance="outline" class="mid-width">
|
||||
<mat-form-field appearance="outline" class="width-40">
|
||||
<mat-label>Global Memory Limit</mat-label>
|
||||
<input placeholder="Informative limit of memory used by the devfile. Ex: 1Gi" matInput formControlName="globalMemoryLimit">
|
||||
</mat-form-field>
|
||||
|
||||
Reference in New Issue
Block a user