<!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
	<title>Tablas de flujo</title>
	<link rel="stylesheet" type="text/css" href="styles\style.css?v2">
	<link rel="stylesheet" type="text/css" href="styles\table.css?v2">
	<link rel="stylesheet" type="text/css" href="styles\frames.css?v1">
	<link rel="stylesheet" type="text/css" href="styles\tabs.css?v1">
	<link rel="stylesheet" type="text/css" href="styles\menu.css?v2">
	<script src="js\topology\jquery-3.3.1.min.js"></script>
	<title></title>
	<link rel="stylesheet" type="text/css" href="/styles/main.css" />
	<%include ../../partials/head%>
</head>
<body>
	<header>
		<%include ../../partials/header%>
	</header>
<div class="container_16">
	<!-- <div id="header" class="grid_16"> -->
		<h1>Flow Tables</h1>
		<button type="button" name="refresh" class="refresh">Refresh</button>
		<button type="button" class="refresh" onclick="resetflows()">Reset Flows</button>

		<!--button type="button" name="refresh" class="reficon"><i class="fa fa-refresh"></i></button-->
	<!-- </div> -->
	<!-- <div id="menu" class="grid_2"></div> -->
	<div id="main" class="grid_14"></div>
	<div id="snackbar"></div>
</div>
<!-- <script src="js\mainmenu.js"></script> -->
<script src="js\topology\common.js?v2"></script>
<script src="js\topology\flowtables.js?v2"></script>
<script>
      function resetflows() {

exit
exit
exit

        let xhr = new XMLHttpRequest();
        xhr.open('GET', '/resetflows', true);
        xhr.onload = function() {
          if (xhr.status == 200) { 
            displayMessage("Flows changed by default")
          }
        }
        xhr.send();

      }

</script>
</body>
<footer>
  <%include ../../partials/footer%>
</footer>
</html>
