lib/splash/webadmin/portal/views/log_form.slim in prometheus-splash-0.8.4 vs lib/splash/webadmin/portal/views/log_form.slim in prometheus-splash-0.8.5

- old
+ new

@@ -13,9 +13,12 @@ <input class="uk-form-width-large" id="pattern" type="text" placeholder="pattern" name="pattern" value="#{@data[:pattern]}" required> div &nbsp; 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 &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_label" value="#{@data[:old_label].to_s}" div.uk-align-right input.uk-button.uk-button-small-primary type="submit" value="Submit"