<commit_before>{% extends "base_site.html" %}

{% block title %}Manage Dashboards{% endblock title %}

{% block stylesheets %}
  {{ super() }}
{% endblock stylesheets %}

{% block content %}

  <!-- show the open prompt dialog -->
  <div class="modal fade" id="cea-prompt" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-lg">
      <div class="modal-content">

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

  <div class="right_col" role="main">
    <div class="">
      <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
          <div class="x_panel">
            <div class="x_title">
              <h2 class="pull-left">Manage Dashboards</h2>
              <a class="pull-right" href="{{ url_for('plots_blueprint.index') }}"><i class="fa fa-arrow-left"></i> Back</a>
              <div class="clearfix"></div>
            </div>
            <div class="x_content">
              <table class="table">
                <thead>
                <tr>
                  <th>Dashboard</th>
                  <th>Description</th>
                  <th>Actions</th>
                </tr>
                </thead>
                <tbody>
                {% for dashboard in dashboards %}
                  <tr>
                    <td>{{ dashboard.name }}</td>
                    <td>
                      {% if dashboard.description=='' %}
                        -
                      {% else %}
                        {{ dashboard.description }}
                      {% endif %}
                    </td>
                    <td>
                      <a href="{{ url_for('plots_blueprint.route_dashboard', dashboard_index=loop.index0) }}">Open</a>
                      <a href="#" onclick="openSettings({{ loop.index0 }}, 'rename')">Rename</a>
                      <a href="#" onclick="openSettings({{ loop.index0 }}, 'delete')">Delete</a>
                    </td>
                  </tr>
                {% endfor %}
                </tbody>
              </table>
            </div>
          </div>
        </div>
      </div><commit_msg>Show layout in dashboard management<commit_after>{% extends "base_site.html" %}

{% block title %}Manage Dashboards{% endblock title %}

{% block stylesheets %}
  {{ super() }}
{% endblock stylesheets %}

{% block content %}

  <!-- show the open prompt dialog -->
  <div class="modal fade" id="cea-prompt" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-lg">
      <div class="modal-content">

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

  <div class="right_col" role="main">
    <div class="">
      <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
          <div class="x_panel">
            <div class="x_title">
              <h2 class="pull-left">Manage Dashboards</h2>
              <a class="pull-right" href="{{ url_for('plots_blueprint.index') }}"><i class="fa fa-arrow-left"></i> Back</a>
              <div class="clearfix"></div>
            </div>
            <div class="x_content">
              <table class="table">
                <thead>
                <tr>
                  <th>Dashboard</th>
                  <th>Description</th>
                  <th>Layout</th>
                  <th>Actions</th>
                </tr>
                </thead>
                <tbody>
                {% for dashboard in dashboards %}
                  <tr>
                    <td>{{ dashboard.name }}</td>
                    <td>
                      {% if dashboard.description=='' %}
                        -
                      {% else %}
                        {{ dashboard.description }}
                      {% endif %}
                    </td>
                    <td>
                      {{ dashboard.layout }}
                    </td>
                    <td>
                      <a href="{{ url_for('plots_blueprint.route_dashboard', dashboard_index=loop.index0) }}">Open</a>
                      <a href="#" onclick="openSettings({{ loop.index0 }}, 'rename')">Rename</a>
                      <a href="#" onclick="openSettings({{ loop.index0 }}, 'delete')">Delete</a>
                    </td>
                  </tr>
                {% endfor %}
                </tbody>
              </table>
            </div>
          </div>
        </div>
      </div>
{'fraction_non_alphanumeric': 0.1651270207852194, 'fraction_numerical': 0.005542725173210162, 'mean_word_length': 1.2770767613038907, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 117, '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': '4818457', 'n_tokens_mistral': 1296, 'n_tokens_neox': 1155, 'n_words': 241}