@@ -131,16 +131,23 @@ <h2>
131
131
</ h2 >
132
132
</ div >
133
133
134
- < div ng-if ="!noContainersYet ">
135
- < div class ="mar-bottom-md mar-top-xl ">
134
+ < div ng-if ="!noContainersYet " class =" mar-top-xl mar-bottom-xl " >
135
+ < div class ="mar-bottom-md ">
136
136
< span class ="pficon pficon-info " aria-hidden ="true "> </ span >
137
- When you navigate away from this pod, any open terminal connections will be closed.
138
- This will kill any foreground processes you started from the terminal.
137
+ < span ng-class ="{ 'mar-right-md': hasFullscreen } ">
138
+ When you navigate away from this pod, any open terminal connections will be closed.
139
+ This will kill any foreground processes you started from the terminal.
140
+ </ span >
141
+ < a href =""
142
+ ng-if ="hasFullscreen "
143
+ ng-click ="fullscreenTerminal() "
144
+ class ="nowrap "
145
+ aria-hidden ="true "> Open Fullscreen Terminal</ a >
139
146
</ div >
140
147
141
148
< alerts ng-if ="selectedTerminalContainer.status === 'disconnected' " alerts ="terminalDisconnectAlert "> </ alerts >
142
149
143
- < div class ="mar-left-xl mar-bottom-xl ">
150
+ < div class ="mar-left-xl ">
144
151
< div class ="row ">
145
152
< div class ="pad-left-none pad-bottom-md col-sm-6 col-lg-4 ">
146
153
< span ng-if ="pod.spec.containers.length === 1 ">
@@ -182,25 +189,29 @@ <h2>
182
189
</ ui-select >
183
190
</ div >
184
191
</ div >
192
+ </ div >
185
193
186
- < div class ="container-terminal-wrapper ">
187
- < div class ="row " ng-repeat ="term in containerTerminals ">
188
- < div class ="column ">
189
- < kubernetes-container-terminal
190
- prevent ="!terminalTabWasSelected "
191
- ng-if ="term.isUsed "
192
- ng-show ="term.isVisible "
193
- pod ="pod "
194
- container ="term.containerName "
195
- status ="term.status "
196
- rows ="terminalRows "
197
- cols ="terminalCols "
198
- autofocus ="true "
199
- command ='["/bin/sh", "-i", "-c", "TERM=xterm /bin/sh"] '
200
- >
201
- </ kubernetes-container-terminal >
202
- </ div >
194
+ < div id ="container-terminal-wrapper "
195
+ class ="container-terminal-wrapper "
196
+ ng-class ="{ disconnected: selectedTerminalContainer.status === 'disconnected' } ">
197
+ < div ng-repeat ="term in containerTerminals ">
198
+ < div ng-if ="hasFullscreen " class ="fullscreen-toggle " aria-hidden ="true ">
199
+ < a ng-href ="" ng-click ="fullscreenTerminal() " class ="go-fullscreen " title ="Open Fullscreen Terminal "> < i class ="fa fa-expand "> </ i > </ a >
200
+ < a ng-href ="" ng-click ="exitFullscreen() " class ="exit-fullscreen " title ="Exit Fullscreen "> < i class ="fa fa-compress "> </ i > </ a >
203
201
</ div >
202
+ < kubernetes-container-terminal
203
+ prevent ="!terminalTabWasSelected "
204
+ ng-if ="term.isUsed "
205
+ ng-show ="term.isVisible "
206
+ pod ="pod "
207
+ container ="term.containerName "
208
+ status ="term.status "
209
+ rows ="terminalRows "
210
+ cols ="terminalCols "
211
+ autofocus ="true "
212
+ command ='["/bin/sh", "-i", "-c", "TERM=xterm /bin/sh"] '
213
+ >
214
+ </ kubernetes-container-terminal >
204
215
</ div >
205
216
</ div >
206
217
</ div >
0 commit comments