AppHeader.vue (a3cbc659093a349adb998b36b16fbb382109868f) | AppHeader.vue (ce9a3ef3036923cb4c0f28240c8bb37a6b4540fc) |
---|---|
1<template> 2 <div> 3 <header id="page-header"> 4 <a role="link" class="link-skip-nav btn btn-light" href="#main-content"> 5 {{ $t('appHeader.skipToContent') }} 6 </a> 7 8 <b-navbar --- 87 unchanged lines hidden (view full) --- 96 return 'warning'; 97 case 'off': 98 default: 99 return 'secondary'; 100 } 101 }, 102 healthStatusIcon() { 103 switch (this.healthStatus) { | 1<template> 2 <div> 3 <header id="page-header"> 4 <a role="link" class="link-skip-nav btn btn-light" href="#main-content"> 5 {{ $t('appHeader.skipToContent') }} 6 </a> 7 8 <b-navbar --- 87 unchanged lines hidden (view full) --- 96 return 'warning'; 97 case 'off': 98 default: 99 return 'secondary'; 100 } 101 }, 102 healthStatusIcon() { 103 switch (this.healthStatus) { |
104 case 'good': | 104 case 'OK': |
105 return 'success'; | 105 return 'success'; |
106 case 'warning': | 106 case 'Warning': |
107 return 'warning'; | 107 return 'warning'; |
108 case 'critical': | 108 case 'Critical': |
109 return 'danger'; 110 default: 111 return 'secondary'; 112 } 113 } 114 }, 115 created() { 116 this.getHostInfo(); --- 89 unchanged lines hidden --- | 109 return 'danger'; 110 default: 111 return 'secondary'; 112 } 113 } 114 }, 115 created() { 116 this.getHostInfo(); --- 89 unchanged lines hidden --- |