Dodan consulting popup v footer
This commit is contained in:
parent
d076c005ea
commit
4365f528a9
@ -573,6 +573,7 @@ class SurveyAdmin
|
||||
global $app_settings;
|
||||
global $site_frontend;
|
||||
global $aai_instalacija;
|
||||
global $mysql_database_name;
|
||||
|
||||
echo '<div id="srv_footer">';
|
||||
|
||||
@ -621,6 +622,13 @@ class SurveyAdmin
|
||||
// Desna stran footerja - report a bug
|
||||
echo '<div id="reportabug" class="footer_right">';
|
||||
|
||||
// www.1ka.si ima se link na go instrukcije
|
||||
if($mysql_database_name == 'www1kasi' || $mysql_database_name == 'test1kasi' || $mysql_database_name == 'test21kasi'){
|
||||
|
||||
echo '<a href="#" onClick="consultingPopupOpen();"><span class="faicon external_link"></span> '.$lang['srv_svetovanje'].'</a>';
|
||||
echo '<br>';
|
||||
}
|
||||
|
||||
// Posebej report buga za gorenje
|
||||
if (Common::checkModule('gorenje')){
|
||||
echo '<a href="https://helpdesk.gorenje.com/SubmitSR.jsp" target="_blank"><span class="faicon inline_comment"></span> '.$lang['srv_footer_reportabug'].'</a>';
|
||||
|
@ -6322,6 +6322,44 @@ class SurveyAdminAjax {
|
||||
|
||||
echo $site_url.'admin/survey/index.php?anketa='.$this->anketa;
|
||||
}
|
||||
|
||||
|
||||
// Display consulting popup
|
||||
function ajax_consulting_popup_open () {
|
||||
global $lang;
|
||||
|
||||
echo '<div class="popup_close"><a href="#" onClick="quick_title_edit_cancel(); return false;">✕</a></div>';
|
||||
|
||||
echo '<h2>'.$lang['srv_svetovanje'].'</h2>';
|
||||
|
||||
|
||||
echo '<div class="popup_content consulting">';
|
||||
|
||||
echo $lang['srv_svetovanje_text'].': ';
|
||||
echo '<br /><br />';
|
||||
|
||||
echo ' <div class="row">';
|
||||
|
||||
echo ' <div class="col">';
|
||||
echo ' <a href="https://www.1ka.si/d/sl/cenik/ostale-storitve" target="_blank"><span class="faicon cog_large"></span><span>'.$lang['srv_svetovanje_uporaba'].'</span></a>';
|
||||
echo ' </div>';
|
||||
|
||||
echo ' <div class="col">';
|
||||
echo ' <a href="https://www.go-tel.si/instrukcije/statistika" target="_blank"><span class="faicon chart_large"></span><span>'.$lang['srv_svetovanje_statistika'].'</span></a>';
|
||||
echo ' </div>';
|
||||
|
||||
echo ' <div class="col">';
|
||||
echo ' <a href="https://www.go-tel.si/instrukcije/1KA" target="_blank"><span class="faicon reload_large"></span><span>'.$lang['srv_svetovanje_metodologija'].'</span></a>';
|
||||
echo ' </div>';
|
||||
|
||||
echo '</div>';
|
||||
|
||||
echo '</div>';
|
||||
|
||||
echo '<div class="buttons_holder">';
|
||||
echo '<span class="buttonwrapper floatRight" title="'.$lang['srv_zapri'].'"><a class="ovalbutton ovalbutton_gray" href="#" onclick="smtpAAIPopupClose(); return false;"><span>'.$lang['srv_zapri'].'</span></a></span>';
|
||||
echo '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
@ -5454,3 +5454,17 @@ $(document).ready(function(){
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
// Popup za individualno svetovanje
|
||||
function consultingPopupOpen(){
|
||||
|
||||
$('#fade').fadeTo('slow', 1);
|
||||
$('#popup_note').html('').fadeIn('slow');
|
||||
$("#popup_note").load('ajax.php?a=consulting_popup_open', {anketa: srv_meta_anketa_id});
|
||||
}
|
||||
function consultingPopupClose(){
|
||||
|
||||
$('#popup_note').fadeOut('slow').html('');
|
||||
$('#fade').fadeOut('slow');
|
||||
}
|
||||
|
@ -4997,6 +4997,11 @@ $lang = array (
|
||||
'srv_unsubscribe_2' => "Odjavi uporabnika od prejemanja sporočil",
|
||||
'srv_footer_1ka' => "spletne ankete",
|
||||
'srv_footer_reportabug' => "Sporoči napako ali postavi vprašanje",
|
||||
'srv_svetovanje' => "Individualno svetovanje",
|
||||
'srv_svetovanje_text' => "Za uporabnike 1KA nudimo individualno svetovanje na področjih",
|
||||
'srv_svetovanje_uporaba' => "Uporaba 1KA",
|
||||
'srv_svetovanje_statistika' => "Statistika",
|
||||
'srv_svetovanje_metodologija' => "Metodologija",
|
||||
'srv_footer_links' => "<a href=\"https://www.1ka.si/d/sl/o-1ka/splosen-opis\" target=\"_blank\">O 1KA</a>
|
||||
| <a href=\"https://www.1ka.si/d/sl/pomoc\" target=\"_blank\">Pomoč</a>
|
||||
| <a href=\"https://www.1ka.si/d/sl/o-1ka/pogoji-uporabe-1ka\" target=\"_blank\">Pogoji uporabe</a>
|
||||
|
@ -4966,6 +4966,11 @@ $lang = array (
|
||||
'srv_unsubscribe_2' => "Unsubscribe user from receiving more emails",
|
||||
'srv_footer_1ka' => "web surveys",
|
||||
'srv_footer_reportabug' => "Report a bug or ask a question",
|
||||
'srv_svetovanje' => "Individual counseling",
|
||||
'srv_svetovanje_text' => "For 1KA users, we offer individual counseling in areas",
|
||||
'srv_svetovanje_uporaba' => "Using 1KA",
|
||||
'srv_svetovanje_statistika' => "Statistics",
|
||||
'srv_svetovanje_metodologija' => "Methodology",
|
||||
'srv_footer_links' => "<a href=\"https://www.1ka.si/d/en/about/general-description\" target=\"_blank\">About 1KA</a>
|
||||
| <a href=\"https://www.1ka.si/d/en/help\" target=\"_blank\">Help</a>
|
||||
| <a href=\"https://www.1ka.si/d/en/about/terms-of-use\" target=\"_blank\">Terms of use</a>
|
||||
|
@ -6220,14 +6220,19 @@ and open the template in the editor.
|
||||
text-align: left;
|
||||
}
|
||||
#srv_footer .footer_right {
|
||||
text-align: right;
|
||||
text-align: left;
|
||||
font-weight: 500;
|
||||
}
|
||||
#srv_footer .footer_right span.faicon:before {
|
||||
#srv_footer .footer_right span.faicon.inline_comment:before {
|
||||
font-size: 18px !important;
|
||||
vertical-align: -2px !important;
|
||||
margin-right: 3px;
|
||||
}
|
||||
#srv_footer .footer_right span.faicon.external_link:before {
|
||||
font-size: 16px !important;
|
||||
vertical-align: -1px !important;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
#srv_news {
|
||||
float: left;
|
||||
@ -7397,6 +7402,30 @@ span.basic-icon.spss::before {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
span.faicon.external_link::before {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
content: "";
|
||||
}
|
||||
|
||||
span.faicon.cog_large::before {
|
||||
font-size: 34px;
|
||||
font-weight: 600;
|
||||
content: "";
|
||||
}
|
||||
|
||||
span.faicon.chart_large::before {
|
||||
font-size: 34px;
|
||||
font-weight: 600;
|
||||
content: "";
|
||||
}
|
||||
|
||||
span.faicon.reload_large::before {
|
||||
font-size: 34px;
|
||||
font-weight: 600;
|
||||
content: "";
|
||||
}
|
||||
|
||||
/* CALENDAR */
|
||||
span.faicon.calendar_icon::before,
|
||||
button.ui-datepicker-trigger::before {
|
||||
@ -11361,6 +11390,25 @@ and open the template in the editor.
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
.popup_content.consulting {
|
||||
font-weight: 600;
|
||||
padding: 20px 20px;
|
||||
text-align: center;
|
||||
}
|
||||
.popup_content.consulting .row {
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
padding: 10px 0;
|
||||
}
|
||||
.popup_content.consulting .row .col {
|
||||
min-width: 120px;
|
||||
}
|
||||
.popup_content.consulting .row .col a {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/*
|
||||
To change this license header, choose License Headers in Project Properties.
|
||||
To change this template file, choose Tools | Templates
|
||||
|
@ -29,14 +29,20 @@ and open the template in the editor.
|
||||
}
|
||||
|
||||
.footer_right{
|
||||
text-align: right;
|
||||
text-align: left;
|
||||
font-weight: 500;
|
||||
|
||||
span.faicon:before{
|
||||
span.faicon.inline_comment:before{
|
||||
font-size: 18px !important;
|
||||
vertical-align: -2px !important;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
span.faicon.external_link:before{
|
||||
font-size: 16px !important;
|
||||
vertical-align: -1px !important;
|
||||
margin-right: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -434,6 +434,27 @@ span.basic-icon.spss::before{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
span.faicon.external_link::before{
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
content: "\f35d";
|
||||
}
|
||||
span.faicon.cog_large::before{
|
||||
font-size: 34px;
|
||||
font-weight: 600;
|
||||
content: "\f013";
|
||||
}
|
||||
span.faicon.chart_large::before{
|
||||
font-size: 34px;
|
||||
font-weight: 600;
|
||||
content: "\f201";
|
||||
}
|
||||
span.faicon.reload_large::before{
|
||||
font-size: 34px;
|
||||
font-weight: 600;
|
||||
content: "\f021";
|
||||
}
|
||||
|
||||
|
||||
/* CALENDAR */
|
||||
span.faicon.calendar_icon::before,
|
||||
|
28
resources/sass/admin/popup/consulting.scss
Normal file
28
resources/sass/admin/popup/consulting.scss
Normal file
@ -0,0 +1,28 @@
|
||||
|
||||
.popup_content.consulting{
|
||||
font-weight: 600;
|
||||
padding: 20px 20px;
|
||||
|
||||
text-align:center;
|
||||
|
||||
.row{
|
||||
display: flex;
|
||||
justify-content:space-around;
|
||||
|
||||
padding: 10px 0;
|
||||
|
||||
.col{
|
||||
min-width: 120px;
|
||||
|
||||
a{
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
text-align:center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -18,3 +18,4 @@
|
||||
@import "import_from_text";
|
||||
@import "archive";
|
||||
@import "preview_question";
|
||||
@import "consulting";
|
||||
|
Loading…
x
Reference in New Issue
Block a user