coop channel filter fix and green theme color change

coop channel filter fix and green theme color change
pull/98/head
ShahanaFarooqui 5 years ago
parent cf0f44081c
commit 0b6b5f29fe

@ -5,8 +5,8 @@
<title>RTL</title>
<base href="/rtl/"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="assets/images/favicon.ico">
<link rel="stylesheet" href="styles.8bf9397ffece6bb5abc5.css"></head>
<link rel="stylesheet" href="styles.3f4899cd9b6c41fec372.css"></head>
<body>
<rtl-app></rtl-app>
<script type="text/javascript" src="runtime.26209474bfa8dc87a77c.js"></script><script type="text/javascript" src="polyfills.181b5a67c421a167a96a.js"></script><script type="text/javascript" src="main.a4aee0ceb886a33a99b8.js"></script></body>
<script type="text/javascript" src="runtime.26209474bfa8dc87a77c.js"></script><script type="text/javascript" src="polyfills.181b5a67c421a167a96a.js"></script><script type="text/javascript" src="main.2ede9b83df883fd8bb29.js"></script></body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -56,7 +56,7 @@ exports.getChannels = (req, res, next) => {
}
if (req.params.channelType === 'closed') {
body.channels.forEach(channel => {
channel.close_type = (undefined === channel.close_type) ? '' : channel.close_type;
channel.close_type = (undefined === channel.close_type) ? 'COOPERATIVE_CLOSE' : channel.close_type;
});
body.channels = common.sortDescByKey(body.channels, 'close_type');
}

@ -17,7 +17,7 @@
<table mat-table #table [dataSource]="closedChannels" matSort [ngClass]="{'mat-elevation-z8 overflow-auto error-border': flgLoading[0]==='error','mat-elevation-z8 overflow-auto': true}">
<ng-container matColumnDef="close_type">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Close Type </th>
<td mat-cell *matCellDef="let channel"> {{channel.close_type || 'COOPERATIVE_CLOSE'}} </td>
<td mat-cell *matCellDef="let channel"> {{channel.close_type}} </td>
</ng-container>
<ng-container matColumnDef="channel_point">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Channel Point </th>

@ -47,7 +47,7 @@
<div fxLayout="row" fxLayoutAlign="start start" class="p-0">
<div class="skin light-blue m-1px" (click)="changeTheme('light-blue')"></div>
<div class="skin light-teal m-1px" (click)="changeTheme('light-teal')"></div>
<div class="skin light-red m-1px" (click)="changeTheme('light-red')"></div>
<div class="skin light-blue-gray m-1px" (click)="changeTheme('light-blue-gray')"></div>
</div>
<!-- <div fxLayout="row" fxLayoutAlign="start start" class="p-0">
<div class="skin bluegray-amber m-1px" (click)="changeTheme('bluegray-amber')"></div>

@ -1,4 +1,4 @@
$green-dark-primary: mat-palette($mat-green, 700, 600, 900);
$green-dark-primary: mat-palette($mat-teal, 800, 300, 900);
$green-dark-accent: mat-palette($mat-amber, A100, 900, A700);
$green-dark-warn: mat-palette($mat-red, A200);

@ -43,8 +43,8 @@ $custom-light-theme-foreground: (
);
}
$red-light-primary: mat-palette($mat-red, 800, 300, 900);
$red-light-accent: mat-palette($mat-green, 600, 300, 900);
$red-light-warn: mat-palette($mat-deep-orange, A400);
$blue-gray-light-primary: mat-palette($mat-blue-gray, 800, 200, 900);
$blue-gray-light-accent: mat-palette($mat-green, 600, 300, 900);
$blue-gray-light-warn: mat-palette($mat-deep-orange, A400);
$red-light-theme: create-custom-theme($red-light-primary, $red-light-accent, $red-light-warn);
$blue-gray-light-theme: create-custom-theme($blue-gray-light-primary, $blue-gray-light-accent, $blue-gray-light-warn);

@ -470,11 +470,11 @@ html, body {
border-top-color: #009688;
border-bottom-color: #009688;
}
&.light-red{
&.light-blue-gray{
border-left-color: #ffffff;
border-right-color: #ffffff;
border-top-color: #F44336;
border-bottom-color: #F44336;
border-top-color: #37474F;
border-bottom-color: #37474F;
}
&.dark-blue{
border-left-color: #262626;
@ -485,8 +485,8 @@ html, body {
&.dark-green{
border-left-color: #262626;
border-right-color: #262626;
border-top-color: #388E3C;
border-bottom-color: #388E3C;
border-top-color: #009688;
border-bottom-color: #009688;
}
&.dark-pink{
border-left-color: #262626;

@ -13,10 +13,10 @@
@include angular-material-theme($teal-light-theme);
@include change-theme($teal-light-theme);
}
&.light-red{
@import "../skins/light-red";
@include angular-material-theme($red-light-theme);
@include change-theme($red-light-theme);
&.light-blue-gray{
@import "../skins/light-bluegray";
@include angular-material-theme($blue-gray-light-theme);
@include change-theme($blue-gray-light-theme);
}
&.dark-blue{
@import "../skins/dark-blue";

Loading…
Cancel
Save