[Redizajn 1KA] - Moje ankete --> Uvoz .1ka datoteke - v3

This commit is contained in:
tejagerjovic 2022-01-06 14:31:19 +01:00
parent c287e98a12
commit a411e3972b
5 changed files with 58 additions and 73 deletions

View File

@ -477,6 +477,7 @@ class NewSurvey{
echo '<div class="fieldset">'; echo '<div class="fieldset">';
// Naslov // Naslov
echo '<div class="pre-title">' . $lang['srv_newSurvey_survey_archive'] . '</div>';
echo '<div class="title">' . $lang['srv_newSurvey_survey_archive_title'] . '</div>'; echo '<div class="title">' . $lang['srv_newSurvey_survey_archive_title'] . '</div>';
echo '<p class="bottom32">'.$lang['srv_newSurvey_survey_archive_text2'].'</p>'; echo '<p class="bottom32">'.$lang['srv_newSurvey_survey_archive_text2'].'</p>';
@ -487,7 +488,7 @@ class NewSurvey{
echo '<input type="hidden" name="has_data" value="0" />'; echo '<input type="hidden" name="has_data" value="0" />';
//echo '<input type="file" name="restore" onchange="document.restorefrm.submit();" />'; //echo '<input type="file" name="restore" onchange="document.restorefrm.submit();" />';
echo '<input type="file" name="restore" class="pointer" />'; echo '<label class="custom_file_upload">' . $lang['srv_newSurvey_survey_archive_choosefile'] . '<input type="file" name="restore" id="restore" /></label>';
echo $lang['srv_arhiv_datoteka_save_txt2'].'.'; echo $lang['srv_arhiv_datoteka_save_txt2'].'.';

View File

@ -7062,6 +7062,7 @@ $lang = array (
'srv_newSurvey_survey_copy_dropdown' => "-- Izberi anketo --", 'srv_newSurvey_survey_copy_dropdown' => "-- Izberi anketo --",
'srv_newSurvey_survey_copy_text' => "Naslov obstoječe ankete", 'srv_newSurvey_survey_copy_text' => "Naslov obstoječe ankete",
'srv_newSurvey_survey_archive' => "Uvoz .1ka datoteke", 'srv_newSurvey_survey_archive' => "Uvoz .1ka datoteke",
'srv_newSurvey_survey_archive_choosefile' => "Izberi datoteko",
'srv_newSurvey_survey_archive2' => "Uvozi 1ka anketo iz arhiva", 'srv_newSurvey_survey_archive2' => "Uvozi 1ka anketo iz arhiva",
'srv_newSurvey_survey_archive_title' => "Restavriraj anketo iz arhivske .1ka datoteke", 'srv_newSurvey_survey_archive_title' => "Restavriraj anketo iz arhivske .1ka datoteke",
'srv_newSurvey_survey_archive_text' => "Iz arhivske datoteke se bo ustvarila kopija arhivirane ankete", 'srv_newSurvey_survey_archive_text' => "Iz arhivske datoteke se bo ustvarila kopija arhivirane ankete",

View File

@ -6948,6 +6948,7 @@ $lang = array (
'srv_newSurvey_survey_copy_dropdown' => "-- Choose a survey --", 'srv_newSurvey_survey_copy_dropdown' => "-- Choose a survey --",
'srv_newSurvey_survey_copy_text' => "Existing survey title", 'srv_newSurvey_survey_copy_text' => "Existing survey title",
'srv_newSurvey_survey_archive' => ".1ka file import", 'srv_newSurvey_survey_archive' => ".1ka file import",
'srv_newSurvey_survey_archive_choosefile' => "Choose file",
'srv_newSurvey_survey_archive2' => "Import 1ka survey from archive", 'srv_newSurvey_survey_archive2' => "Import 1ka survey from archive",
'srv_newSurvey_survey_archive_title' => "Restore survey from the .1ka archive file", 'srv_newSurvey_survey_archive_title' => "Restore survey from the .1ka archive file",
'srv_newSurvey_survey_archive_text' => "Archived survey copy will be created from the archive file", 'srv_newSurvey_survey_archive_text' => "Archived survey copy will be created from the archive file",

View File

@ -13987,41 +13987,26 @@ and open the template in the editor.
#new_anketa_div .layout_right_item .fieldset .setting .radioSetting_type.active { #new_anketa_div .layout_right_item .fieldset .setting .radioSetting_type.active {
color: #777777; color: #777777;
} }
#new_anketa_div .layout_right_item .fieldset .setting input { #new_anketa_div .layout_right_item .fieldset .setting input[type=file]#restore {
padding: 0; display: none;
margin: 0;
} }
#new_anketa_div .layout_right_item .fieldset .setting select { #new_anketa_div .layout_right_item .fieldset .setting label.custom_file_upload {
padding: 2px 5px; box-sizing: border-box;
margin: 0; cursor: pointer;
width: 302px; font-weight: 600;
font-size: 12px; font-family: Source Sans Pro, sans-serif;
border: 1px solid #1E88E5 !important; box-shadow: none;
border-radius: 1px; border: 0;
transition: 0.3s;
padding: 10px 32px;
min-width: 160px;
font-size: 16px;
color: #333333;
background-color: #E5E5E5;
border: 1px #333333 solid;
} }
#new_anketa_div .layout_right_item .fieldset .setting input[type=file] { #new_anketa_div .layout_right_item .fieldset .setting label.custom_file_upload:hover {
height: 24px; background-color: #d8d8d8;
width: 240px;
font-size: 10px;
}
#new_anketa_div .layout_right_item .fieldset .setting input[type=text] {
padding: 10px 12px;
width: 310px;
font-size: 15px;
border: 1px solid #1E88E5 !important;
border-radius: 1px;
}
#new_anketa_div .layout_right_item .fieldset .setting #novaanketa_akronim_1_chars {
float: right;
padding-right: 15px;
font-weight: 400;
font-size: 11px;
}
#new_anketa_div .layout_right_item .fieldset .setting #novaanketa_naslov_1_chars {
float: right;
padding-right: 7px;
font-weight: 400;
font-size: 11px;
} }
#new_anketa_div .layout_right_item .fieldset .setting input[type=radio] { #new_anketa_div .layout_right_item .fieldset .setting input[type=radio] {
margin: 0 8px 4px 0; margin: 0 8px 4px 0;

View File

@ -81,46 +81,41 @@ $skin_selector: $red;
.radioSetting_type.active { .radioSetting_type.active {
color: $selectors; color: $selectors;
} }
input {
padding: 0;
margin: 0;
}
select {
padding: 2px 5px;
margin: 0;
width: 302px;
font-size: 12px;
border: 1px solid $blue !important;
border-radius: 1px;
}
input[type="file"] {
height: 24px;
width: 240px;
font-size: 10px;
}
input[type="text"] {
padding: 10px 12px;
width: 310px;
font-size: 15px; //Custom inputi
input[type="file"]#restore {
border: 1px solid $blue !important; display: none;
border-radius: 1px;
} }
#novaanketa_akronim_1_chars {
float: right;
padding-right: 15px;
font-weight: 400; //Button - medium - gray
font-size: 11px; label.custom_file_upload {
} box-sizing: border-box;
#novaanketa_naslov_1_chars { cursor: pointer;
float: right;
padding-right: 7px;
font-weight: 400; font-weight: $semi-bold;
font-size: 11px; font-family: $font_family;
box-shadow: none;
border: 0;
transition: 0.3s;
padding: 10px 32px;
min-width: 160px;
font-size: 16px;
color: $black;
background-color: $gray;
border: 1px $black solid;
&:hover {
background-color: darken($gray, 5%);
} }
}
input[type="radio"] { input[type="radio"] {
margin: 0 8px 4px 0; margin: 0 8px 4px 0;
display: none !important; display: none !important;
@ -183,6 +178,8 @@ $skin_selector: $red;
color: $radio_selector; color: $radio_selector;
} }
} }
.survey_title_text_holder{ .survey_title_text_holder{
display: flex; display: flex;
flex-direction: row; flex-direction: row;