Sha256: ee84d853834a38cc8e48a316d78f4c2f2ca35923ef3e92f7db09e64a90fb0419

Contents?: true

Size: 1.72 KB

Versions: 61

Compression:

Stored size: 1.72 KB

Contents

<% datasource = ENV['SERVICE_DATASOURCE'] || 'consul_keys.json'
   # Time to wait before reloading configuration again in seconds (0 = never)
   refresh = ENV['REFRESH'] || '3600' %><%= render_file('common/header.html.erb', title: 'Keys') %>
    <div class="main">
      <div class="row mx-0">
        <div id="filter-menu" class="col-4 col-m-3 px-4 pt-4">
          <div class="form-group">
            <div class="input-group">
            <input id="keys-filter" type="text" placeholder="filter keys by name" class="form-control" />
              <div class="input-group-append">
                <span class="input-group-text" id="keys-counter"></span>
              </div>
            </div>
          </div>
          <div id="keys-wrapper" >
            <ul id="keys-list" class="list-group">
            </ul>
          </div>
        </div>
        <div class="col-8 col-m-9">
          <h2 class="text-center" id="kv-title"></h2>
          <div id='data-wrapper'>
            <pre><code id="kv-data">...</code></pre>
          </div>
        </div>
      </div>
    </div>
  <!-- Optional JavaScript -->
  <!-- JavaScript Dependencies: jQuery, Popper.js, Bootstrap JS, Shards JS -->
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
  <script src="js/utils.js"></script>
  <script src="js/keys.js"></script>
  <script src="vendors/highlight/highlight.pack.js"></script>
  <script type="text/javascript">
    consulKeys = new ConsulKeys('<%= datasource %>','<%= refresh %>');
  </script>
  </body>
</html>

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
consul-templaterb-1.12.0 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.11.0 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.10.1 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.10.0 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.9.9 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.9.8 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.9.7 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.9.6 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.9.5 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.9.4 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.9.3 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.9.2 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.9.1 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.9.0 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.8.8 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.8.7 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.8.6 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.8.5 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.8.4 samples/consul-ui/consul-keys-ui.html.erb
consul-templaterb-1.8.3 samples/consul-ui/consul-keys-ui.html.erb