Sha256: 25cb9bcff90df3a3c33377eae5fcfbd2c36dfae206f85d07672b070871c23636

Contents?: true

Size: 1.39 KB

Versions: 4

Compression:

Stored size: 1.39 KB

Contents

- unless @data.empty?
  h2.uk-text-success <i class="uk-icon-#{@menu_icons[@current_item]} uk-icon-medium "></i>&nbsp;&nbsp;Modify Splash process monitoring : #{@data[:process]}
- else
  h2.uk-text-success <i class="uk-icon-#{@menu_icons[@current_item]} uk-icon-medium "></i>&nbsp;&nbsp;Add new Splash process monitoring

script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.19.2/jquery.validate.min.js"

form.uk-form.uk-form-horizontal#query action="/save_process" method="POST"
  label.uk-form-label for="process" Process
  <input class="uk-form-width-large" id="process" type="text" placeholder="process" name="process" value="#{@data[:process].to_s}" required>
  div &nbsp;
  label.uk-form-label for="patterns" Patterns (separator is "|")
  <input class="uk-form-width-large" id="patterns" type="text" placeholder="patterns" name="patterns" value="#{@data[:patterns]}" required>
    div &nbsp;
    label.uk-form-label for="retention" Retention (Like "2 hours, 2 days")
    <input class="uk-form-width-large" id="retention" type="text" placeholder="retention" name="retention" value="#{@data[:retention]}">
    div &nbsp;
  - unless @data.empty?
    input type="hidden" name="update" value="true"
    input type="hidden" name="old_process" value="#{@data[:old_process].to_s}"
  div.uk-align-right
    input.uk-button.uk-button-small-primary type="submit" value="Submit"
javascript:
  $("#query").validate();

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
prometheus-splash-0.9.1 lib/splash/webadmin/portal/views/process_form.slim
prometheus-splash-0.9.0 lib/splash/webadmin/portal/views/process_form.slim
prometheus-splash-0.8.6 lib/splash/webadmin/portal/views/process_form.slim
prometheus-splash-0.8.5 lib/splash/webadmin/portal/views/process_form.slim