<commit_before>{% extends 'base_AdminLTE.html' %}

{% block title %}Docklet | Status{% endblock %}

{% block panel_title %}Workspace VCluster Status{% endblock %}

{% block panel_list %}
<ol class="breadcrumb">
  <li>
      <a href="/dashboard/"><i class="fa fa-dashboard"></i>Home</a>
  </li>
      <li class="active">
      <strong>VClusterStatus</strong>
  </li>
</ol>
{% endblock %}

{% block content %}
<div class="row">
	<div class="col-md-12">
         <div class="box box-info">
              <div class="box-header with-border">
                <h3 class="box-title">Your Quotas</h3>
                <div class="box-tools pull-right">
                  <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                  </button>
                  <button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
                </div>
              </div>
                     <div class="box-body table-responsive">

                         <table class="table table-bordered">
                             <thead>
                             <tr>
				                <th>CPU</th>
				                <th>Memory</th>
                                <th>Disk</th>
                                <th>Network</th>
                                <th>Image</th>
                                <th>Idletime</th>
                             </tr>
                             </thead>
                             <tbody>
                             <tr>
                                {% if quotainfo['cpu'] > 1 %}
                                    <th>{{ quotainfo['cpu'] }} Cores</th>
                                {% else %}
                                    <th>{{ quotainfo['cpu'] }} Core</th>
                                {% endif %}
                                <th>{{ quotainfo['memory'] }} MB</th>
                                <th>{{ quotainfo['disk'] }} MB</th>
                                <th>{{ quotainfo['network'] }} IP addresses</th>
                                <th>{{ quotainfo['image'] }}</th>
                                <th>{{ quotainfo['idletime'] }}</th>
			                 </tr>
                             </tbody>
                         </table>
                     </div>
                 </div>
             </div>
	   </div>

{% for cluster in clusters %}
	  <div class="row">
	     <div class="col-md-12">
         <div class="box box-info">
              <div class="box-header with-border">
                <h3 class="box-title">VCluster Name: {{ cluster }}</h3>

                <div class="box-tools pull-right">
                  <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                  </button>
                  <button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
                </div>
              </div>
                     <div class="box-body table-responsive">

                         <table class="table table-bordered">
                             <thead>
                             <tr>
				                 <th>Node ID</th><commit_msg>Add hours to idletime.<commit_after>{% extends 'base_AdminLTE.html' %}

{% block title %}Docklet | Status{% endblock %}

{% block panel_title %}Workspace VCluster Status{% endblock %}

{% block panel_list %}
<ol class="breadcrumb">
  <li>
      <a href="/dashboard/"><i class="fa fa-dashboard"></i>Home</a>
  </li>
      <li class="active">
      <strong>VClusterStatus</strong>
  </li>
</ol>
{% endblock %}

{% block content %}
<div class="row">
	<div class="col-md-12">
         <div class="box box-info">
              <div class="box-header with-border">
                <h3 class="box-title">Your Quotas</h3>
                <div class="box-tools pull-right">
                  <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                  </button>
                  <button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
                </div>
              </div>
                     <div class="box-body table-responsive">

                         <table class="table table-bordered">
                             <thead>
                             <tr>
				                <th>CPU</th>
				                <th>Memory</th>
                                <th>Disk</th>
                                <th>Network</th>
                                <th>Image</th>
                                <th>Idletime</th>
                             </tr>
                             </thead>
                             <tbody>
                             <tr>
                                {% if quotainfo['cpu'] > 1 %}
                                    <th>{{ quotainfo['cpu'] }} Cores</th>
                                {% else %}
                                    <th>{{ quotainfo['cpu'] }} Core</th>
                                {% endif %}
                                <th>{{ quotainfo['memory'] }} MB</th>
                                <th>{{ quotainfo['disk'] }} MB</th>
                                <th>{{ quotainfo['network'] }} IP addresses</th>
                                <th>{{ quotainfo['image'] }}</th>
                                <th>{{ quotainfo['idletime'] }} hours</th>
			                 </tr>
                             </tbody>
                         </table>
                     </div>
                 </div>
             </div>
	   </div>

{% for cluster in clusters %}
	  <div class="row">
	     <div class="col-md-12">
         <div class="box box-info">
              <div class="box-header with-border">
                <h3 class="box-title">VCluster Name: {{ cluster }}</h3>

                <div class="box-tools pull-right">
                  <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                  </button>
                  <button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
                </div>
              </div>
                     <div class="box-body table-responsive">

                         <table class="table table-bordered">
                             <thead>
                             <tr>
				                 <th>Node ID</th>
{'fraction_non_alphanumeric': 0.15409532623785285, 'fraction_numerical': 0.002776492364645997, 'mean_word_length': 1.064968152866242, 'pattern_counts': {'":': 0, '<': 189, '<?xml version=': 0, '>': 191, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2994903', 'n_tokens_mistral': 1832, 'n_tokens_neox': 1649, 'n_words': 334}