lib/splash/webadmin/portal/views/home.slim in prometheus-splash-0.8.1 vs lib/splash/webadmin/portal/views/home.slim in prometheus-splash-0.8.2

- old
+ new

@@ -28,34 +28,33 @@ }); div.uk-grid div.uk-width-medium-1-1 div.uk-panel.uk-panel-box - div.uk-text-large.uk-text-bold <i class="uk-icon-cogs uk-icon-justify uk-icon-large"></i>&nbsp;&nbsp;Splash Daemon status - table.uk-table - tr - td - b Actions : - div.uk-button-group - - if @status == false - button.uk-button(id="start" disabled): i.uk-icon-play - button.uk-button(id="stop"): i.uk-icon-stop - - else - button.uk-button(id="start"): i.uk-icon-play - button.uk-button(id="stop" disabled): i.uk-icon-stop - td - b Status : + div.uk-grid + div.uk-width-1-3.uk-text-large.uk-text-bold.uk-text-success <i class="uk-icon-cogs uk-icon-justify uk-icon-large"></i>&nbsp;&nbsp;Splash Daemon status + div.uk-width-1-3 + b Actions : + div.uk-button-group - if @status == false - div.uk-badge.uk-badge-success.uk-badge-notifications(id="daemon") ON + button.uk-button(id="start" disabled): i.uk-icon-play + button.uk-button(id="stop"): i.uk-icon-stop - else - div.uk-badge.uk-badge-danger.uk-badge-notifications(id="daemon") OFF + button.uk-button(id="start"): i.uk-icon-play + button.uk-button(id="stop" disabled): i.uk-icon-stop + div.uk-width-1-3 + b Status : + - if @status == false + div.uk-badge.uk-badge-success.uk-badge-notifications(id="daemon") ON + - else + div.uk-badge.uk-badge-danger.uk-badge-notifications(id="daemon") OFF div.uk-grid div.uk-width-medium-1-2 div.uk-panel.uk-panel-box - span.uk-text-large.uk-text-bold Global Configuration + span.uk-text-large.uk-text-bold.uk-text-success Global Configuration br span.uk-text-bold <i>Logger and display</i> : ul li <b>Level:</b> #{@data[:loggers][:level]} li <b>Daemon log filename:</b> #{@data[:loggers][:daemon][:file]} @@ -66,11 +65,11 @@ ul li <b>Execution Report Template file:</b> #{@data[:execution_template_path]} div.uk-width-medium-1-2 div.uk-panel.uk-panel-box - span.uk-text-large.uk-text-bold Transport and Backend + span.uk-text-large.uk-text-bold.uk-text-success Transport and Backend br span.uk-text-bold <i>Backend</i> : ul li <b>Backend type:</b> #{@data[:backends][:stores][:execution_trace][:type]} - if @data[:backends][:stores][:execution_trace][:type] == :file @@ -92,11 +91,11 @@ li <b>Authentification:</b> Active (see config file) div.uk-grid div.uk-width-medium-1-2 div.uk-panel.uk-panel-box - span.uk-text-large.uk-text-bold Daemon + span.uk-text-large.uk-text-bold.uk-text-success Daemon br ul li <b>Logs monitoring scheduling: </b> #{@data[:daemon_logmon_scheduling]} li <b>Processes monitoring scheduling: </b> #{@data[:daemon_process_scheduling]} li <b>Splash metrics monitoring scheduling: </b> #{@data[:daemon_metrics_scheduling]} @@ -108,10 +107,10 @@ li <b>Splash daemon trace STDERR: </b> #{@data[:stderr_trace]} div.uk-width-medium-1-2 div.uk-panel.uk-panel-box - span.uk-text-large.uk-text-bold Web UI + span.uk-text-large.uk-text-bold.uk-text-success Web UI br span.uk-text-bold <i>Webadmin</i> : ul li <b>IP:</b> #{@data[:webadmin_ip]} li <b>Port:</b> #{@data[:webadmin_port]}