<commit_before>{% extends 'base.html' %}
{% load staticfiles %}
{% load i18n %}

{% block title %} {% trans 'Articles' %} {% endblock %}

{% block head %}
  <link href="{% static 'css/articles.css' %}" rel="stylesheet">
{% endblock head %}

{% block main %}


    <style>

div#spinner
{
    display: none;
    width:100px;
    height: 100px;
    position: fixed;
    top: 50%;
    left: 50%;
    background:url(/static/loading.gif) no-repeat center #fff;
    text-align:center;
    padding:10px;
    font:normal 16px Tahoma, Geneva, sans-serif;
    border:1px solid #666;
    margin-left: -50px;
    margin-top: -50px;
    z-index:2;
    overflow: auto;
}



table.hovertable {
	font-family: verdana,arial,sans-serif;
	font-size:11px;
	color:#333333;
	border-width: 1px;
	border-color: #999999;
	border-collapse: collapse;
}
table.hovertable th {
	background-color:#c3dde0;
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #a9c6c9;
}
table.hovertable tr {
	background-color:#d4e3e5;
}
table.hovertable td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #a9c6c9;
}

html, body {
  width: 100%;
  height: 100%;
}
 table {
  width: 50%;
  height: 50%;
  word-wrap:break-word;
}
.theCell{
    display:table-cell;
    padding: 0px 2px; /* just some padding, if needed*/
    white-space: pre; /* this will avoid line breaks*/
}

.button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 24px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: red;
  background-color: #4CAF50;
  border: none;
  border-radius: 25px;
  box-shadow: 0 9px #999;
}

.button:hover {background-color: #3e8e41}

.button:active {
  background-color: red;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

.delete {
    background: url(http://cssdeck.com/uploads/media/items/5/5Fm069k.png)  10px -61px no-repeat #f3f3f3;
    padding-left: 30px;
}

.center-all {
  padding: 50%;
  margin: -8px;
  width: 16px;
  height: 16px;
}

</style>



<script>

    $(document).ready(function() {

        $('#mytable').on('click', '.removeButton', function(events){
                    var ICID = $(this).closest('tr').find('td').eq(0).html();
                    var city = $(this).closest('tr').find('td').eq(1).html();
                    var identity=$(this).closest('tr').find('td').eq(4).html();
                    var tr=$(this).closest('tr');
                    if(identity == "NS")
                       {
                            var baseurl=$('#baseurl').val();
                                $.ajax({
                                          type: "POST",
                                         url: baseurl+"/cmapp/delONSRecord/0/",
				          data: { nodeName : ICID, city : city }, // post values
                                          success:function(result){
                                                        tr.remove();
                                            },
			                  error:function(xhr, status, error) {
                                                    alert(xhr.status);
                                                    alert(status);
                                           }
                                      });
                      }
                    else
                      {
                    var baseurl=$('#baseurl').val();
                           $.ajax({
                                     type: "POST",
                                     url: baseurl+"/cmapp/delCCSRecord/0/",
                                     data: { icd : ICID }, // post values
                                     success:function(result){
                                                  tr.remove();
                                      },
		                    error:function(xhr, status, error) {

                                           alert(xhr.status);
                                           alert(status);
                                     }

                                  });

                        }
            });


        $('.testAllButton').on('click', function(events){
                var data = "";
               $("table tr").each(function(i, v){
		      $(this).children('td').each(function(ii, vv){
                                 data+= $(this).text()+",";
                         });
	                data+="*";
                 });

	        ajaxindicatorstart('Processing data.. please wait..');
                $.ajax({
                    var baseurl=$('#baseurl').val();
                            type: "POST",
                            url: baseurl+"/cmapp/allRowPingTest/0/",
                            data: { value : data }, // post values
                            success:function(result){
			              ajaxindicatorstop();
				       $('#AllResult').text(result.value);

                             },
		             error:function(xhr, status, error) {
                                    ajaxindicatorstop();
                                     alert(xhr.status);
                                     alert(status);
                            }
                  });

       });


       $('#mytable').on('click', '.delete', function(events){

                var tr=$(this).closest('tr');
                tr.remove();

        });

       $('#mytable').on('click', '.testButton', function(events){

             var pTag=$(this).closest('tr').find('td').eq(0).html();
             var cAEnd = $(this).closest('tr').find('td').eq(4).html();
             var cAEndInt = $(this).closest('tr').find('td').eq(5).html();
             var cAEndIP=$(this).closest('tr').find('td').eq(6).html();
             var cZEnd = $(this).closest('tr').find('td').eq(7).html();
             var cZEndInt = $(this).closest('tr').find('td').eq(8).html();
             var cZEndIP=$(this).closest('tr').find('td').eq(9).html();
             var tr=$(this).closest('tr');
	     ajaxindicatorstart('Processing data.. please wait..');
             $.ajax({
                    var baseurl=$('#baseurl').val();
                      type: "POST",
                      url: baseurl+"/cmapp/rowPingTest/0/",
                      data: { pTag : pTag, ca : cAEnd, cai : cAEndInt, caa:cAEndIP, cz:cZEnd, czi:cZEndInt, cza:cZEndIP}, // post values
                      success:function(result){
		                   ajaxindicatorstop();
				   str="<tr><td colspan=\"14\" bgcolor=\"white\">"+result.value+"  <button class=\"delete\">Remove</button></td></tr>";
				   tr.after(str);

                        },
		     error:function(xhr, status, error) {
                                  ajaxindicatorstop();
                                  alert(xhr.status);
                                  alert(status);
                      }
              });


      });



});
  function ajaxindicatorstop()

{

    jQuery('#resultLoading .bg').height('100%');

    jQuery('#resultLoading').fadeOut(300);

    jQuery('body').css('cursor', 'default');

}

function ajaxindicatorstart(text)
{
    if(jQuery('body').find('#resultLoading').attr('id') != 'resultLoading'){
  jQuery('body').append('<div id="resultLoading" style="display:none"><div><img src=""><div>'+text+'</div></div><div class="bg"></div></div>');

  }

  jQuery('#resultLoading').css({

      'width':'100%',

      'height':'100%',

      'position':'fixed',

      'z-index':'10000000',

      'top':'0',

      'left':'0',

      'right':'0',

      'bottom':'0',

      'margin':'auto'

  });



  jQuery('#resultLoading .bg').css({

      'background':'#000000',

      'opacity':'0.7',

      'width':'100%',

      'height':'100%',

      'position':'absolute',

      'top':'0'

  });



  jQuery('#resultLoading>div:first').css({

      'width': '250px',

      'height':'75px',

      'text-align': 'center',

      'position': 'fixed',

      'top':'0',

      'left':'0',

      'right':'0',

      'bottom':'0',

      'margin':'auto',

      'font-size':'16px',

      'z-index':'10',

      'color':'#ffffff'

  });

  jQuery('#resultLoading .bg').height('100%');

  jQuery('#resultLoading').fadeIn(300);

  jQuery('body').css('cursor', 'wait');

}

  function displayDetails(tableName) {

                     if(tableName == "CS")
                       {

            var baseurl=$('#baseurl').val();
		          $.ajax({
                                          type: "POST",
                                          url: baseurl+"/cmapp/coreCircuitDetails/0/",
					  crossDomain : true,
                                          crossOrigin : true,
                                          processData : false,
                                         xhrFields: {
                                         //withCredentials: false
                                           },

                                          success:function(result) {
					      if(result.check == "False")
					      {
					         $('#No').text("No Data Found");
					      }
					      else {
					                   $('#mytable').empty();
						           var array=result.value;
							   var head="yes";
							   var htmlTags="";

							    $.each(array,function(index,listvalue) {
							            htmlTags+=" <tr onmouseover\this.style.backgroundColor=\'#ffff66\';\" onmouseout=\"this.style.backgroundColor=\'#d4e3e5\';\">";
							           if(head == "yes") {
								                $.each(listvalue,function(index,value) {
							                             htmlTags+="<th style=\"overflow: hidden;\" class=\"theCell\">"+value+"</th>";

							                        });
									        htmlTags+="<th style=\"overflow: hidden;\" class=\"theCell\">Operation </th>";

								    } else {

                                                                                 $.each(listvalue,function(index,value) {

							                             htmlTags+="<td style=\"overflow: hidden;\" class=\"theCell\">"+value+"</td>";

							                           });
										    htmlTags+="<td><button type=\"submit\" class=\"btn testButton\">Test</button></td>";


								      }
								      htmlTags+="</tr>";
								      head="no";

							 });

						   $("#mytable").append(htmlTags);
						   $('#TestAll').show();


					      }

                                            } ,
		                       error:function(xhr, status, error) {
		                                    alert(xhr.status);
                                                    alert(status);
                                           }


                                      });

                      }
		      else if(tableName == "CSS")
		      {
                    var baseurl=$('#baseurl').val();
                            $.ajax({
                                          type: "POST",
                                          url: baseurl+"/cmapp/coreCircuitStates/0/",

                                          success:function(result){

                                                    if(result.check == "False")
					             {
					                 $('#No').text("No Data Found");
					              }
					              else {

						           $('#mytable').empty();
						           var array=result.value;
							   var head="yes";
							   var htmlTags="";
							    $.each(array,function(index,listvalue) {
							            htmlTags+=" <tr onmouseover\this.style.backgroundColor=\'#ffff66\';\" onmouseout=\"this.style.backgroundColor=\'#d4e3e5\';\">";
							           if(head == "yes") {
								                $.each(listvalue,function(index,value) {
							                             htmlTags+="<th style=\"overflow: hidden;\" class=\"theCell\">"+value+"</th>";

							                        });
									        htmlTags+="<th style=\"overflow: hidden;\" class=\"theCell\">Operation </th>";

								    } else {

                                                                                 $.each(listvalue,function(index,value) {

							                             htmlTags+="<td style=\"overflow: hidden;\" class=\"theCell\">"+value+"</td>";

							                           });
								                    htmlTags+="<td style=\"display:none;\">CS</td>"
                                                                                    htmlTags+="<td><button type=\"submit\" class=\"btn removeButton delete\">Remove</button></td>";

								      }
								      htmlTags+="</tr>";
								      head="no";

							 });

							 $("#mytable").append(htmlTags);
							 $('#TestAll').hide();


					             }
                                            },
			                  error:function(xhr, status, error) {
                                                    alert(xhr.status);
                                                    alert(status);
                                           }
                                      });
		      }
		      else if(tableName == "NS")
		      {
                    var baseurl=$('#baseurl').val();
		               $.ajax({
                                          type: "POST",
                                          url: baseurl+"/cmapp/orionNodeStates/0/",

                                          success:function(result){
                                                 if(result.check == "False")
					          {
					            $('#No').text("No Data Found");
					          }
					         else {
						        $('#mytable').empty();
						         var array=result.value;
							 var head="yes";
							 var htmlTags="";
							 $.each(array,function(index,listvalue) {
							     htmlTags+=" <tr onmouseover\this.style.backgroundColor=\'#ffff66\';\" onmouseout=\"this.style.backgroundColor=\'#d4e3e5\';\">";
							        if(head == "yes") {
								              $.each(listvalue,function(index,value) {
							                           htmlTags+="<th style=\"overflow: hidden;\" class=\"theCell\">"+value+"</th>";

							                      });
									       htmlTags+="<th style=\"overflow: hidden;\" class=\"theCell\">Operation </th>";

								      } else {

                                                                                 $.each(listvalue,function(index,value) {

							                             htmlTags+="<td style=\"overflow: hidden;\" class=\"theCell\">"+value+"</td>";

							                           });
								                    htmlTags+="<td style=\"display:none;\">NS</td>"
                                                                                    htmlTags+="<td><button type=\"submit\" class=\"btn removeButton delete\">Remove</button></td>";

								      }
								      htmlTags+="</tr>";
								      head="no";

							 });

							 $("#mytable").append(htmlTags);
							 $('#TestAll').hide();

					           }

                                            },
			                  error:function(xhr, status, error) {
                                                    alert(xhr.status);
                                                    alert(status);
                                           }
                                      });


		      }


          }


</script>





       <!--  <div class="jumbotron"> -->



       <center>
       </center>

<nav class="navbar navbar-default">
  <div class="container-fluid">
    <div class="navbar-header">

       <p class="navbar-text navbar-right" id="downloadlink" ><a href="javascript:displayDetails('NS')" class="navbar-link">OrionNodeStatus</a></p>
       <p class="navbar-text navbar-right" id="downloadlink" ><a href="javascript:displayDetails('CSS')" class="navbar-link">CoreCircuitStates</a></p>
       <p class="navbar-text navbar-right" id="downloadlink"><a href="javascript:displayDetails('CS')" class="navbar-link">CoreCircuitDetails</a></p>
        <div class="bs-example clearfix">
	<button type="submit" class="btn testAllButton" id="TestAll" style="display:none;">Test All</button>
       <table width="80%" border="1" cellspacing="0" cellpadding="0" id="mytable" class="hovertable">
       </table>
       <p id="No"></p>
       <div id="AllResult"></div>
</div>

    </div>
  </div>
</nav>
       <input hidden type="text" name="baseurl" id="baseurl" value="{{ baseurl }}"><br/><br/>

{% endblock main %}

<commit_msg>intermediate commit during bug fix<commit_after>{% extends 'base.html' %}
{% load staticfiles %}
{% load i18n %}

{% block title %} {% trans 'Articles' %} {% endblock %}

{% block head %}
  <link href="{% static 'css/articles.css' %}" rel="stylesheet">
{% endblock head %}

{% block main %}


    <style>

div#spinner
{
    display: none;
    width:100px;
    height: 100px;
    position: fixed;
    top: 50%;
    left: 50%;
    background:url(/static/loading.gif) no-repeat center #fff;
    text-align:center;
    padding:10px;
    font:normal 16px Tahoma, Geneva, sans-serif;
    border:1px solid #666;
    margin-left: -50px;
    margin-top: -50px;
    z-index:2;
    overflow: auto;
}



table.hovertable {
	font-family: verdana,arial,sans-serif;
	font-size:11px;
	color:#333333;
	border-width: 1px;
	border-color: #999999;
	border-collapse: collapse;
}
table.hovertable th {
	background-color:#c3dde0;
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #a9c6c9;
}
table.hovertable tr {
	background-color:#d4e3e5;
}
table.hovertable td {
	border-width: 1px;
	padding: 8px;
	border-style: solid;
	border-color: #a9c6c9;
}

html, body {
  width: 100%;
  height: 100%;
}
 table {
  width: 50%;
  height: 50%;
  word-wrap:break-word;
}
.theCell{
    display:table-cell;
    padding: 0px 2px; /* just some padding, if needed*/
    white-space: pre; /* this will avoid line breaks*/
}

.button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 24px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  outline: none;
  color: red;
  background-color: #4CAF50;
  border: none;
  border-radius: 25px;
  box-shadow: 0 9px #999;
}

.button:hover {background-color: #3e8e41}

.button:active {
  background-color: red;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

.delete {
    background: url(http://cssdeck.com/uploads/media/items/5/5Fm069k.png)  10px -61px no-repeat #f3f3f3;
    padding-left: 30px;
}

.center-all {
  padding: 50%;
  margin: -8px;
  width: 16px;
  height: 16px;
}

</style>



<script>

    $(document).ready(function() {

        $('#mytable').on('click', '.removeButton', function(events){
                    var ICID = $(this).closest('tr').find('td').eq(0).html();
                    var city = $(this).closest('tr').find('td').eq(1).html();
                    var identity=$(this).closest('tr').find('td').eq(4).html();
                    var tr=$(this).closest('tr');
                    if(identity == "NS")
                       {
                                $.ajax({
                                          type: "POST",
                                          url: "http://172.16.17.32:5000/delONSRecord",
				          data: { nodeName : ICID, city : city }, // post values
                                          success:function(result){
                                                        tr.remove();
                                            },
			                  error:function(xhr, status, error) {
                                                    alert(xhr.status);
                                                    alert(status);
                                           }
                                      });
                      }
                    else
                      {

                           $.ajax({
                                     type: "POST",
                                     url: "http://172.16.17.32:5000/delCCSRecord",
                                     data: { icd : ICID }, // post values
                                     success:function(result){
                                                  tr.remove();
                                      },
		                    error:function(xhr, status, error) {

                                           alert(xhr.status);
                                           alert(status);
                                     }

                                  });

                        }
            });


        $('.testAllButton').on('click', function(events){
                var data = "";
               $("table tr").each(function(i, v){
		      $(this).children('td').each(function(ii, vv){
                                 data+= $(this).text()+",";
                         });
	                data+="*";
                 });

	        ajaxindicatorstart('Processing data.. please wait..');
                $.ajax({
                            type: "POST",
                            url: "http://172.16.17.32:5000/allRowPingTest",
                            data: { value : data }, // post values
                            success:function(result){
			              ajaxindicatorstop();
				       $('#AllResult').text(result.value);

                             },
		             error:function(xhr, status, error) {
                                    ajaxindicatorstop();
                                     alert(xhr.status);
                                     alert(status);
                            }
                  });

       });


       $('#mytable').on('click', '.delete', function(events){

                var tr=$(this).closest('tr');
                tr.remove();

        });

       $('#mytable').on('click', '.testButton', function(events){

             var pTag=$(this).closest('tr').find('td').eq(0).html();
             var cAEnd = $(this).closest('tr').find('td').eq(4).html();
             var cAEndInt = $(this).closest('tr').find('td').eq(5).html();
             var cAEndIP=$(this).closest('tr').find('td').eq(6).html();
             var cZEnd = $(this).closest('tr').find('td').eq(7).html();
             var cZEndInt = $(this).closest('tr').find('td').eq(8).html();
             var cZEndIP=$(this).closest('tr').find('td').eq(9).html();
             var tr=$(this).closest('tr');
	     ajaxindicatorstart('Processing data.. please wait..');
             $.ajax({
                      type: "POST",
                      url: "http://172.16.17.32:5000/rowPingTest",
                      data: { pTag : pTag, ca : cAEnd, cai : cAEndInt, caa:cAEndIP, cz:cZEnd, czi:cZEndInt, cza:cZEndIP}, // post values
                      success:function(result){
		                   ajaxindicatorstop();
				   str="<tr><td colspan=\"14\" bgcolor=\"white\">"+result.value+"  <button class=\"delete\">Remove</button></td></tr>";
				   tr.after(str);

                        },
		     error:function(xhr, status, error) {
                                  ajaxindicatorstop();
                                  alert(xhr.status);
                                  alert(status);
                      }
              });


      });



});
  function ajaxindicatorstop()

{

    jQuery('#resultLoading .bg').height('100%');

    jQuery('#resultLoading').fadeOut(300);

    jQuery('body').css('cursor', 'default');

}

function ajaxindicatorstart(text)
{
    if(jQuery('body').find('#resultLoading').attr('id') != 'resultLoading'){
  jQuery('body').append('<div id="resultLoading" style="display:none"><div><img src=""><div>'+text+'</div></div><div class="bg"></div></div>');

  }

  jQuery('#resultLoading').css({

      'width':'100%',

      'height':'100%',

      'position':'fixed',

      'z-index':'10000000',

      'top':'0',

      'left':'0',

      'right':'0',

      'bottom':'0',

      'margin':'auto'

  });



  jQuery('#resultLoading .bg').css({

      'background':'#000000',

      'opacity':'0.7',

      'width':'100%',

      'height':'100%',

      'position':'absolute',

      'top':'0'

  });



  jQuery('#resultLoading>div:first').css({

      'width': '250px',

      'height':'75px',

      'text-align': 'center',

      'position': 'fixed',

      'top':'0',

      'left':'0',

      'right':'0',

      'bottom':'0',

      'margin':'auto',

      'font-size':'16px',

      'z-index':'10',

      'color':'#ffffff'

  });

  jQuery('#resultLoading .bg').height('100%');

  jQuery('#resultLoading').fadeIn(300);

  jQuery('body').css('cursor', 'wait');

}

  function displayDetails(tableName) {

                     if(tableName == "CS")
                       {


		          $.ajax({
                                          type: "POST",
                                          url: "http://200.12.221.43:5000/coreCircuitDetails",
					  crossDomain : true,
                                          crossOrigin : true,
                                          processData : false,
                                         xhrFields: {
                                         //withCredentials: false
                                           },

                                          success:function(result) {
					      if(result.check == "False")
					      {
					         $('#No').text("No Data Found");
					      }
					      else {
					                   $('#mytable').empty();
						           var array=result.value;
							   var head="yes";
							   var htmlTags="";

							    $.each(array,function(index,listvalue) {
							            htmlTags+=" <tr onmouseover\this.style.backgroundColor=\'#ffff66\';\" onmouseout=\"this.style.backgroundColor=\'#d4e3e5\';\">";
							           if(head == "yes") {
								                $.each(listvalue,function(index,value) {
							                             htmlTags+="<th style=\"overflow: hidden;\" class=\"theCell\">"+value+"</th>";

							                        });
									        htmlTags+="<th style=\"overflow: hidden;\" class=\"theCell\">Operation </th>";

								    } else {

                                                                                 $.each(listvalue,function(index,value) {

							                             htmlTags+="<td style=\"overflow: hidden;\" class=\"theCell\">"+value+"</td>";

							                           });
										    htmlTags+="<td><button type=\"submit\" class=\"btn testButton\">Test</button></td>";


								      }
								      htmlTags+="</tr>";
								      head="no";

							 });

						   $("#mytable").append(htmlTags);
						   $('#TestAll').show();


					      }

                                            } ,
		                       error:function(xhr, status, error) {
		                                    alert(xhr.status);
                                                    alert(status);
                                           }


                                      });

                      }
		      else if(tableName == "CSS")
		      {

                            $.ajax({
                                          type: "POST",
                                          url: "http://200.12.221.43:5000/coreCircuitStates",

                                          success:function(result){

                                                    if(result.check == "False")
					             {
					                 $('#No').text("No Data Found");
					              }
					              else {

						           $('#mytable').empty();
						           var array=result.value;
							   var head="yes";
							   var htmlTags="";
							    $.each(array,function(index,listvalue) {
							            htmlTags+=" <tr onmouseover\this.style.backgroundColor=\'#ffff66\';\" onmouseout=\"this.style.backgroundColor=\'#d4e3e5\';\">";
							           if(head == "yes") {
								                $.each(listvalue,function(index,value) {
							                             htmlTags+="<th style=\"overflow: hidden;\" class=\"theCell\">"+value+"</th>";

							                        });
									        htmlTags+="<th style=\"overflow: hidden;\" class=\"theCell\">Operation </th>";

								    } else {

                                                                                 $.each(listvalue,function(index,value) {

							                             htmlTags+="<td style=\"overflow: hidden;\" class=\"theCell\">"+value+"</td>";

							                           });
								                    htmlTags+="<td style=\"display:none;\">CS</td>"
                                                                                    htmlTags+="<td><button type=\"submit\" class=\"btn removeButton delete\">Remove</button></td>";

								      }
								      htmlTags+="</tr>";
								      head="no";

							 });

							 $("#mytable").append(htmlTags);
							 $('#TestAll').hide();


					             }
                                            },
			                  error:function(xhr, status, error) {
                                                    alert(xhr.status);
                                                    alert(status);
                                           }
                                      });
		      }
		      else if(tableName == "NS")
		      {

		               $.ajax({
                                          type: "POST",
                                          url: "http://200.12.221.43:5000/orionNodeStates",
                                          success:function(result){
                                                 if(result.check == "False")
					          {
					            $('#No').text("No Data Found");
					          }
					         else {
						        $('#mytable').empty();
						         var array=result.value;
							 var head="yes";
							 var htmlTags="";
							 $.each(array,function(index,listvalue) {
							     htmlTags+=" <tr onmouseover\this.style.backgroundColor=\'#ffff66\';\" onmouseout=\"this.style.backgroundColor=\'#d4e3e5\';\">";
							        if(head == "yes") {
								              $.each(listvalue,function(index,value) {
							                           htmlTags+="<th style=\"overflow: hidden;\" class=\"theCell\">"+value+"</th>";

							                      });
									       htmlTags+="<th style=\"overflow: hidden;\" class=\"theCell\">Operation </th>";

								      } else {

                                                                                 $.each(listvalue,function(index,value) {

							                             htmlTags+="<td style=\"overflow: hidden;\" class=\"theCell\">"+value+"</td>";

							                           });
								                    htmlTags+="<td style=\"display:none;\">NS</td>"
                                                                                    htmlTags+="<td><button type=\"submit\" class=\"btn removeButton delete\">Remove</button></td>";

								      }
								      htmlTags+="</tr>";
								      head="no";

							 });

							 $("#mytable").append(htmlTags);
							 $('#TestAll').hide();

					           }

                                            },
			                  error:function(xhr, status, error) {
                                                    alert(xhr.status);
                                                    alert(status);
                                           }
                                      });


		      }


          }


</script>





       <!--  <div class="jumbotron"> -->



       <center>
       </center>

<nav class="navbar navbar-default">
  <div class="container-fluid">
    <div class="navbar-header">

       <p class="navbar-text navbar-right" id="downloadlink" ><a href="javascript:displayDetails('NS')" class="navbar-link">OrionNodeStatus</a></p>
       <p class="navbar-text navbar-right" id="downloadlink" ><a href="javascript:displayDetails('CSS')" class="navbar-link">CoreCircuitStates</a></p>
       <p class="navbar-text navbar-right" id="downloadlink"><a href="javascript:displayDetails('CS')" class="navbar-link">CoreCircuitDetails</a></p>
        <div class="bs-example clearfix">
	<button type="submit" class="btn testAllButton" id="TestAll" style="display:none;">Test All</button>
       <table width="80%" border="1" cellspacing="0" cellpadding="0" id="mytable" class="hovertable">
       </table>
       <p id="No"></p>
       <div id="AllResult"></div>
</div>

    </div>
  </div>
</nav>

{% endblock main %}


{'fraction_non_alphanumeric': 0.15995546483577658, 'fraction_numerical': 0.015741943465083195, 'mean_word_length': 1.16737046718949, 'pattern_counts': {'":': 0, '<': 190, '<?xml version=': 0, '>': 192, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 7, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 220, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7477090', 'n_tokens_mistral': 9951, 'n_tokens_neox': 8050, 'n_words': 1304}