Remove button to fix permalink in report
It is not supported to have a link inside a button in HTML, this patch drops that extra button and slightly adjusts the CSS to provide the correct hover color. Change-Id: Ife46b8bd8703baedc3c2ded64a52d39276350615
This commit is contained in:
parent
3fc2068314
commit
60ddbc8298
|
@ -135,6 +135,12 @@
|
|||
font-weight: bold;
|
||||
line-height: 1;
|
||||
}
|
||||
.link-report:hover,
|
||||
.link-report:focus,
|
||||
.link-modal:hover,
|
||||
.link-modal:focus {
|
||||
color: #00659c;
|
||||
}
|
||||
|
||||
.link:hover,
|
||||
.link:focus {
|
||||
|
|
|
@ -6,9 +6,7 @@
|
|||
{% set stats_count = playbook.stats | fast_count -%}
|
||||
<div class="list-group-item">
|
||||
<div class="list-view-pf-left">
|
||||
<button type="button" class="link link-report" aria-hidden="true">
|
||||
<a href="{{ url_for('reports.report', playbook_id=playbook.id) }}"><span class="fa fa-link" title="Permanent link to this playbook report"></span></a>
|
||||
</button>
|
||||
<a href="{{ url_for('reports.report', playbook_id=playbook.id) }}" class="link link-report"><span class="fa fa-link" title="Permanent link to this playbook report"></span></a>
|
||||
{{ macros.render_status(stats[playbook.id].status) }}
|
||||
</div>
|
||||
<!-- Begin playbook entry in the list -->
|
||||
|
@ -269,9 +267,7 @@
|
|||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
|
||||
<span class="pficon pficon-close"></span>
|
||||
</button>
|
||||
<button type="button" class="link link-modal" aria-hidden="true">
|
||||
<a data-href="{{ url_for('host.index') }}" target="_blank"><span class="fa fa-link" title="Permanent link to this host"></span></a>
|
||||
</button>
|
||||
<a data-href="{{ url_for('host.index') }}" class="link link-modal" target="_blank"><span class="fa fa-link" title="Permanent link to this host"></span></a>
|
||||
</div>
|
||||
<div class="modal-body embed-responsive embed-responsive-item">
|
||||
<div class="row text-center"><strong>Loading host facts...</strong></div>
|
||||
|
@ -288,9 +284,7 @@
|
|||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
|
||||
<span class="pficon pficon-close"></span>
|
||||
</button>
|
||||
<button type="button" class="link link-modal" aria-hidden="true">
|
||||
<a data-href="{{ url_for('file.index') }}" target="_blank"><span class="fa fa-link" title="Permanent link to this file"></span></a>
|
||||
</button>
|
||||
<a data-href="{{ url_for('file.index') }}" class="link link-modal" target="_blank"><span class="fa fa-link" title="Permanent link to this file"></span></a>
|
||||
</div>
|
||||
<div class="modal-body embed-responsive embed-responsive-item">
|
||||
<div class="row text-center"><strong>Loading file content...</strong></div>
|
||||
|
@ -307,9 +301,7 @@
|
|||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
|
||||
<span class="pficon pficon-close"></span>
|
||||
</button>
|
||||
<button type="button" class="link link-modal" aria-hidden="true">
|
||||
<a data-href="{{ url_for('result.index') }}" target="_blank"><span class="fa fa-link" title="Permanent link to this task result"></span></a>
|
||||
</button>
|
||||
<a data-href="{{ url_for('result.index') }}" class="link link-modal" target="_blank"><span class="fa fa-link" title="Permanent link to this task result"></span></a>
|
||||
</div>
|
||||
<div class="modal-body embed-responsive embed-responsive-item">
|
||||
<div class="row text-center"><strong>Loading task details...</strong></div>
|
||||
|
|
Loading…
Reference in New Issue