Merge branch 'master' of https://git.1ka.si:/git/1ka
This commit is contained in:
commit
0418b479b3
@ -7501,8 +7501,8 @@ class Branching {
|
||||
// Dodaj blok/if v knjiznico
|
||||
echo '<div class="condition_setting_holder">';
|
||||
|
||||
echo ' <div class="condition_setting_line">';
|
||||
echo ' <button class="blue small" onClick="displayAddIntoLibraryPopup(\''.$if.'\', \'2_'.$row['tip'].'\');">'.$lang['srv_library_add_to_lib'].'</button>';
|
||||
echo ' <div class="condition_setting_line with-icon">';
|
||||
echo ' <span onClick="displayAddIntoLibraryPopup(\''.$if.'\', \'2_'.$row['tip'].'\');"><span class="faicon library"></span>'.$lang['srv_library_add_to_lib'].'</span>';
|
||||
echo ' </div>';
|
||||
|
||||
echo '</div>';
|
||||
@ -7657,15 +7657,16 @@ class Branching {
|
||||
echo '</div>';
|
||||
|
||||
|
||||
echo '<div class="button_holder">';
|
||||
echo '<div class="remove_condition_holder">';
|
||||
|
||||
echo ' <button id="if_remove_all" class="small black-white" onclick="if_remove(\''.$if.'\', \'1\', \'0\'); return false;" title="'.($row['tip'] == 0 ? $lang['srv_if_rem_all'] : ($row['tip']==1?$lang['srv_block_rem_all']:$lang['srv_loop_rem_all']) ).'">';
|
||||
echo ' <div id="if_remove_all" onclick="if_remove(\''.$if.'\', \'1\', \'0\'); return false;" title="'.($row['tip'] == 0 ? $lang['srv_if_rem_all'] : ($row['tip']==1?$lang['srv_block_rem_all']:$lang['srv_loop_rem_all']) ).'">';
|
||||
echo ($row['tip'] == 0 ? $lang['srv_if_rem_all'] : ($row['tip']==1?$lang['srv_block_rem_all']:$lang['srv_loop_rem_all']) );
|
||||
echo ' </button>';
|
||||
echo ' </div>';
|
||||
|
||||
echo ' <button class="small white-blue"onclick="if_remove(\''.$if.'\'); return false;" title="'.($row['tip'] == 0 ? $lang['srv_if_rem'] : ($row['tip']==1?$lang['srv_block_rem']:$lang['srv_loop_rem']) ).'">';
|
||||
echo ($row['tip'] == 0 ? $lang['srv_if_rem'] : ($row['tip']==1?$lang['srv_block_rem']:$lang['srv_loop_rem']) );
|
||||
echo ' </button>';
|
||||
echo ' <div onclick="if_remove(\''.$if.'\'); return false;" title="'.($row['tip'] == 0 ? $lang['srv_if_rem_only'] : ($row['tip']==1?$lang['srv_block_rem_only']:$lang['srv_loop_rem_only']) ).'">';
|
||||
echo ' <span class="faicon delete"></span>';
|
||||
echo ($row['tip'] == 0 ? $lang['srv_if_rem_only'] : ($row['tip']==1?$lang['srv_block_rem_only']:$lang['srv_loop_rem_only']) );
|
||||
echo ' </div>';
|
||||
|
||||
echo '</div>';
|
||||
|
||||
|
@ -1967,8 +1967,8 @@ class Vprasanje {
|
||||
|
||||
echo '<div class="vprasanje_setting_holder">';
|
||||
|
||||
echo ' <div class="vprasanje_setting_line">';
|
||||
echo ' <button class="blue small" onClick="displayAddIntoLibraryPopup(\''.$this->spremenljivka.'\', \'1\');">'.$lang['srv_library_add_to_lib'].'</button>';
|
||||
echo ' <div class="vprasanje_setting_line with-icon">';
|
||||
echo ' <span onClick="displayAddIntoLibraryPopup(\''.$this->spremenljivka.'\', \'1\');"><span class="faicon library"></span>'.$lang['srv_library_add_to_lib'].'</span>';
|
||||
echo ' </div>';
|
||||
|
||||
echo '</div>';
|
||||
@ -2653,15 +2653,24 @@ class Vprasanje {
|
||||
// Hitro dodajanje kategorij
|
||||
echo '<div class="vprasanje_setting_holder" '.$displayNone.'>';
|
||||
|
||||
echo ' <div class="vprasanje_setting_line">';
|
||||
echo ' <span onclick="vrednost_fastadd(\''.$this->spremenljivka.'\'); return false;" class="pointer"><span class="sprites paste_word"></span> ';
|
||||
echo ' <div class="vprasanje_setting_line with-icon">';
|
||||
|
||||
if ( in_array($row['tip'], array(6, 16, 19, 20)) )
|
||||
echo $lang['srv_question_fastadd'].' '.Help::display('srv_question_fastadd');
|
||||
else
|
||||
echo $lang['srv_vrednost_fastadd'].' '.Help::display('srv_vrednost_fastadd');
|
||||
|
||||
if ( in_array($row['tip'], array(6, 16, 19, 20)) ){
|
||||
echo '<span onclick="vrednost_fastadd(\''.$this->spremenljivka.'\'); return false;" class="pointer"><span class="faicon file-import"></span> ';
|
||||
echo $lang['srv_question_fastadd'].' ';
|
||||
echo '</span>';
|
||||
|
||||
echo Help::display('srv_question_fastadd');
|
||||
}
|
||||
else{
|
||||
echo '<span onclick="vrednost_fastadd(\''.$this->spremenljivka.'\'); return false;" class="pointer"><span class="faicon file-import"></span> ';
|
||||
echo $lang['srv_vrednost_fastadd'].' ';
|
||||
echo '</span>';
|
||||
|
||||
echo Help::display('srv_vrednost_fastadd');
|
||||
}
|
||||
|
||||
echo ' </div>';
|
||||
|
||||
echo '</div>';
|
||||
|
@ -128,7 +128,7 @@ class DisplayCheck{
|
||||
echo '<div class="bottom_buttons">';
|
||||
echo ' <a href="index.php?step=welcome"><input name="back" value="'.$lang['back'].'" type="button"></a>';
|
||||
if(!$red_error)
|
||||
echo ' <a href="index.php?step=settings"><input type="button" value="'.$lang['next1'].'"></a>';
|
||||
echo ' <a href="index.php?step=database"><input type="button" value="'.$lang['next1'].'"></a>';
|
||||
else
|
||||
echo ' <a href="index.php?step=check"><input type="button" value="Ponovno preveri"></a>';
|
||||
echo '</div>';
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
class ImportDB{
|
||||
|
||||
var $clean_db_file = '../../sql/1ka_clean_27-7-2020.sql'; // Datoteka prazne baze za uvoz
|
||||
var $clean_db_file = '../../sql/1ka_clean_26-11-2021.sql'; // Datoteka prazne baze za uvoz
|
||||
var $update_db_file = '../../sql/update2.sql'; // Datoteka prazne baze za uvoz
|
||||
|
||||
var $version = ''; // Trenutna verzija 1ke
|
||||
|
@ -265,19 +265,19 @@ footer .footer_content .logo_holder img {
|
||||
|
||||
/************WELCOME STRAN***************/
|
||||
.main_content.welcome h2::before {
|
||||
content: "1/5 - ";
|
||||
content: "1/4 - ";
|
||||
}
|
||||
|
||||
/******************************/
|
||||
/************FINISH STRAN***************/
|
||||
.main_content.finish h2::before {
|
||||
content: "5/5 - ";
|
||||
content: "4/4 - ";
|
||||
}
|
||||
|
||||
/******************************/
|
||||
/************CHECK STRAN***************/
|
||||
.main_content.check h2::before {
|
||||
content: "2/5 - ";
|
||||
content: "2/4 - ";
|
||||
}
|
||||
.main_content.check .check_segment {
|
||||
margin: 0 0 20px 0;
|
||||
@ -312,7 +312,7 @@ footer .footer_content .logo_holder img {
|
||||
/******************************/
|
||||
/************SETTINGS STRAN***************/
|
||||
.main_content.settings h2::before {
|
||||
content: "3/5 - ";
|
||||
content: "3/4 - ";
|
||||
}
|
||||
.main_content.settings .settings_segment {
|
||||
margin: 0 0 20px 0;
|
||||
@ -343,7 +343,7 @@ footer .footer_content .logo_holder img {
|
||||
/******************************/
|
||||
/************DATABASE STRAN***************/
|
||||
.main_content.database h2::before {
|
||||
content: "4/5 - ";
|
||||
content: "3/4 - ";
|
||||
}
|
||||
|
||||
/******************************/
|
||||
|
@ -2190,11 +2190,14 @@ $lang = array (
|
||||
"srv_podif_edit" => "Uredi pogoj za prikaz kategorije",
|
||||
"srv_block_new" => "Dodaj blok",
|
||||
"srv_if_rem" => "Odstrani pogoj",
|
||||
"srv_if_rem_all" => "Izbriši pogoj in celotno vsebino",
|
||||
"srv_if_rem_only" => "Odstrani pogoj (obdrži vsebino)",
|
||||
"srv_if_rem_all" => "Odstrani pogoj in celotno vsebino",
|
||||
"srv_block_rem" => "Odstrani blok",
|
||||
"srv_block_rem_only" => "Odstrani blok (obdrži vsebino)",
|
||||
"srv_block_rem_all" => "Odstrani blok in celotno vsebino",
|
||||
"srv_loop_rem" => "Odstrani zanko",
|
||||
"srv_block_rem_all" => "Izbriši blok in celotno vsebino",
|
||||
"srv_loop_rem_all" => "Izbriši zanko in celotno vsebino",
|
||||
"srv_loop_rem_only" => "Odstrani zanko (obdrži vsebino)",
|
||||
"srv_loop_rem_all" => "Odstrani zanko in celotno vsebino",
|
||||
"srv_if_edit" => "Uredi pogoj",
|
||||
"srv_block_edit" => "Uredi blok",
|
||||
"srv_loop_edit" => "Uredi zanko",
|
||||
|
@ -2177,10 +2177,13 @@ $lang = array (
|
||||
"srv_podif_edit" => "Edit conditions *IF for category display",
|
||||
"srv_block_new" => "Add block",
|
||||
"srv_if_rem" => "Remove condition",
|
||||
"srv_if_rem_only" => "Remove condition (keep content)",
|
||||
"srv_if_rem_all" => "Remove condition and all its content",
|
||||
"srv_block_rem" => "Remove block",
|
||||
"srv_loop_rem" => "Remove loop",
|
||||
"srv_block_rem_only" => "Remove block (keep content)",
|
||||
"srv_block_rem_all" => "Remove block and all its content",
|
||||
"srv_loop_rem" => "Remove loop",
|
||||
"srv_loop_rem_only" => "Remove loop (keep content)",
|
||||
"srv_loop_rem_all" => "Remove loop and all its content",
|
||||
"srv_if_edit" => "Edit if",
|
||||
"srv_block_edit" => "Edit block",
|
||||
|
@ -5466,13 +5466,11 @@ span.faicon.export::before {
|
||||
content: "\f56e";
|
||||
}
|
||||
|
||||
/*span.faicon.import::before{
|
||||
font-size: 24px;
|
||||
content: "\f56f";
|
||||
}*/
|
||||
/*span.faicon.import{
|
||||
width: 32px;
|
||||
}*/
|
||||
span.faicon.file-import::before {
|
||||
content: "";
|
||||
transform: scaleX(-1);
|
||||
}
|
||||
|
||||
span.faicon.import::before {
|
||||
font-size: 24px;
|
||||
font-weight: 400;
|
||||
@ -13911,6 +13909,25 @@ div#variabla_new span.correct {
|
||||
#vprasanje_float_editing .vprasanje_edit_holder .vprasanje_setting_holder .vprasanje_setting_line.half-half .content textarea {
|
||||
width: 100%;
|
||||
}
|
||||
#vprasanje_float_editing .vprasanje_edit_holder .vprasanje_setting_holder .vprasanje_setting_line.with-icon span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
color: #1E88E5;
|
||||
}
|
||||
#vprasanje_float_editing .vprasanje_edit_holder .vprasanje_setting_holder .vprasanje_setting_line.with-icon span:hover {
|
||||
color: #0059ab;
|
||||
}
|
||||
#vprasanje_float_editing .vprasanje_edit_holder .vprasanje_setting_holder .vprasanje_setting_line.with-icon span:hover .faicon::before {
|
||||
color: #0059ab;
|
||||
}
|
||||
#vprasanje_float_editing .vprasanje_edit_holder .vprasanje_setting_holder .vprasanje_setting_line.with-icon .faicon {
|
||||
margin-right: 8px;
|
||||
}
|
||||
#vprasanje_float_editing .vprasanje_edit_holder .vprasanje_setting_holder .vprasanje_setting_line.with-icon .faicon:before {
|
||||
color: #1E88E5;
|
||||
font-size: 18px;
|
||||
}
|
||||
#vprasanje_float_editing .vprasanje_edit_holder p,
|
||||
#vprasanje_float_editing .vprasanje_edit_holder span,
|
||||
#vprasanje_float_editing .vprasanje_edit_holder label {
|
||||
@ -18234,6 +18251,25 @@ and open the template in the editor.
|
||||
#branching #div_condition_editing_float .condition_edit .condition_setting_holder .condition_setting_line.half-half .content textarea {
|
||||
width: 100%;
|
||||
}
|
||||
#branching #div_condition_editing_float .condition_edit .condition_setting_holder .condition_setting_line.with-icon span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
color: #1E88E5;
|
||||
}
|
||||
#branching #div_condition_editing_float .condition_edit .condition_setting_holder .condition_setting_line.with-icon span:hover {
|
||||
color: #0059ab;
|
||||
}
|
||||
#branching #div_condition_editing_float .condition_edit .condition_setting_holder .condition_setting_line.with-icon span:hover .faicon::before {
|
||||
color: #0059ab;
|
||||
}
|
||||
#branching #div_condition_editing_float .condition_edit .condition_setting_holder .condition_setting_line.with-icon .faicon {
|
||||
margin-right: 8px;
|
||||
}
|
||||
#branching #div_condition_editing_float .condition_edit .condition_setting_holder .condition_setting_line.with-icon .faicon:before {
|
||||
color: #1E88E5;
|
||||
font-size: 18px;
|
||||
}
|
||||
#branching #div_condition_editing_float .condition_edit p,
|
||||
#branching #div_condition_editing_float .condition_edit span,
|
||||
#branching #div_condition_editing_float .condition_edit label {
|
||||
@ -18287,6 +18323,33 @@ and open the template in the editor.
|
||||
#branching #div_condition_editing_float .button_holder button:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
#branching #div_condition_editing_float .remove_condition_holder {
|
||||
margin: 0 16px;
|
||||
padding: 16px 0;
|
||||
border-top: 1px #D3D3D3 solid;
|
||||
}
|
||||
#branching #div_condition_editing_float .remove_condition_holder div {
|
||||
cursor: pointer;
|
||||
margin-bottom: 16px;
|
||||
color: #1E88E5;
|
||||
font-size: 14px;
|
||||
transition: 0.2s;
|
||||
}
|
||||
#branching #div_condition_editing_float .remove_condition_holder div .faicon {
|
||||
margin-right: 8px;
|
||||
}
|
||||
#branching #div_condition_editing_float .remove_condition_holder div .faicon:before {
|
||||
font-size: 14px;
|
||||
}
|
||||
#branching #div_condition_editing_float .remove_condition_holder div:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
#branching #div_condition_editing_float .remove_condition_holder div:hover {
|
||||
color: #0059ab;
|
||||
}
|
||||
#branching #div_condition_editing_float .remove_condition_holder div:hover .faicon:before {
|
||||
color: #0059ab;
|
||||
}
|
||||
#branching span.IF_title_start {
|
||||
font-weight: 900;
|
||||
color: #1E88E5;
|
||||
|
@ -78,16 +78,11 @@ span.faicon.export::before{
|
||||
content: "\f56e";
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*span.faicon.import::before{
|
||||
font-size: 24px;
|
||||
span.faicon.file-import::before{
|
||||
content: "\f56f";
|
||||
}*/
|
||||
transform: scaleX(-1);
|
||||
}
|
||||
|
||||
/*span.faicon.import{
|
||||
width: 32px;
|
||||
}*/
|
||||
span.faicon.import::before{
|
||||
font-size: 24px;
|
||||
font-weight: 400;
|
||||
|
@ -455,6 +455,34 @@ and open the template in the editor.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.with-icon{
|
||||
|
||||
span{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
cursor: pointer;
|
||||
color: $blue;
|
||||
|
||||
&:hover{
|
||||
color: $dark-blue;
|
||||
|
||||
.faicon::before{
|
||||
color: $dark-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.faicon{
|
||||
margin-right: 8px;
|
||||
|
||||
&:before{
|
||||
color: $blue;
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -531,6 +559,43 @@ and open the template in the editor.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.remove_condition_holder{
|
||||
margin: 0 16px;
|
||||
padding: 16px 0;
|
||||
|
||||
border-top: 1px $dark-gray2 solid;
|
||||
|
||||
div{
|
||||
cursor: pointer;
|
||||
margin-bottom: 16px;
|
||||
|
||||
color: $blue;
|
||||
font-size: 14px;
|
||||
|
||||
transition: 0.2s;
|
||||
|
||||
.faicon{
|
||||
margin-right: 8px;
|
||||
|
||||
&:before{
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&:hover{
|
||||
color: $dark-blue;
|
||||
|
||||
.faicon:before{
|
||||
color: $dark-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -213,6 +213,34 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.with-icon{
|
||||
|
||||
span{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
cursor: pointer;
|
||||
color: $blue;
|
||||
|
||||
&:hover{
|
||||
color: $dark-blue;
|
||||
|
||||
.faicon::before{
|
||||
color: $dark-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.faicon{
|
||||
margin-right: 8px;
|
||||
|
||||
&:before{
|
||||
color: $blue;
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
7936
sql/1ka_clean_26-11-2021.sql
Normal file
7936
sql/1ka_clean_26-11-2021.sql
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user