<commit_before><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Ganglia:: {page_title}</TITLE>
<META http-equiv="Content-type" content="text/html; charset=utf-8">
<META http-equiv="refresh" content="{refresh}">
<script TYPE="text/javascript" SRC="js/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.5.custom.min.js"></script>
<script type="text/javascript" src="js/jquery.liveSearch.js"></script>
<link type="text/css" href="css/smoothness/jquery-ui-1.8.5.custom.css" rel="stylesheet" />
<link type="text/css" href="css/jquery.liveSearch.css" rel="stylesheet" />
<LINK rel="stylesheet" href="./styles.css" type="text/css">
<style>
#views_table {
      font-size: 12px
}
#table_top_chooser {
      font-size: 12px
}
#views_menu { width: 200px; }
#views_menu ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
font-family: Arial, Helvetica, sans-serif;
}
#views_menu a
{
display: block;
padding: 3px;
width: 160px;
background-color: white;
border-bottom: 1px solid #eee;
}
#views_menu a:link, #navlist a:visited
{
color: blue;
text-decoration: none;
}
#views_menu a:hover
{
background-color: #dddddd;
color: blue;
}
</style>
<script>
$(function(){

  var availablemetrics = [
      {available_metrics}
  ];

  $("#tabs").tabs();
  $( "#range_menu" ).buttonset();
  $( "#sort_menu" ).buttonset();
  jQuery('#metric-search input[name="q"]').liveSearch({url: 'search.php?q='});
  $( "#datepicker-cs" ).datepicker({
	  showOn: "button",
	  buttonImage: "img/calendar.gif",
	  buttonImageOnly: true
  });
  $( "#datepicker-ce" ).datepicker({
	  showOn: "button",
	  buttonImage: "img/calendar.gif",
	  buttonImageOnly: true
  });

  $( "#metrics-picker" ).autocomplete({
      source: availablemetrics
  });

  {is-metrics-picker-disabled}

  $( "#create-new-view-dialog" ).dialog({
    autoOpen: false,
    height: 200,
    width: 350,
    modal: true,
    close: function() {
      getViewsContent();
      $("#create-new-view-layer").toggle();
      $("#create-new-view-confirmation-layer").html("");
    }
  });

  $( "#metric-actions-dialog" ).dialog({
    autoOpen: false,
    height: 200,
    width: 350,
    modal: true
  });


});

function getViewsContent() {
  $.get('views.php', "" , function(data) {
    $("#tabs-views-content").html('<img src="img/spinner.gif">');
    $("#tabs-views-content").html(data);
    $("#create_view_button")
      .button()
      .click(function() {
	$( "#create-new-view-dialog" ).dialog( "open" );
      });;
    $( "#view_range_chooser" ).buttonset();

  });
  return false;
}
<commit_msg>Wider dialog<commit_after><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Ganglia:: {page_title}</TITLE>
<META http-equiv="Content-type" content="text/html; charset=utf-8">
<META http-equiv="refresh" content="{refresh}">
<script TYPE="text/javascript" SRC="js/jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.5.custom.min.js"></script>
<script type="text/javascript" src="js/jquery.liveSearch.js"></script>
<link type="text/css" href="css/smoothness/jquery-ui-1.8.5.custom.css" rel="stylesheet" />
<link type="text/css" href="css/jquery.liveSearch.css" rel="stylesheet" />
<LINK rel="stylesheet" href="./styles.css" type="text/css">
<style>
#views_table {
      font-size: 12px
}
#table_top_chooser {
      font-size: 12px
}
#views_menu { width: 200px; }
#views_menu ul
{
margin-left: 0;
padding-left: 0;
list-style-type: none;
font-family: Arial, Helvetica, sans-serif;
}
#views_menu a
{
display: block;
padding: 3px;
width: 160px;
background-color: white;
border-bottom: 1px solid #eee;
}
#views_menu a:link, #navlist a:visited
{
color: blue;
text-decoration: none;
}
#views_menu a:hover
{
background-color: #dddddd;
color: blue;
}
</style>
<script>
$(function(){

  var availablemetrics = [
      {available_metrics}
  ];

  $("#tabs").tabs();
  $( "#range_menu" ).buttonset();
  $( "#sort_menu" ).buttonset();
  jQuery('#metric-search input[name="q"]').liveSearch({url: 'search.php?q='});
  $( "#datepicker-cs" ).datepicker({
	  showOn: "button",
	  buttonImage: "img/calendar.gif",
	  buttonImageOnly: true
  });
  $( "#datepicker-ce" ).datepicker({
	  showOn: "button",
	  buttonImage: "img/calendar.gif",
	  buttonImageOnly: true
  });

  $( "#metrics-picker" ).autocomplete({
      source: availablemetrics
  });

  {is-metrics-picker-disabled}

  $( "#create-new-view-dialog" ).dialog({
    autoOpen: false,
    height: 200,
    width: 350,
    modal: true,
    close: function() {
      getViewsContent();
      $("#create-new-view-layer").toggle();
      $("#create-new-view-confirmation-layer").html("");
    }
  });

  $( "#metric-actions-dialog" ).dialog({
    autoOpen: false,
    height: 250,
    width: 450,
    modal: true
  });


});

function getViewsContent() {
  $.get('views.php', "" , function(data) {
    $("#tabs-views-content").html('<img src="img/spinner.gif">');
    $("#tabs-views-content").html(data);
    $("#create_view_button")
      .button()
      .click(function() {
	$( "#create-new-view-dialog" ).dialog( "open" );
      });;
    $( "#view_range_chooser" ).buttonset();

  });
  return false;
}

{'fraction_non_alphanumeric': 0.21101093420295416, 'fraction_numerical': 0.015346249760214847, 'mean_word_length': 4.032818532818533, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5602682', 'n_tokens_mistral': 1961, 'n_tokens_neox': 1856, 'n_words': 333}