Sha256: 2a4a5d422047afcd733d3e3f7036ba35a4227c6d89a8b03bcf0312133e4e9c86
Contents?: true
Size: 1.5 KB
Versions: 4
Compression:
Stored size: 1.5 KB
Contents
- unless @data.empty? h2.uk-text-success <i class="uk-icon-#{@menu_icons[@current_item]} uk-icon-medium "></i> Modify Splash log monitoring : #{@data[:label]} - else h2.uk-text-success <i class="uk-icon-#{@menu_icons[@current_item]} uk-icon-medium "></i> Add new Splash log 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_log" method="POST" label.uk-form-label for="label" Label <input class="uk-form-width-large" id="label" type="text" placeholder="label" name="label" value="#{@data[:label].to_s}" required> div label.uk-form-label for="pattern" Pattern <input class="uk-form-width-large" id="pattern" type="text" placeholder="pattern" name="pattern" value="#{@data[:pattern]}" required> div label.uk-form-label for="log" Log file <input class="uk-form-width-large" id="log" type="text" placeholder="log" name="log" value="#{@data[:log]}" required> div 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 - unless @data.empty? input type="hidden" name="update" value="true" input type="hidden" name="old_label" value="#{@data[:old_label].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