forked from gchq/gaffer-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from n288TJYRX/backstop2
Merging latest UI
- Loading branch information
Showing
4 changed files
with
42 additions
and
28 deletions.
There are no files selected for viewing
26 changes: 4 additions & 22 deletions
26
newui/src/main/webapp/app/analytic/analytic.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,8 @@ | ||
<script> | ||
// Trying to make all of the background colors different | ||
function setBackgroundColor() { | ||
id = model.name; | ||
var elem = document.getElementById(id); | ||
elem.style.backgroundColor = model.backgroundColor; | ||
} | ||
window.onload = setBackgroundColor; | ||
|
||
</script> | ||
|
||
<!-- style="background-color:red" --> | ||
<!-- <style background-color="{{model.color}}"></style> --> | ||
<mat-card id="{{model.operationName}}" (click)="execute(model)" class="grid-button" md-ink-ripple | ||
matTooltip="{{model.description}}"> | ||
matTooltip="{{model.description}}" [style.background]="model.color"> | ||
<div fxLayout="column"> | ||
<h2>{{model.operationName}}</h2> | ||
<!-- <mat-icon>{{model.header.iconURL}}</mat-icon> --> | ||
<i class="material-icons">{{model.metaData.iconURL}}</i> | ||
<!-- <div fxLayout="row" fxLayoutAlign="start end"> | ||
<p class="tooltip">Description | ||
<span class="tooltiptext">{{model.description}}</span> | ||
<span class="tooltiptext">{{model.operation.description}}</span> | ||
</p> | ||
</div> --> | ||
<h2> {{model.operationName}}</h2> | ||
<i class=" material-icons"> {{model.metaData.iconURL}}</i> | ||
</div> | ||
</mat-card> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters