1getConnectionsHTML(); 2 3var funcoes_connections = { 4 rebootDevice(id_device) { 5 var hs_web = new HotsiteWeb(); 6 if (id_device) { 7 hs_web.rebootDevice(id_device); 8 } 9 10 if (!id_device) { 11 hs_web.criarToast(3000, 'Erro', 'Por favor, selecione um dispositivo!', 'error_outline', 'red', 'id_erro'); 12 } 13 }, 14 15 initModalConnections(device){ 16 var hs_web = new HotsiteWeb(); 17 hs_web.initModalConnections(device); 18 } 19}; 20 21function getConnectionsHTML() { 22 try { 23 $.ajax({ 24 url: __SERVER__ + "/view/connections/connections.vue", 25 type: "GET", 26 data: "", 27 dataType: 'html' 28 }).done(function (resposta) { 29 __ROTAS__.push({ 30 path: '/central_assinante_web/connections', 31 name: 'connections', 32 component: { 33 template: resposta, 34 data() { 35 return { 36 loading: false, 37 selected_device: false, 38 connections: { 39 devices: false 40 } 41 } 42 }, 43 methods: funcoes_connections 44 } 45 }); 46 PAGE_CONNECTIONS = true 47 verificaPages(); 48 }) 49 } catch (e) { 50 console.log("Error Message -> " + e); 51 } 52}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.