Skip to content
Snippets Groups Projects
Commit ca1b44c6 authored by AndiMajore's avatar AndiMajore
Browse files

small fixes with layouting

parent a2269017
No related branches found
No related tags found
No related merge requests found
...@@ -51,15 +51,11 @@ ...@@ -51,15 +51,11 @@
<div class="column content"> <div class="column content">
<h4 <h4
class="is-4 has-text-weight-bold" class="is-4 has-text-weight-bold"
*ngIf="
task.info.algorithm !== 'quick' &&
task.info.algorithm !== 'super'
"
> >
<span class="icon"> <span class="icon">
<i class="fas fa-wrench" aria-hidden="true"></i> <i class="fas fa-wrench" aria-hidden="true"></i>
</span> </span>
Algorithm: {{(['quick', 'super', 'connect', 'connectSelected'].indexOf(task.info.algorithm) === -1) ? 'Algorithm:' : 'Method:' }}
{{ algorithmNames[task.info.algorithm] }} {{ algorithmNames[task.info.algorithm] }}
</h4> </h4>
</div> </div>
...@@ -158,57 +154,69 @@ ...@@ -158,57 +154,69 @@
</table> </table>
</div> </div>
</div> </div>
<div <div class="columns m-1"
*ngIf=" *ngIf="['quick','super','connect','connectSelected'].indexOf(task.info.algorithm) > -1"
task.info.algorithm === 'quick' || task.info.algorithm === 'super'
"
> >
<p> <div class="column">
Algorithm: <strong>{{ algorithmNames["multisteiner"] }}</strong> <h4 class="is-4 has-text-weight-bold">
</p> <span class="icon">
<table class="table is-narrow"> <i class="fas fa-wrench" aria-hidden="true"></i>
<tbody> </span>
<tr> Algorithm:
<td>Number of Trees</td> {{ algorithmNames["multisteiner"] }}
<td>1</td> </h4>
</tr> <table class="table is-narrow">
<tr> <tbody>
<td>Tolerance</td> <tr>
<td>0</td> <td>Number of Trees</td>
</tr> <td>1</td>
<tr> </tr>
<td>Hub Penality</td> <tr>
<td>1</td> <td>Tolerance</td>
</tr> <td>0</td>
</tbody> </tr>
</table> <tr>
<p> <td>Hub Penality</td>
Algorithm: <strong>{{ algorithmNames["closeness"] }}</strong> <td>1</td>
</p> </tr>
<table class="table is-narrow"> </tbody>
<tbody> </table>
<tr> </div>
<td>Include indirect drugs</td> </div>
<td> <div class="columns m-1" *ngIf="['quick','super'].indexOf(task.info.algorithm) > -1">
<i class="fa fa-times"></i> <div class="column">
</td> <h4 class="is-4 has-text-weight-bold">
</tr> <span class="icon">
<tr> <i class="fas fa-wrench" aria-hidden="true"></i>
<td>Include non-approved drugs</td> </span>
<td> Algorithm:
<i class="fa fa-check"></i> {{ algorithmNames["closeness"] }}
</td> </h4>
</tr> <table class="table is-narrow">
<tr> <tbody>
<td>Hub Penality</td> <tr>
<td>1</td> <td>Include indirect drugs</td>
</tr> <td>
<tr> <i class="fa fa-times"></i>
<td>Result Size</td> </td>
<td>10</td> </tr>
</tr> <tr>
</tbody> <td>Include non-approved drugs</td>
</table> <td>
<i class="fa fa-check"></i>
</td>
</tr>
<tr>
<td>Hub Penality</td>
<td>1</td>
</tr>
<tr>
<td>Result Size</td>
<td>10</td>
</tr>
</tbody>
</table>
</div>
</div> </div>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment