<commit_before>package master_ui

import (
	"html/template"
)

var StatusTpl = template.Must(template.New("status").Parse(`<!DOCTYPE html>
<html>
  <head>
    <title>SeaweedFS {{ .Version }}</title>
	<link rel="icon" href="http://7viirv.com1.z0.glb.clouddn.com/seaweed_favicon.png" sizes="32x32" />  
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
  </head>
  <body>
    <div class="container">
      <div class="page-header">
	    <h1>
	      <img src="http://7viirv.com1.z0.glb.clouddn.com/seaweed50x50.png"></img>
          SeaweedFS <small>{{ .Version }}</small>
	    </h1>
      </div>

      <div class="row">
        <div class="col-sm-6">
          <h2>Cluster status</h2>
          <table class="table">
            <tbody>
              <tr>
                <th>Free</th>
                <td>{{ .Topology.Free }}</td>
              </tr>
              <tr>
                <th>Max</th>
                <td>{{ .Topology.Max }}</td>
              </tr>
              {{ with .RaftServer }}
              <tr>
                <th>Leader</th>
                <td><a href="http://{{ .Leader }}">{{ .Leader }}</a></td>
              </tr>
              <tr>
                <td class="col-sm-2 field-label"><label>Peers:</label></td>
                <td class="col-sm-10"><ul class="list-unstyled"><commit_msg>adjust name to avoid confusion<commit_after>package master_ui

import (
	"html/template"
)

var StatusTpl = template.Must(template.New("status").Parse(`<!DOCTYPE html>
<html>
  <head>
    <title>SeaweedFS {{ .Version }}</title>
	<link rel="icon" href="http://7viirv.com1.z0.glb.clouddn.com/seaweed_favicon.png" sizes="32x32" />  
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
  </head>
  <body>
    <div class="container">
      <div class="page-header">
	    <h1>
	      <img src="http://7viirv.com1.z0.glb.clouddn.com/seaweed50x50.png"></img>
          SeaweedFS <small>{{ .Version }}</small>
	    </h1>
      </div>

      <div class="row">
        <div class="col-sm-6">
          <h2>Cluster status</h2>
          <table class="table">
            <tbody>
              <tr>
                <th>Free</th>
                <td>{{ .Topology.Free }}</td>
              </tr>
              <tr>
                <th>Max</th>
                <td>{{ .Topology.Max }}</td>
              </tr>
              {{ with .RaftServer }}
              <tr>
                <th>Leader</th>
                <td><a href="http://{{ .Leader }}">{{ .Leader }}</a></td>
              </tr>
              <tr>
                <td class="col-sm-2 field-label"><label>Other Masters:</label></td>
                <td class="col-sm-10"><ul class="list-unstyled">
{'fraction_non_alphanumeric': 0.19501625135427952, 'fraction_numerical': 0.01805706031058144, 'mean_word_length': 1.7317554240631163, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, 'https://': 2, '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': '6796420', 'n_tokens_mistral': 1008, 'n_tokens_neox': 945, 'n_words': 150}