Add missing css classes on some buttons
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
2ae28dd436
commit
b7b17c04dd
@ -3470,7 +3470,7 @@ AJAX.registerOnload('functions.js', function () {
|
||||
'<table class=\'add\'><tr><td>' +
|
||||
'<div class=\'slider\'></div>' +
|
||||
'</td><td>' +
|
||||
'<form><div><input type=\'submit\' class=\'add_value\' value=\'' +
|
||||
'<form><div><input type=\'submit\' class=\'add_value btn btn-primary\' value=\'' +
|
||||
Functions.sprintf(Messages.enum_addValue, 1) +
|
||||
'\'></div></form>' +
|
||||
'</td></tr></table>' +
|
||||
|
||||
@ -332,7 +332,7 @@ function goTo2NFStep2 (pd, primaryKey) {
|
||||
});
|
||||
}
|
||||
$('#mainContent #extra').html(extra);
|
||||
$('.tblFooters').html('<input type="button" value="' + Messages.strBack + '" id="backEditPd"><input type="button" id="goTo2NFFinish" value="' + Messages.strGo + '">');
|
||||
$('.tblFooters').html('<input type="button" class="btn btn-primary" value="' + Messages.strBack + '" id="backEditPd"><input type="button" class="btn btn-primary" id="goTo2NFFinish" value="' + Messages.strGo + '">');
|
||||
$('#goTo2NFFinish').on('click', function () {
|
||||
goTo2NFFinish(pd);
|
||||
});
|
||||
@ -382,7 +382,7 @@ function goTo3NFStep2 (pd, tablesTds) {
|
||||
});
|
||||
}
|
||||
$('#mainContent #extra').html(extra);
|
||||
$('.tblFooters').html('<input type="button" value="' + Messages.strBack + '" id="backEditPd"><input type="button" id="goTo3NFFinish" value="' + Messages.strGo + '">');
|
||||
$('.tblFooters').html('<input type="button" class="btn btn-primary" value="' + Messages.strBack + '" id="backEditPd"><input type="button" class="btn btn-primary" id="goTo3NFFinish" value="' + Messages.strGo + '">');
|
||||
$('#goTo3NFFinish').on('click', function () {
|
||||
if (!pdFound) {
|
||||
goTo3NFFinish([]);
|
||||
|
||||
@ -245,7 +245,7 @@ class Normalization
|
||||
. "</select>"
|
||||
. "<span>" . __('split into ')
|
||||
. "</span><input id='numField' type='number' value='2'>"
|
||||
. "<input type='submit' id='splitGo' value='" . __('Go') . "'></div>"
|
||||
. '<input type="submit" class="btn btn-primary" id="splitGo" value="' . __('Go') . '"></div>'
|
||||
. "<div id='newCols'></div>"
|
||||
. "</fieldset><fieldset class='tblFooters'>"
|
||||
. "</fieldset>"
|
||||
|
||||
@ -974,7 +974,7 @@ class Routines
|
||||
$retval .= "<tr>";
|
||||
$retval .= " <td> </td>";
|
||||
$retval .= " <td>";
|
||||
$retval .= " <input type='button'";
|
||||
$retval .= ' <input type="button" class="btn btn-primary"';
|
||||
$retval .= " name='routine_addparameter'";
|
||||
$retval .= " value='" . __('Add parameter') . "'>";
|
||||
$retval .= " <input " . $disableRemoveParam . "";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user