File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed
client/src/components/apps Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 11<template >
2- <div style =" height : 90 % ;" >
3- <v-tabs >
2+ <div style =" height : 95 % ;" >
3+ <v-tabs class = " console-bar " >
44 <template >
55 <v-tab @click =" getLogHistory('web')" >web</v-tab >
66 <v-tab @click =" getLogHistory('builder')" >build</v-tab >
99 </v-tabs >
1010 <div class =" console" id =" console" >
1111 <div v-for =" line in loglines" :key =" line.id" >
12- {{ new Date(line.time).toISOString()}} <span :style =" 'color:' +line.color" >[{{ line.podID }}/{{ line.container.replace('kuberoapp-', '') }}]</span >
12+ {{ new Date(line.time).toLocaleDateString() }} {{ new Date(line.time).toLocaleTimeString()}} <span :style =" 'color:' +line.color" >[{{ line.podID }}/{{ line.container.replace('kuberoapp-', '') }}]</span >
1313 {{ line.log }}
1414 </div >
1515 </div >
@@ -94,6 +94,15 @@ a:link { text-decoration: none;}
9494.v-icon.v-icon {
9595 vertical-align :inherit ;
9696}
97+
98+ .theme--light.v-tabs.console-bar > .v-tabs-bar .v-tab :not (.v-tab--active ) {
99+ color : #9F9F9F ;
100+ }
101+
102+ .theme--light.v-tabs.console-bar > .v-tabs-bar {
103+ background-color : #1E1E1E ; /* #444*/
104+ }
105+
97106.console {
98107 height : 100% ;
99108 overflow-x : scroll ;
Original file line number Diff line number Diff line change @@ -889,7 +889,7 @@ export class Kubero {
889889 }
890890
891891 // sleep for 1 second to wait for all logs to be collected
892- await new Promise ( r => setTimeout ( r , 1000 ) ) ;
892+ await new Promise ( r => setTimeout ( r , 300 ) ) ;
893893
894894 // split loglines into array
895895 const loglinesArray = logs . split ( '\n' ) . reverse ( ) ;
You can’t perform that action at this time.
0 commit comments