ntopng/httpdocs/templates/pages/inactive_hosts.template
2023-06-05 15:01:20 +00:00

49 lines
980 B
Text

{#
(C) 2023 - ntop.org
This template is used by the `Live Flows` page inside the `Host Details`.
#}
<div id="inactive-hosts">
<page-inactive-hosts
:ifid="ifid"
:csrf="csrf">
</page-inactive-hosts>
</div>
<script type="text/javascript">
const ifid = {* ifid *}
const csrf = "{* csrf *}"
function start_vue() {
let vue_options = {
components: {
'page-inactive-hosts': ntopVue.PageInactiveHosts,
},
/**
* First method called when the component is created.
*/
created() { },
mounted() {
},
data() {
return {
ifid: ifid,
csrf: csrf
};
},
methods: { },
};
const _vue = ntopVue.Vue.createApp(vue_options);
const vue_app = _vue.mount('#inactive-hosts');
return vue_app;
}
/* ******************************************************* */
$(function () {
// initialize script table
start_vue();
});
</script>