23 lines
550 B
Plaintext
23 lines
550 B
Plaintext
<%= render_filter @filter_fields, "index_table" %>
|
|
<span id="index_table">
|
|
<%= render 'index'%>
|
|
</span>
|
|
<style type="text/css">
|
|
#logModal{
|
|
width: 80%;
|
|
margin-left: -40%;
|
|
}
|
|
#logModal .modal-body{
|
|
max-height: 600px;
|
|
}
|
|
</style>
|
|
<%= render "log_modal" %>
|
|
<script type="text/javascript">
|
|
var clicked_button = null;
|
|
$(".view_log_btn").on("click",function(){
|
|
clicked_button = $(this);
|
|
})
|
|
$("#logModal").on("shown",function(){
|
|
$("#domain_title").html(clicked_button.parent().parent().find("td.domain_title_block").html());
|
|
})
|
|
</script> |