... | in macro_viewer.naml |
527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583
|
<macro name="important_notices">
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: NabbleNamespace
♦ ♦
<then>
<div class="weak-color info-message rounded" style="margin:.3em 0;padding:.3em .2em">
<table style="width:100%;table-layout:fixed">
<tr style="vertical-align:top">
<td style="width:32px"><img src="/images/icon_alert.png" style="width:32px;height:32px"/></td>
<td>
<b>Error Found</b><br/>
An error was found in the NAML code of this application –
<span class="view-exception-details">
<a href="#" onclick="showExceptionDetails(true)">View Details</a>
</span>
<span class="hide-exception-details invisible">
<a href="#" onclick="showExceptionDetails(false)">Hide Details</a>
</span>
| <n.advanced_editor_link Macro Parameters:
text, title, class
♦ ♦
<n.put_in_head Binary Namespace: HtmlNamespace
Parameters:
in_head
♦ ♦
<style type="text/css">
div.stacktrace {
width:100%;
overflow:auto;
white-space:nowrap;
display:none;
margin-top:.5em;
font-size:80%;
}
</style>
<script type="text/javascript">
function showExceptionDetails(show) {
if (show) {
$('div.stacktrace').slideDown(function() { $(this).show() });
$('span.view-exception-details').hide();
$('span.hide-exception-details').show();
} else {
$('div.stacktrace').hide();
$('span.view-exception-details').show();
$('span.hide-exception-details').hide();
}
};
</script>
</n.put_in_head.>
<div class="stacktrace">
<n.regex_replace_all Binary Namespace: BasicNamespace
Parameters:
pattern, text, replacement
♦ ♦
<n.regex_replace_all Binary Namespace: BasicNamespace
Parameters:
pattern, text, replacement
♦ ♦
<n.use_html_encoder Binary Namespace: BasicNamespace
Parameters:
text
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
text
♦ ♦ Binary Namespace: NabbleNamespace
♦ ♦
</n.regex_replace_all.>
</n.regex_replace_all.>
</div>
</td>
</tr>
</table>
</div>
</then>
</n.if.has_tweak_exception>
</macro>
|
Free forum by Nabble | Edit this page |