mirror of
https://github.com/Joxit/docker-registry-ui.git
synced 2026-07-12 08:39:19 +00:00
feat(oci): add support to helm exports history and use material symbols
This commit is contained in:
@@ -253,8 +253,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
'author',
|
||||
'id',
|
||||
'ExposedPorts',
|
||||
'name',
|
||||
'appVersion',
|
||||
'kubeVersion',
|
||||
'keywords',
|
||||
'home',
|
||||
'sources'
|
||||
].reduce(function (acc, e) {
|
||||
const value = blobs[e] || blobs.config[e];
|
||||
const value = blobs[e] || (blobs.config && blobs.config[e]);
|
||||
if (value && e === 'architecture' && blobs.variant) {
|
||||
acc[e] = value + blobs.variant;
|
||||
} else if (value) {
|
||||
|
||||
BIN
src/fonts/material-symbols-rounded.ttf
Normal file
BIN
src/fonts/material-symbols-rounded.ttf
Normal file
Binary file not shown.
BIN
src/fonts/material-symbols-rounded.woff
Normal file
BIN
src/fonts/material-symbols-rounded.woff
Normal file
Binary file not shown.
BIN
src/fonts/material-symbols-rounded.woff2
Normal file
BIN
src/fonts/material-symbols-rounded.woff2
Normal file
Binary file not shown.
@@ -1,20 +1,18 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'Material Icons';
|
||||
font-family: 'Material Symbols Rounded';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(fonts/MaterialIcons-Regular.eot); /* For IE6-8 */
|
||||
src: local('Material Icons'),
|
||||
local('MaterialIcons-Regular'),
|
||||
url(fonts/MaterialIcons-Regular.woff2) format('woff2'),
|
||||
url(fonts/MaterialIcons-Regular.woff) format('woff'),
|
||||
url(fonts/MaterialIcons-Regular.ttf) format('truetype');
|
||||
src: local('Material Symbols Rounded'),
|
||||
url(fonts/material-symbols-rounded.woff2) format('woff2'),
|
||||
url(fonts/material-symbols-rounded.woff) format('woff'),
|
||||
url(fonts/material-symbols-rounded.ttf) format('truetype');
|
||||
}
|
||||
|
||||
material-button .content i.material-icons,
|
||||
material-button[rounded=true] .content i.material-icons,
|
||||
i.material-icons {
|
||||
font-family: 'Material Icons';
|
||||
font-family: 'Material Symbols Rounded';
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-size: 24px; /* Preferred icon size */
|
||||
@@ -38,6 +36,12 @@ i.material-icons {
|
||||
|
||||
/* Support for IE. */
|
||||
font-feature-settings: 'liga';
|
||||
|
||||
user-select: none;
|
||||
-moz-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-o-user-select: none;
|
||||
}
|
||||
|
||||
material-button .content i.material-icons,
|
||||
@@ -82,6 +82,17 @@ export function getHistoryIcon(attribute) {
|
||||
return 'router';
|
||||
case 'comment':
|
||||
return 'chat';
|
||||
case 'home':
|
||||
return 'home';
|
||||
case 'sources':
|
||||
return 'link';
|
||||
case 'keywords':
|
||||
return 'receipt';
|
||||
case 'name':
|
||||
return 'abc';
|
||||
case 'kubeVersion':
|
||||
case 'appVersion':
|
||||
return '123';
|
||||
default:
|
||||
if (attribute.startsWith('custom-label-')) {
|
||||
return 'label';
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
@import 'riot-mui/src/material-elements/material-switch/material-switch.scss';
|
||||
|
||||
@import './roboto.scss';
|
||||
@import './material-icons.scss';
|
||||
@import './material-symbols.scss';
|
||||
|
||||
html > body {
|
||||
font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif !important;
|
||||
|
||||
Reference in New Issue
Block a user