<% # This template can be configure the following way with environment variables # CONSUL_TOOLS_SUFFIX: suffix for the address of consul tools # CONSUL_TOOLS_PREFIX: prefix for the address of consul tools # CONSUL_TOOLS: comma sperated list of consul tools tools = (ENV['CONSUL_TOOLS'] || 'services').split(",") tools_suffix = ENV['CONSUL_TOOLS_PREFIX'] || '-ui.html' tools_prefix = ENV['CONSUL_TOOLS_SUFFIX'] || 'consul-' dc_suffix = ENV['CONSUL_DC_SUFFIX'] || '' dc_prefix = ENV['CONSUL_DC_PREFIX'] || '#' %> <%= param('title', 'Consul Real Time information') %>