File tree Expand file tree Collapse file tree 3 files changed +25
-35
lines changed
client/src/components/apps Expand file tree Collapse file tree 3 files changed +25
-35
lines changed Original file line number Diff line number Diff line change 11<template >
22 <v-container >
33 <breadcrumbs :items =" breadcrumbItems" ></breadcrumbs >
4- <v-tabs v-model =" tab" class =" background" >
5- <v-tab class =" background" >Logs</v-tab >
6- <v-tab class =" background" >Events</v-tab >
7- <v-tab class =" background" >Vulnerabilities</v-tab >
8- <v-spacer class =" background" ></v-spacer >
9- </v-tabs >
104
5+ <v-container class =" d-flex justify-space-between align-center mb-2" >
6+ <v-tabs v-model =" tab" class =" background" >
7+ <v-tab class =" background" >Logs</v-tab >
8+ <v-tab class =" background" >Events</v-tab >
9+ <v-tab class =" background" >Vulnerabilities</v-tab >
10+ <v-spacer class =" background" ></v-spacer >
11+ </v-tabs >
12+ <v-btn
13+ elevation =" 2"
14+ color =" primary"
15+ :href =" `#/pipeline/${this.pipeline}/${this.phase}/${this.app}`"
16+ >Edit App
17+ </v-btn >
18+ </v-container >
19+
1120 <v-tabs-items v-model =" tab" >
1221 <v-tab-item transition =" false" class =" background" >
1322 <logs :pipeline =" pipeline" :phase =" phase" :app =" app" />
@@ -47,14 +56,7 @@ export default {
4756 text: ' APP:' + this .app ,
4857 disabled: true ,
4958 href: ` #/pipeline/${ this .pipeline } /${ this .phase } /${ this .app } /detail` ,
50- },
51- {
52- text: " EDIT" ,
53- disabled: false ,
54- // http://localhost:2000/#/pipeline/customcommand/production/noproc
55- href: ` #/pipeline/${ this .pipeline } /${ this .phase } /${ this .app } ` ,
56- icon: " mdi-pencil-box-outline" ,
57- },
59+ }
5860 ],
5961 }
6062 },
Original file line number Diff line number Diff line change 11<template >
22 <v-container >
3- <v-row class = " justify-space-between " >
3+ <v-row >
44 <v-col cols =" 6" sm =" 6" md =" 6" lg =" 6" xl =" 6" >
55 <h1 >
66 Logs for {{ this.app }}
7-
8- <v-btn
7+ </h1 >
8+ </v-col >
9+ <v-col cols =" 6" sm =" 6" md =" 6" lg =" 6" xl =" 6" class =" d-flex justify-end" >
10+ <v-btn
911 class =" ma-2"
1012 @click =" openInWindow"
11- >
12- Open Logs
13- <v-icon
14- right
15- dark
16- >
17- mdi-open-in-new
18- </v-icon >
19- </v-btn >
20- </h1 >
13+ >Open Logs
14+ <v-icon right dark >mdi-open-in-new</v-icon >
15+ </v-btn >
2116 <p ></p >
2217 </v-col >
2318 </v-row >
Original file line number Diff line number Diff line change @@ -806,14 +806,7 @@ export default {
806806 text: ' APP:' + this .app ,
807807 disabled: false ,
808808 href: ` #/pipeline/${ this .pipeline } /${ this .phase } /${ this .app } /detail` ,
809- },
810- {
811- text: ' EDIT' ,
812- disabled: true ,
813- // http://localhost:2000/#/pipeline/customcommand/production/noproc
814- href: ` #/pipeline/${ this .pipeline } /${ this .phase } /${ this .app } ` ,
815- icon: " mdi-pencil-box-outline" ,
816- },
809+ }
817810 ],
818811 advanced: false ,
819812 panel: [0 ],
You can’t perform that action at this time.
0 commit comments