This repository was archived by the owner on May 14, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 12 files changed +96
-107
lines changed
streams/stream-definitions Expand file tree Collapse file tree 12 files changed +96
-107
lines changed Original file line number Diff line number Diff line change @@ -210,9 +210,9 @@ <h2>Platform-specific Information of the Task Launcher</h2>
210
210
</ table >
211
211
212
212
< div class ="row ">
213
- < div class ="col-md -12 text-right "> < button id ="back-button " type ="button " class ="btn btn-default " (click) ="goBack() "> < span class ="glyphicon glyphicon-arrow-left "> </ span > Back</ button > </ div >
214
- < div class ="col-md -12 text-left "> < button id ="back-button "
213
+ < div class ="col-xs -12 text-right "> < button id ="back-button " type ="button " class ="btn btn-default " (click) ="goBack() "> < span class ="glyphicon glyphicon-arrow-left "> </ span > < span class =" hidden-xs " > Back</ span > </ button > </ div >
214
+ < div class ="col-xs -12 text-left "> < button id ="back-button "
215
215
[ngxClipboard] [cbContent] ="dataflowVersionInfo | json " (cbOnSuccess) ="onCopyToClipboardSuccess($event); "
216
- type ="button " class ="btn btn-default "> < span class ="glyphicon glyphicon-copy "> </ span > Copy Details to Clipboard</ button > </ div >
216
+ type ="button " class ="btn btn-default "> < span class ="glyphicon glyphicon-copy "> </ span > < span class =" hidden-xs " > Copy Details to Clipboard</ span > </ button > </ div >
217
217
</ div >
218
218
</ div >
Original file line number Diff line number Diff line change 1
1
< nav class ="navbar navbar-inverse navbar-static-top ">
2
2
< div class ="container ">
3
3
< div class ="navbar-header ">
4
- < button type ="button " class ="navbar-toggle collapsed " data-toggle ="collapse " data-target ="#navbar " aria-expanded ="false " aria-controls ="navbar ">
4
+ < button type ="button " class ="navbar-toggle collapsed " data-toggle ="collapse " data-target ="#navbar "
5
+ [attr.aria-expanded] ="!isCollapsed " (click) ="toggleCollapse() " [ngClass] ="{'collapsed': isCollapsed} ">
5
6
< span class ="sr-only "> Toggle navigation</ span >
6
7
< span class ="icon-bar "> </ span >
7
8
< span class ="icon-bar "> </ span >
8
9
< span class ="icon-bar "> </ span >
9
10
</ button >
10
- < a class ="navbar-brand " href =" # "> < span > </ span > </ a >
11
+ < a class ="navbar-brand " routerLink =" apps "> < span > </ span > </ a >
11
12
</ div >
12
- < div id ="navbar " class ="collapse navbar-collapse ">
13
- < ul class ="nav navbar-nav navbar-right ">
13
+ < div id ="navbar " class ="collapse navbar-collapse " [ngClass] =" {'in': !isCollapsed} " >
14
+ < ul class ="nav navbar-nav navbar-right " (click) =" collapse() " >
14
15
< li routerLinkActive ="active "> < a routerLink ="apps "> Apps</ a > </ li >
15
16
< li routerLinkActive ="active "> < a routerLink ="runtime/apps "> Runtime</ a > </ li >
16
17
< li routerLinkActive ="active "> < a routerLink ="streams "> Streams</ a > </ li >
19
20
< li routerLinkActive ="active "> < a routerLink ="analytics "> Analytics</ a > </ li >
20
21
< li routerLinkActive ="active "> < a routerLink ="about "> About</ a > </ li >
21
22
</ ul >
22
- </ div > <!--/.nav-collapse -->
23
+ </ div >
23
24
</ div >
24
-
25
25
</ nav >
26
26
27
27
< div class ="container dataflow-main-container ">
Original file line number Diff line number Diff line change @@ -15,7 +15,18 @@ export class AppComponent implements OnInit {
15
15
this . toastyConfig . timeout = 3000 ;
16
16
}
17
17
18
+ public isCollapsed = true ;
19
+
18
20
ngOnInit ( ) {
19
21
}
20
22
23
+ public toggleCollapse ( ) : void {
24
+ this . isCollapsed = ! this . isCollapsed ;
25
+ }
26
+
27
+ public collapse ( ) : void {
28
+ if ( ! this . isCollapsed ) {
29
+ this . isCollapsed = true ;
30
+ }
31
+ }
21
32
}
Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ <h2 class="text-center">OR</h2>
67
67
</ div >
68
68
69
69
< div class ="row " style ="margin-bottom: 2em; ">
70
- < div class ="col-md -12 text-right "> < button id ="back-button " type ="button " class ="btn btn-default " (click) ="goBack() "> Cancel</ button > </ div >
71
- < div class ="col-md -12 text-left "> < button id ="submit-button " type ="submit " class ="btn btn-primary " [disabled] ="form.invalid "> < span class ="glyphicon glyphicon-import " aria-hidden ="true "> </ span > Import</ button > </ div >
70
+ < div class ="col-xs -12 text-right "> < button id ="back-button " type ="button " class ="btn btn-default " (click) ="goBack() "> Cancel</ button > </ div >
71
+ < div class ="col-xs -12 text-left "> < button id ="submit-button " type ="submit " class ="btn btn-primary " [disabled] ="form.invalid "> < span class ="glyphicon glyphicon-import " aria-hidden ="true "> </ span > Import</ button > </ div >
72
72
</ div >
73
73
</ form >
74
74
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ <h1 [ngBusy]="busy">Register Applications</h1>
75
75
</ tbody >
76
76
</ table >
77
77
< div class ="row ">
78
- < div class ="col-md -12 text-right "> < button id ="back-button " type ="button " class ="btn btn-default " (click) ="goBack() "> Cancel</ button > </ div >
79
- < div class ="col-md -12 text-left "> < button id ="submit-button " type ="submit " class ="btn btn-primary " [disabled] ="registerAppsForm.invalid "> Register</ button > </ div >
78
+ < div class ="col-xs -12 text-right "> < button id ="back-button " type ="button " class ="btn btn-default " (click) ="goBack() "> Cancel</ button > </ div >
79
+ < div class ="col-xs -12 text-left "> < button id ="submit-button " type ="submit " class ="btn btn-primary " [disabled] ="registerAppsForm.invalid "> Register</ button > </ div >
80
80
</ div >
81
81
</ form >
82
82
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ <h1 [ngBusy]="busy">Apps</h1>
6
6
< button id ="showAboutDetailsButton " type ="button " (click) ="registerApps() "
7
7
class ="btn btn-default "
8
8
> < span class ="glyphicon glyphicon-plus "> </ span >
9
- Register Application(s)
9
+ < span class =" hidden-xs " > Register Application(s)</ span >
10
10
</ button >
11
11
12
12
< app-tri-state-button *ngIf ="appRegistrations?.items " class ="toggle-all "
@@ -21,7 +21,7 @@ <h1 [ngBusy]="busy">Apps</h1>
21
21
< button id ="showAboutDetailsButton " type ="button " (click) ="bulkImportApps() "
22
22
class ="btn btn-default "
23
23
> < span class ="glyphicon glyphicon-import "> </ span >
24
- Bulk Import Applications
24
+ < span class =" hidden-xs " > Bulk Import Applications</ span >
25
25
</ button >
26
26
< label *ngIf ="appRegistrations " class ="control ">
27
27
< input type ="text " class ="input " placeholder ="Filter items " [(ngModel)] ="appRegistrations.filter " [disabled] ="!appRegistrations || appRegistrations.items.length === 0 ">
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { Selectable } from '../../shared/model/selectable';
19
19
template :
20
20
`<button #theButton name="topLevel" type="button" (click)="onClick()"
21
21
class="btn btn-default"><span class="glyphicon glyphicon-trash"></span>
22
- {{label}}
22
+ <span class="hidden-xs"> {{label}}</span>
23
23
</button>`
24
24
} )
25
25
export class TriStateButtonComponent implements AfterViewInit , DoCheck {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export class ClickOutsideDirective {
14
14
15
15
/**
16
16
* Event emitter for sending events on when click is outside of element.
17
- * @type {EventEmitter<MouseEvent> }
17
+ * @type {EventEmitter<MouseEvent> }
18
18
*/
19
19
@Output ( )
20
20
public appClickOutside = new EventEmitter < MouseEvent > ( ) ;
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { KeyValuePipe } from './pipes/key-value-filter.pipe';
18
18
19
19
import { PropertyTableComponent } from './components/property-table/property-table.component' ;
20
20
import { ModalModule } from 'ngx-bootstrap' ;
21
- import { TabComponent , TabsComponent } from './components/tabs.component' ;
21
+ import { TabComponent , TabsComponent } from './components/tabs.component' ;
22
22
23
23
import { SharedAppsService } from '../shared/services/shared-apps.service' ;
24
24
Original file line number Diff line number Diff line change 7
7
< button type ="button " (click) ="expandPage() "
8
8
class ="btn btn-default ">
9
9
< span class ="glyphicon glyphicon-collapse-down "> </ span >
10
- Expand All
10
+ < span class =" hidden-xs " > Expand All</ span >
11
11
</ button >
12
12
< button type ="button " (click) ="collapsePage() "
13
13
class ="btn btn-default ">
14
14
< span class ="glyphicon glyphicon-expand "> </ span >
15
- Collapse All
15
+ < span class =" hidden-xs " > Collapse All</ span >
16
16
</ button >
17
17
</ td >
18
18
< td >
You can’t perform that action at this time.
0 commit comments