[Redizajn 1KA] Popupi: Urejanje > Vprašalnik > Napredne možnosti urejanje - Poišči in zamenjaj

This commit is contained in:
tejagerjovic 2022-05-05 13:51:08 +02:00
parent ba2acfb2ea
commit e445593f81
5 changed files with 41 additions and 9 deletions

View File

@ -2766,13 +2766,25 @@ class BranchingAjax {
echo '<h2>'.$lang['srv_find_replace'].'</h2>';
echo '<p class="gray">'.$lang['srv_find_text'].'</p>';
echo '<p class="gray bottom16">'.$lang['srv_find_text'].'</p>';
echo '<p><label style="display:inline-block; width:100px">'.$lang['srv_find'].': </label><input type="text" name="find" style="width:200px"><span id="find_count" style="color:red; margin:0 20px"></span></p>';
echo '<p><label style="display:inline-block; width:100px">'.$lang['srv_replace_with'].': </label><input type="text" name="replace" style="width:200px"></p>';
echo '<div class="setting_holder">';
echo '<p>'.$lang['srv_find'].':</p>';
echo '<div class="find-holder">';
echo '<input type="text" class="text large" name="find">';
echo '<span class="red" id="find_count" style="margin-left: 16px;"></span>';
echo '</div>';
echo '</div>';
echo '<span class="floatRight"><div class="buttonwrapper"><a class="ovalbutton ovalbutton_orange btn_savesettings" onclick="find_replace_do(); return false;" href="#"><span>'.$lang['srv_replace'].'</span></a></div></span>';
echo '<span class="floatRight spaceRight"><div class="buttonwrapper"><a class="ovalbutton ovalbutton_gray btn_savesettings" onclick="$(\'#vrednost_edit\').hide().html(\'\'); $(\'#fade\').fadeOut(); return false;" href="#"><span>'.$lang['srv_cancel'].'</span></a></div></span>';
echo '<div class="setting_holder">';
echo '<p>'.$lang['srv_replace_with'].':</p>';
echo '<input type="text" class="text large" name="replace">';
echo '</div>';
echo '<div class="button_holder">';
echo '<button class="medium white-blue" onClick="$(\'#vrednost_edit\').hide().html(\'\'); $(\'#fade\').fadeOut(); return false;">'.$lang['srv_cancel'].'</button>';
echo '<button class="medium blue" onclick="find_replace_do(); return false;">'.$lang['srv_replace'].'</button>';
echo '</div>';
}
function ajax_find_replace_count() {

View File

@ -5853,7 +5853,7 @@ $lang = array (
"XSTARleta" => 'Starost: vnos starosti (min: 10 let, max: 90 let)',
"XLETNICA" => 'Starost: izbira letnice rojstva v roleti z letnicami od 1910 do 2010.',
"XDATUMROJ" => 'Starost: Izbira datuma rojstva na koledarju',
"srv_find_text" => 'Zgolj za iskanje uporabite Ctrl + F',
"srv_find_text" => 'Zgolj za iskanje uporabite Ctrl + F.',
"srv_find_replace_count" => 'Najdenih besed',
"srv_demografija_text" => 'Na konec ankete lahko dodate že pripravljena demografska vprašanja',
"srv_demografska_vprasanja" => 'Demografska vprašanja',

View File

@ -5748,7 +5748,7 @@ $lang = array (
"srv_break_kategories_note" => 'Choose two category:',
"srv_break_error_note_1" => 'Independent variable is not selected!',
"srv_break_table_for" => 'Table for: ',
"srv_find_text" => 'For search only use Ctrl + F',
"srv_find_text" => 'For search only use Ctrl + F.',
"srv_find_replace_count" => 'Words found',
"srv_demografija_text" => 'You can add demographic questions to the end of the survey',
"srv_demografska_vprasanja" => 'Demographic questions',

View File

@ -8193,6 +8193,13 @@ fieldset#missingProfileFieldset div.mv_settings_other {
margin-bottom: 16px;
}
div.setting_holder div.find-wrap {
display: flex;
flex-direction: row;
align-items: center;
gap: 16px;
}
/*
Header scss - top line, menu...
*/

View File

@ -93,3 +93,16 @@ fieldset#missingProfileFieldset {
}
}
/////// UREJANJE //////@
//Vprašalnik
div.setting_holder {
div.find-wrap {
display: flex;
flex-direction: row;
align-items: center;
gap: 16px;
}
}