mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-27 16:28:50 +00:00
Fix mat-table style and project readme edit
This commit is contained in:
parent
6ccddac32c
commit
84a145a701
@ -1,8 +1,22 @@
|
||||
<div class="content" [ngClass]="{ shadowed: isSymbolSelectionOpened }">
|
||||
<div class="default-header">
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
<button
|
||||
*ngIf="controller"
|
||||
class="top-button"
|
||||
class="cancel-button"
|
||||
(click)="goBack()"
|
||||
mat-button
|
||||
>
|
||||
<mat-icon>arrow_back</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
<h1 class="col">Cloud node template configuration</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="default-content" *ngIf="cloudNodeTemplate">
|
||||
<mat-accordion>
|
||||
<mat-expansion-panel>
|
||||
@ -111,7 +125,7 @@
|
||||
UDP tunnels
|
||||
</mat-panel-title>
|
||||
</mat-expansion-panel-header>
|
||||
<table *ngIf="dataSourceUdp.length" class="table" mat-table [dataSource]="dataSourceUdp">
|
||||
<table *ngIf="dataSourceUdp.length" mat-table [dataSource]="dataSourceUdp">
|
||||
<ng-container matColumnDef="name">
|
||||
<th mat-header-cell *matHeaderCellDef> Name </th>
|
||||
<td mat-cell *matCellDef="let element"> {{element.name}} </td>
|
||||
|
@ -11,7 +11,7 @@ import { ToasterService } from '../../../../../services/toaster.service';
|
||||
@Component({
|
||||
selector: 'app-cloud-nodes-template-details',
|
||||
templateUrl: './cloud-nodes-template-details.component.html',
|
||||
styleUrls: ['./cloud-nodes-template-details.component.scss', '../../../preferences.component.scss'],
|
||||
styleUrls: ['../../../preferences.component.scss'],
|
||||
})
|
||||
export class CloudNodesTemplateDetailsComponent implements OnInit {
|
||||
controller:Controller ;
|
||||
|
@ -7,8 +7,7 @@
|
||||
class="top-button"
|
||||
class="cancel-button col"
|
||||
(click)="goBack()"
|
||||
mat-button
|
||||
>
|
||||
mat-button>
|
||||
<mat-icon>arrow_back</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<table class="table" mat-table [dataSource]="adapters">
|
||||
<table mat-table [dataSource]="adapters">
|
||||
<ng-container matColumnDef="adapter_number">
|
||||
<th mat-header-cell *matHeaderCellDef>Adapter number</th>
|
||||
<td mat-cell *matCellDef="let element">Adapter {{ element.adapter_number }}</td>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<table class="table" mat-table [dataSource]="ethernetPorts">
|
||||
<table mat-table [dataSource]="ethernetPorts">
|
||||
<ng-container matColumnDef="port_number">
|
||||
<th mat-header-cell *matHeaderCellDef>Port number</th>
|
||||
<td mat-cell *matCellDef="let element">{{ element.port_number }}</td>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<table *ngIf="dataSourceUdp.length" class="table" mat-table [dataSource]="dataSourceUdp">
|
||||
<table *ngIf="dataSourceUdp.length" mat-table [dataSource]="dataSourceUdp">
|
||||
<ng-container matColumnDef="name">
|
||||
<th mat-header-cell *matHeaderCellDef>Name</th>
|
||||
<td mat-cell *matCellDef="let element">{{ element.name }}</td>
|
||||
|
@ -1,9 +1,22 @@
|
||||
<div class="content" [ngClass]="{ shadowed: isSymbolSelectionOpened }">
|
||||
<div class="default-header">
|
||||
<div class="row">
|
||||
<div class="col-md-1">
|
||||
<button
|
||||
*ngIf="controller"
|
||||
class="top-button"
|
||||
class="cancel-button"
|
||||
(click)="goBack()"
|
||||
mat-button
|
||||
>
|
||||
<mat-icon>arrow_back</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-md-11">
|
||||
<h1 class="col">IOS router template configuration</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="default-content" *ngIf="iosTemplate">
|
||||
<mat-accordion>
|
||||
<mat-expansion-panel>
|
||||
|
@ -1,3 +1,7 @@
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.listcontainer {
|
||||
padding-left: 0px !important;
|
||||
padding-right: 0px !important;
|
||||
|
@ -4,7 +4,7 @@
|
||||
<div class="content">
|
||||
<div class="default-content">
|
||||
<mat-card>
|
||||
<table *ngIf="nodeMappingsDataSource.length" class="table" mat-table [dataSource]="nodeMappingsDataSource">
|
||||
<table *ngIf="nodeMappingsDataSource.length" mat-table [dataSource]="nodeMappingsDataSource">
|
||||
<ng-container matColumnDef="portIn">
|
||||
<th mat-header-cell *matHeaderCellDef>Port : VPI : VCI</th>
|
||||
<td mat-cell *matCellDef="let element">{{ element.portIn }}</td>
|
||||
|
@ -1,3 +1,7 @@
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.form-field {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
<div class="content">
|
||||
<div class="default-content">
|
||||
<mat-card>
|
||||
<table *ngIf="nodeMappingsDataSource.length" class="table" mat-table [dataSource]="nodeMappingsDataSource">
|
||||
<table *ngIf="nodeMappingsDataSource.length" mat-table [dataSource]="nodeMappingsDataSource">
|
||||
<ng-container matColumnDef="portIn">
|
||||
<th mat-header-cell *matHeaderCellDef>Port : DLCI</th>
|
||||
<td mat-cell *matCellDef="let element">{{ element.portIn }}</td>
|
||||
|
@ -3,7 +3,7 @@ import { MatDialogRef } from '@angular/material/dialog';
|
||||
import { Controller } from '../../../models/controller';
|
||||
import { Project } from '../../../models/project';
|
||||
import { ProjectService } from '../../../services/project.service';
|
||||
import * as marked from 'marked';
|
||||
import { marked } from 'marked';
|
||||
import { ElementRef } from '@angular/core';
|
||||
import { Renderer2 } from '@angular/core';
|
||||
import { ViewChild } from '@angular/core';
|
||||
|
@ -57,7 +57,7 @@
|
||||
</mat-form-field>
|
||||
</form>
|
||||
<button class="form-field" mat-button (click)="addVariable()" mat-raised-button color="primary">Add variable</button>
|
||||
<table class="table" mat-table [dataSource]="variables">
|
||||
<table mat-table [dataSource]="variables">
|
||||
<ng-container matColumnDef="name">
|
||||
<th mat-header-cell *matHeaderCellDef>Name</th>
|
||||
<td mat-cell *matCellDef="let element">{{element.name}} </td>
|
||||
|
@ -1,3 +1,7 @@
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.form-field {
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -4,8 +4,6 @@
|
||||
}
|
||||
|
||||
.editorWrapper {
|
||||
background-color: white;
|
||||
color: black;
|
||||
height: 500px!important;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Component, OnInit, ViewEncapsulation, Input } from '@angular/core';
|
||||
import * as marked from 'marked';
|
||||
import { marked } from 'marked';
|
||||
import { ProjectService } from '../../../../services/project.service';
|
||||
import { Controller } from '../../../../models/controller';
|
||||
import { Project } from '../../../../models/project';
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { Directive, ElementRef, OnInit, Renderer2, Input, OnChanges } from '@angular/core';
|
||||
import * as marked from 'marked';
|
||||
import { marked } from 'marked';
|
||||
|
||||
@Directive({
|
||||
selector: '[appMarked]'
|
||||
|
Loading…
Reference in New Issue
Block a user