This commit is contained in:
SBD
2024-01-14 15:59:20 +03:00
parent e465ed9244
commit 4b434a7ee6
4 changed files with 14 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ body,html{
background: #ffffff;
/*font-family: 'Verdana', sans-serif;*/
font-family: -apple-system, 'Roboto', sans-serif;
scroll-behavior: smooth;
/*font-family:*/
/* -apple-system,*/
/* 'Raleway-Black' ,*/
@@ -472,6 +473,7 @@ body.n_scroll{
.form_feedback_container{
margin: auto;
width: 80%;
scroll-margin-top: 140px;
}

View File

@@ -375,4 +375,14 @@ function changeSlideProject (el,type) {
cur_slide.classList.toggle("hide")
}
}
}
// go to download plugin
function redirectToDownloadPlugin () {
let lang = document.querySelector(".name_language").innerHTML
// if (!window.location.href.includes(`${window.location.origin}/${lang}/section/3d-security-designer/`)){
// window.location.href = `${window.location.origin}/${lang}/section/3d-security-designer/#feedback_form`
// } else {
window.location.href = `${window.location.origin}/${lang}/section/3d-security-designer/#feedback_form`
// }
}

View File

@@ -16,7 +16,7 @@
</div>
{% endif %}
{% if block.but1_title or block.but1_icon %}
<button class="btn_download_plugin pointer">
<button class="btn_download_plugin pointer" onclick="redirectToDownloadPlugin()">
<div class="container_content_btn_download">
{% if block.but1_icon %}
<div class="left_part_btn">

View File

@@ -2,7 +2,7 @@
{% load i18n %}
<div {% include "block_settings/blocks_settings.html" %}>
<div class="cut-width">
<div class="form_feedback_container">
<div class="form_feedback_container" id="feedback_form">
<div class="top_border_gradient"></div>
<form name="form_feedback" class="form_feedback">
<div class="container_content_form_feedback">