Skip to content

Commit 4e2bd26

Browse files
author
mschild
committed
polishing frontend
1 parent c95c859 commit 4e2bd26

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

src/app/app.component.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
/* Set height of the grid so .sidenav can be 100% (adjust if needed) */
22
.row.content {
3-
height: 1500px
3+
height: 1500px;
44
}
55

66
/* Set gray background color and 100% height */
77
.sidenav {
88
background-color: #f1f1f1;
99
height: 100%;
1010
padding-left: 5%;
11+
padding-top: 1%;
1112
}
1213

1314
/* Set black background color, white text and some padding */
@@ -22,7 +23,6 @@ footer {
2223
.sidenav {
2324
height: auto;
2425
padding: 15px;
25-
padding-top: 1%;
2626
}
2727
.row.content {
2828
height: auto;
@@ -62,6 +62,7 @@ footer {
6262

6363
.white {
6464
background-color: white;
65+
padding-left: 1%;
6566

6667
}
6768

src/app/app.component.html

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
</div>
88
<div id="controlId" tabindex="1" [appFocusRework]="focusMainArea"
99
(keypress)="keyControl($event)"
10-
*ngIf="anonymizationHanlderService.displayableText" class="col-sm-10 sidenav">
11-
{{fileName}}
10+
*ngIf="anonymizationHanlderService.displayableText"
11+
class="col-sm-10 sidenav">
12+
<button type="button" class="btn btn-secondary">{{fileName}}</button>
1213
<div class="panel panel-default">
13-
<div class="panel-body white fixed-panel" (mouseup)="getSelectionText()">
14+
<div class="panel-body white fixed-panel"
15+
(mouseup)="getSelectionText()">
1416
<!-- *ngFor="let page of anonymizationHanlderService.displayableText"-->
1517
<div
1618
[innerHtml]="anonymizationHanlderService.displayableText | highlightAnonymization:anonymizationHanlderService.getAnonymizations():trigger"></div>
@@ -48,29 +50,31 @@ <h4>Steuerung:</h4>
4850
class="btn btn-sq-lg btn-default btn-lg">a</button></td>
4951
<td>
5052
<h4>
51-
: <b>a</b>ccept
53+
:&nbsp;<b>a</b>ccept
5254
</h4>
5355
</td>
5456
</tr>
5557
<tr>
5658
<td><button type="button"
5759
class="btn btn-sq-lg btn-default btn-lg">d</button></td>
58-
<td><h4>
59-
: <b>d</b>ecline
60-
</h4></td>
60+
<td>
61+
<h4>
62+
:&nbsp;<b>d</b>ecline
63+
</h4>
64+
</td>
6165
</tr>
6266
<tr>
6367
<td><button type="button"
6468
class="btn btn-sq-lg btn-default btn-lg">w</button></td>
6569
<td><h4>
66-
: re<b>w</b>ork
70+
:&nbsp;re<b>w</b>ork
6771
</h4></td>
6872
</tr>
6973
<tr>
7074
<td><button type="button"
7175
class="btn btn-sq-lg btn-default btn-lg">s</button></td>
7276
<td><h4>
73-
: <b>s</b>ave
77+
:&nbsp;<b>s</b>ave
7478
</h4></td>
7579
</tr>
7680
</table>

0 commit comments

Comments
 (0)