<commit_before>{% extends "base.html" %}
{% load nav %}
{% block siteSection %}Plots{% endblock %}

{% block cssExtras %}
  {{ block.super }}

  <style type="text/css">
    #placeholder .button {
        position: absolute;
        cursor: pointer;
    }
    #placeholder div.button {
        font-size: smaller;
        color: #999;
        background-color: #eee;
        padding: 2px;
    }
    .message {
        padding-left: 50px;
        font-size: smaller;
    }
    .flotPlot {
        width: 1000px;
        height: 150px;
        margin-bottom: 10px;
    }
    .controlPanel {
        vertical-align: top;
    }
    .platformControl, .variableControl {
        margin-left: 15px;
        width: 350px;
    }
    .platformControl {
        font-weight: bold;
    }
    .plotControl input, label {
        cursor: pointer;
    }
    html, body {
        height: 100%;
    }
    .controlButton {
        cursor: pointer;
        margin-right: 10px;
    }
    .controlSectionHeader {
        font-weight: bold;
        margin-top: 10px;
        margin-bottom: 5px;
    }
    .mainPanel {
        vertical-align: top;
    }
    #socketStatus {
        margin-top: 10px;
        display: none;
    }
    #plots {
        margin-top: 10px;
    }
    .plotInfo {
        margin-left: 15px;
    }
    #timeInterval {
        padding-left: 15px;
    }
  </style>
{% endblock %}

{% block scripts %}
  {{ block.super }}

  <script language="javascript" type="text/javascript" src="{{ EXTERNAL_URL }}flot/jquery.flot.js"></script>
  <script language="javascript" type="text/javascript" src="{{ EXTERNAL_URL }}flot/jquery.flot.navigate.js"></script>
  <script language="javascript" type="text/javascript" src="{{ EXTERNAL_URL }}flot/jquery.flot.symbol.js"></script>
  <script language="javascript" type="text/javascript" src="{{ EXTERNAL_URL }}flot/jquery.flot.threshold.min.js"></script>
  <script language="javascript" type="text/javascript" src="{{ STATIC_URL }}geocamUtil/js/zmq.js"></script>
  <script language="javascript" type="text/javascript" src="{{ STATIC_URL }}xgds_plot/js/xgds_plot.js"></script>
{% endblock %}

{% block jsSetVars %}
  {{ block.super }}

  settings = {{ settings|safe }};
  requestParams = {{ requestParams|safe }};
{% endblock %}

{% block jsInit %}
  {{ block.super }}

  $(function () {
      xgds_plot.init();
  });
{% endblock jsInit %}

{% block contents %}						
  <table class="bodyTable" ><tr>
  <td class="mainPanel">
  <div id="topControls">
    <span id="liveModeControl"></span><commit_msg>use static instead of STATIC_URL in templates<commit_after>{% extends "base.html" %}
{% load nav %}
{% load static %}
{% block siteSection %}Plots{% endblock %}

{% block cssExtras %}
  {{ block.super }}

  <style type="text/css">
    #placeholder .button {
        position: absolute;
        cursor: pointer;
    }
    #placeholder div.button {
        font-size: smaller;
        color: #999;
        background-color: #eee;
        padding: 2px;
    }
    .message {
        padding-left: 50px;
        font-size: smaller;
    }
    .flotPlot {
        width: 1000px;
        height: 150px;
        margin-bottom: 10px;
    }
    .controlPanel {
        vertical-align: top;
    }
    .platformControl, .variableControl {
        margin-left: 15px;
        width: 350px;
    }
    .platformControl {
        font-weight: bold;
    }
    .plotControl input, label {
        cursor: pointer;
    }
    html, body {
        height: 100%;
    }
    .controlButton {
        cursor: pointer;
        margin-right: 10px;
    }
    .controlSectionHeader {
        font-weight: bold;
        margin-top: 10px;
        margin-bottom: 5px;
    }
    .mainPanel {
        vertical-align: top;
    }
    #socketStatus {
        margin-top: 10px;
        display: none;
    }
    #plots {
        margin-top: 10px;
    }
    .plotInfo {
        margin-left: 15px;
    }
    #timeInterval {
        padding-left: 15px;
    }
  </style>
{% endblock %}

{% block scripts %}
  {{ block.super }}

  <script language="javascript" type="text/javascript" src="{{ EXTERNAL_URL }}flot/jquery.flot.js"></script>
  <script language="javascript" type="text/javascript" src="{{ EXTERNAL_URL }}flot/jquery.flot.navigate.js"></script>
  <script language="javascript" type="text/javascript" src="{{ EXTERNAL_URL }}flot/jquery.flot.symbol.js"></script>
  <script language="javascript" type="text/javascript" src="{{ EXTERNAL_URL }}flot/jquery.flot.threshold.min.js"></script>
  <script language="javascript" type="text/javascript" src="{% static 'geocamUtil/js/zmq.js' %}"></script>
  <script language="javascript" type="text/javascript" src="{% static 'xgds_plot/js/xgds_plot.js' %}"></script>
{% endblock %}

{% block jsSetVars %}
  {{ block.super }}

  settings = {{ settings|safe }};
  requestParams = {{ requestParams|safe }};
{% endblock %}

{% block jsInit %}
  {{ block.super }}

  $(function () {
      xgds_plot.init();
  });
{% endblock jsInit %}

{% block contents %}						
  <table class="bodyTable" ><tr>
  <td class="mainPanel">
  <div id="topControls">
    <span id="liveModeControl"></span>
{'fraction_non_alphanumeric': 0.15923317683881064, 'fraction_numerical': 0.014084507042253521, 'mean_word_length': 2.523776705720193, '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': '4029379', 'n_tokens_mistral': 1782, 'n_tokens_neox': 1635, 'n_words': 329}