Added in preferences the ability to specify the MySQL data retention

This commit is contained in:
Luca Deri 2015-09-22 23:32:39 +02:00
parent a62344d45c
commit 2767caa991
4 changed files with 43 additions and 11 deletions

View file

@ -1338,10 +1338,12 @@ function prefsInputField(label, comment, key, value)
print('<input id="csrf" name="csrf" type="hidden" value="'..ntop.getRandomCSRFValue()..'" />\n')
print [[
<div class="input-group" >
<input type="text" class="form-control" name="]] print(key) print [[" value="]] print(value.."") print [[">
<div >
<input type="text" class="form-control" name="]] print(key) print [[" value="]] print(value.."") print [[">
<span class="input-group-btn">
<button class="btn btn-default" type="submit">Save</button>
</span>
</div>
</div><!-- /input-group -->
</form></td></tr>
]]