avoid CSS vulnerability in Job Queue page
This commit is contained in:
@@ -103,8 +103,9 @@ div.content > div.tab-content table.nd_floatinghead thead {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.qtip-content {
|
.qtip-content {
|
||||||
padding-bottom: 0px;
|
font-size: 15px;
|
||||||
line-height: 8px;
|
font-family: monospace;
|
||||||
|
white-space: pre;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* for where min-width is set but we don't want it */
|
/* for where min-width is set but we don't want it */
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
[% ' class="nd_jobqueueitem success"' IF row.status == 'done' %]
|
[% ' class="nd_jobqueueitem success"' IF row.status == 'done' %]
|
||||||
[% ' class="nd_jobqueueitem error"' IF row.status == 'error' %]
|
[% ' class="nd_jobqueueitem error"' IF row.status == 'error' %]
|
||||||
[% ' class="nd_jobqueueitem info"' IF row.status.search('^queued-') %]
|
[% ' class="nd_jobqueueitem info"' IF row.status.search('^queued-') %]
|
||||||
data-content="<pre>[% row.log | html_entity %]</pre>"
|
data-content="[% row.log | html_entity %]"
|
||||||
>
|
>
|
||||||
<td class="nd_center-cell">[% row.entered_stamp | html_entity %]</td>
|
<td class="nd_center-cell">[% row.entered_stamp | html_entity %]</td>
|
||||||
<td class="nd_center-cell">
|
<td class="nd_center-cell">
|
||||||
|
|||||||
@@ -184,7 +184,7 @@
|
|||||||
$(this).qtip({
|
$(this).qtip({
|
||||||
overwrite: false,
|
overwrite: false,
|
||||||
content: {
|
content: {
|
||||||
attr: 'data-content'
|
text: $('<span/>').text( $(this).attr("data-content") ).html()
|
||||||
},
|
},
|
||||||
show: {
|
show: {
|
||||||
event: event.type,
|
event: event.type,
|
||||||
|
|||||||
Reference in New Issue
Block a user