<commit_before>{{template "header" .}}

<div class="row">
  <div class="medium-8 columns">
    <div class="row">
      <h1>{{ .Machine.Name }}</h1>

      <div class="media-object">
        <div class="media-object-section">
          <div>
            <img height="60" width="60" src="{{ Static "vmango/server-icon.png" }}">
          </div>
        </div>
        <div class="media-object-section">
          <h5>Ubuntu 16.04 x86_64</h5>
          <p class="subheader">{{ .Machine.MemoryMegabytes }}M RAM {{ .Machine.Disk.SizeGigabytes }}G {{ .Machine.Cpus }} CPU</p>
        </div>
      </div>
    </div>

    <div class="row">
      <h4 class="subheader">Network</h4>
      <table>
        <tbody>
          <tr>
            <td>IP Address</td>
            <td>{{ if .Machine.Ip }}{{ .Machine.Ip.Address }}{{ else }}Unkown{{ end }}</td>
          </tr>
        </tbody>
      </table>
    </div>

    <div class="row small-up-2 medium-up-3">
      <h4 class="subheader">SSH Keys</h4>
      {{ range .Machine.SSHKeys }}
        <div class="column">
          <div class="card">
            <div class="card-section">
              <span>{{ .Name }}</span>
            </div>
          </div>
        </div>
      {{ end }}
    </div>
<commit_msg>Display machine state on details page<commit_after>{{template "header" .}}

<div class="row">
  <div class="medium-8 columns">
    <div class="row">
      <h1>{{ .Machine.Name }}</h1>
      <div class="medium-10 column">
        <div class="media-object">
          <div class="media-object-section">
            <div>
              <img height="60" width="60" src="{{ Static "vmango/server-icon.png" }}">
            </div>
          </div>
          <div class="media-object-section">
            <h5>Ubuntu 16.04 x86_64</h5>
            <p class="subheader">{{ .Machine.MemoryMegabytes }}M RAM {{ .Machine.Disk.SizeGigabytes }}G {{ .Machine.Cpus }} CPU</p>
          </div>
        </div>
      </div>
      <div class="medium-2 column">
        <span class="label {{ if .Machine.IsRunning }}success{{ else }}alert{{ end }}">
          {{ .Machine.StateName | Capitalize }}
        </span>
      </div>
    </div>

    <div class="row">
      <h4 class="subheader">Network</h4>
      <table>
        <tbody>
          <tr>
            <td>IP Address</td>
            <td>{{ if .Machine.Ip }}{{ .Machine.Ip.Address }}{{ else }}Unkown{{ end }}</td>
          </tr>
        </tbody>
      </table>
    </div>

    <div class="row small-up-2 medium-up-3">
      <h4 class="subheader">SSH Keys</h4>
      {{ range .Machine.SSHKeys }}
        <div class="column">
          <div class="card">
            <div class="card-section">
              <span>{{ .Name }}</span>
            </div>
          </div>
        </div>
      {{ end }}
    </div>

{'fraction_non_alphanumeric': 0.1984978540772532, 'fraction_numerical': 0.017525035765379112, 'mean_word_length': 1.7529527559055118, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, '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': '2465881', 'n_tokens_mistral': 957, 'n_tokens_neox': 920, 'n_words': 196}