Commit 7a0d01e9 by Ruha

some additional fixes

1 parent 3238b888
Pipeline #2634 for 7a0d01e9 skipped in 0 seconds
......@@ -2,6 +2,7 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="f27ea491-44a7-4742-b6b4-1d473d258e2e" name="Default" comment="">
<change type="DELETED" beforePath="$PROJECT_DIR$/css/additional.min.css" afterPath="" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/css/additional.css" afterPath="$PROJECT_DIR$/css/additional.css" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/css/style.css" afterPath="$PROJECT_DIR$/css/style.css" />
......@@ -29,11 +30,11 @@
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="index.html" pinned="false" current-in-tab="false">
<file leaf-file-name="index.html" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="277">
<caret line="34" column="46" selection-start-line="34" selection-start-column="46" selection-end-line="34" selection-end-column="46" />
<state relative-caret-position="192">
<caret line="8" column="51" selection-start-line="8" selection-start-column="51" selection-end-line="8" selection-end-column="51" />
<folding />
</state>
</provider>
......@@ -42,8 +43,8 @@
<file leaf-file-name="additional.css" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/css/additional.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="716">
<caret line="315" column="0" selection-start-line="315" selection-start-column="0" selection-end-line="315" selection-end-column="0" />
<state relative-caret-position="134">
<caret line="283" column="17" selection-start-line="283" selection-start-column="17" selection-end-line="283" selection-end-column="17" />
<folding />
</state>
</provider>
......@@ -52,8 +53,8 @@
<file leaf-file-name="style.css" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/css/style.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="336">
<caret line="194" column="30" selection-start-line="194" selection-start-column="30" selection-end-line="194" selection-end-column="30" />
<state relative-caret-position="216">
<caret line="195" column="3" selection-start-line="195" selection-start-column="3" selection-end-line="195" selection-end-column="3" />
<folding />
</state>
</provider>
......@@ -62,8 +63,8 @@
<file leaf-file-name="common.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/js/common.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="650">
<caret line="309" column="0" selection-start-line="309" selection-start-column="0" selection-end-line="309" selection-end-column="0" />
<state relative-caret-position="289">
<caret line="256" column="20" selection-start-line="256" selection-start-column="20" selection-end-line="256" selection-end-column="20" />
<folding>
<element signature="n#!!doc" expanded="true" />
</folding>
......@@ -71,11 +72,11 @@
</provider>
</entry>
</file>
<file leaf-file-name="handler.php" pinned="false" current-in-tab="true">
<file leaf-file-name="handler.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/handler.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="668">
<caret line="127" column="0" selection-start-line="127" selection-start-column="0" selection-end-line="127" selection-end-column="0" />
<state relative-caret-position="48">
<caret line="2" column="35" selection-start-line="2" selection-start-column="35" selection-end-line="2" selection-end-column="35" />
<folding />
</state>
</provider>
......@@ -96,11 +97,11 @@
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/css/style.css" />
<option value="$PROJECT_DIR$/js/common.js" />
<option value="$PROJECT_DIR$/handler.php" />
<option value="$PROJECT_DIR$/css/additional.css" />
<option value="$PROJECT_DIR$/css/style.css" />
<option value="$PROJECT_DIR$/index.html" />
<option value="$PROJECT_DIR$/handler.php" />
</list>
</option>
</component>
......@@ -145,8 +146,6 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="Scratches" />
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<PATH>
......@@ -181,6 +180,8 @@
</PATH>
</subPane>
</pane>
<pane id="Scope" />
<pane id="Scratches" />
</panes>
</component>
<component name="PropertiesComponent">
......@@ -233,18 +234,18 @@
<option name="remove_strategy" value="false" />
</component>
<component name="ToolWindowManager">
<frame x="-8" y="38" width="1936" height="1050" extended-state="6" />
<frame x="-8" y="38" width="1936" height="1050" extended-state="7" />
<editor active="false" />
<layout>
<window_info id="Remote Host" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32995737" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.26865673" sideWeight="0.5" order="1" side_tool="false" content_ui="combo" />
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2739872" sideWeight="0.5" order="1" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32897604" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="File Transfer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32897604" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
<window_info id="File Transfer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3278867" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3293348" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
......@@ -276,6 +277,82 @@
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2064">
<caret line="86" column="113" selection-start-line="86" selection-start-column="113" selection-end-line="86" selection-end-column="113" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/css/additional.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="55" selection-start-line="0" selection-start-column="55" selection-end-line="0" selection-end-column="55" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/css/style.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/js/common.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="7416">
<caret line="309" column="0" selection-start-line="309" selection-start-column="0" selection-end-line="309" selection-end-column="0" />
<folding>
<element signature="n#!!doc" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/handler.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="3048">
<caret line="127" column="0" selection-start-line="127" selection-start-column="0" selection-end-line="127" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/css/additional.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="7560">
<caret line="315" column="0" selection-start-line="315" selection-start-column="0" selection-end-line="315" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/css/style.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="4656">
<caret line="194" column="30" selection-start-line="194" selection-start-column="30" selection-end-line="194" selection-end-column="30" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/js/common.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="7416">
<caret line="309" column="0" selection-start-line="309" selection-start-column="0" selection-end-line="309" selection-end-column="0" />
<folding>
<element signature="n#!!doc" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="3768">
<caret line="157" column="14" selection-start-line="157" selection-start-column="14" selection-end-line="157" selection-end-column="14" />
<folding />
......@@ -502,42 +579,42 @@
</entry>
<entry file="file://$PROJECT_DIR$/js/common.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="650">
<caret line="309" column="0" selection-start-line="309" selection-start-column="0" selection-end-line="309" selection-end-column="0" />
<state relative-caret-position="289">
<caret line="256" column="20" selection-start-line="256" selection-start-column="20" selection-end-line="256" selection-end-column="20" />
<folding>
<element signature="n#!!doc" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/css/additional.css">
<entry file="file://$PROJECT_DIR$/handler.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="716">
<caret line="315" column="0" selection-start-line="315" selection-start-column="0" selection-end-line="315" selection-end-column="0" />
<state relative-caret-position="48">
<caret line="2" column="35" selection-start-line="2" selection-start-column="35" selection-end-line="2" selection-end-column="35" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/css/style.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="336">
<caret line="194" column="30" selection-start-line="194" selection-start-column="30" selection-end-line="194" selection-end-column="30" />
<state relative-caret-position="216">
<caret line="195" column="3" selection-start-line="195" selection-start-column="3" selection-end-line="195" selection-end-column="3" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/index.html">
<entry file="file://$PROJECT_DIR$/css/additional.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="277">
<caret line="34" column="46" selection-start-line="34" selection-start-column="46" selection-end-line="34" selection-end-column="46" />
<state relative-caret-position="134">
<caret line="283" column="17" selection-start-line="283" selection-start-column="17" selection-end-line="283" selection-end-column="17" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/handler.php">
<entry file="file://$PROJECT_DIR$/index.html">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="668">
<caret line="127" column="0" selection-start-line="127" selection-start-column="0" selection-end-line="127" selection-end-column="0" />
<state relative-caret-position="192">
<caret line="8" column="51" selection-start-line="8" selection-start-column="51" selection-end-line="8" selection-end-column="51" />
<folding />
</state>
</provider>
......
.nowrap {
white-space: nowrap;
display: inline !important;
}
#overlay {
background: rgba(0, 0, 0, .5);
......@@ -22,9 +26,11 @@
padding: 0 0 12px 0;
border-radius: 8px;
}
.modal-container {
}
.hidden {
display: none;
}
......@@ -123,9 +129,11 @@ fieldset {
.tm {
margin-left: 40px;
}
.item-poss a {
cursor: default;
}
.arrow-up {
content: "";
display: block;
......@@ -138,7 +146,7 @@ fieldset {
background-size: cover;
margin-top: -32px;
cursor: pointer;
z-index:100;
z-index: 100;
}
.arrow-down {
......@@ -153,8 +161,9 @@ fieldset {
background-size: cover;
margin-top: -32px;
cursor: pointer;
z-index:50;
z-index: 50;
}
.time.tm::after {
width: 16px;
height: 4px;
......@@ -165,6 +174,7 @@ fieldset {
right: -161px;
border-top: 2px solid #cacaca;
}
.tm2 {
margin-left: 32px;
}
......@@ -234,13 +244,13 @@ input.valid {
padding-top: 20px;
}
@media (max-width: 480px) {
@media (max-width: 480px) and (min-width: 321px) {
.modal {
width: 360px;
}
.map-ct1 {
padding-top: 0px;
padding-top: 0px!important;
}
#footer-form input {
......@@ -270,7 +280,8 @@ input.valid {
@media (max-width: 769px) and (min-width: 481px) {
.map-ct1 {
padding-top: 0px;
padding-top: 0px!important;
height:1150px!important;
}
#footer-form input {
......@@ -284,10 +295,13 @@ input.valid {
@media (max-width: 320px) {
.time.tm::after {
right:-130px;
right: -130px;
}
.map-ct1 {
padding-top: 0px;
padding-top: 0px!important;
height:950px!important;
overflow: hidden;
}
#footer-form input {
......@@ -297,19 +311,37 @@ input.valid {
#footer-form label.error {
left: 127px
}
.modal {
width: 300px;
}
.button {width: 273px;}
.input {width:273px;}
.button {
width: 273px;
}
.input {
width: 273px;
}
#footer-form label {
padding: 0px 5px;
}
.arrow-up, .arrow-down {
right: -80px;
}
.time {
width: 122px;
}
}
@media (max-width: 360px) {
.map-ct1 {
padding-top: 0px!important;
height:950px!important;
overflow: hidden;
}
}
#overlay{background:rgba(0,0,0,.5);position:fixed;z-index:4999;width:100%;height:100%;top:0;left:0;bottom:0;right:0;align-content:center;justify-content:center;align-items:center}.modal{z-index:5000;width:416px;background:#fff;padding:0 0 12px 0;border-radius:8px}.hidden{display:none}.button{display:block;width:336px;height:48px;line-height:48px;-webkit-border-radius:7px;border-radius:7px;background-color:#ed1c24;text-align:center;color:#fff;font-family:PFAgoraSansPro;font-size:15px;font-weight:500;margin:0 auto;margin-top:17px}#callback-form .button{margin-top:10px}.modal-head{text-align:right;height:28px}.modal-close{text-align:right}.modal-close-xray{padding:18px;position:relative;background:url("/img/modal/close.png") no-repeat 96% 15px;cursor:pointer}.modal-body-header{font-size:36px;text-align:center}.modal-body-header small{font-size:14px;display:block;padding:0 0 28px}.modal-label{display:block;font-size:14px;font-weight:bold;margin:auto;padding:0 40px;margin-bottom:2px}#success .modal-body-header{padding-top:36px}#success small{display:block;padding-top:18px}.time{width:152px;display:inline-block;float:left;margin-top:-20px}fieldset{max-height:89px;min-height:87px}#order-form fieldset{min-height:86px}#order-form fieldset:last-of-type{min-height:94px}.time .input{width:100%;display:inline-block}.tm{margin-left:40px}.item-poss a{cursor:default}.arrow-up{content:"";display:block;position:relative;background:url('/img/modal/butt_up.svg');height:30px;width:42px;top:22px;right:-109px;background-size:cover;margin-top:-32px;cursor:pointer;z-index:100}.arrow-down{content:"";display:block;position:relative;background:url('/img/modal/butt_down.svg');height:30px;width:42px;top:44px;right:-109px;background-size:cover;margin-top:-32px;cursor:pointer;z-index:50}.time.tm::after{width:16px;height:4px;display:block;content:"";position:relative;top:-45px;right:-161px;border-top:2px solid #cacaca}.tm2{margin-left:32px}.input{width:336px;height:46px;-webkit-border-radius:7px;border-radius:7px;border:1px solid #d0d0d0;background-color:#fff;display:block;margin:auto;margin-bottom:20px;font-size:15px;color:#333;box-sizing:border-box;padding:4px 16px}.error{color:#ed1c24}label.error{position:relative;height:0;top:-86px;left:148px;display:inline-block;width:55%;text-align:right;font-size:13px}#footer-form label{padding:0}input:disabled,input[disabled]{border:1px solid #999;background-color:#eee !important;color:#000 !important;cursor:not-allowed}input.error{border-color:#ed1c24 !important}input.valid{border-color:#18ff00 !important}.input input[type="text"]{font-size:15px;color:#333;display:block;background:0;border:0;width:100%;height:46px}.last{padding-top:20px}@media(max-width:480px){.modal{width:360px}.map-ct1{padding-top:0}#footer-form input{width:328px}.last{padding-top:18px}#order-form label{padding:0 13px}.time{width:42%;display:inline-block}.tm{margin-left:12px}}@media(max-width:769px) and (min-width:481px){.map-ct1{padding-top:0}#footer-form input{width:282px}#footer-form label.error{left:127px}}@media(max-width:320px){.time.tm::after{right:-130px}.map-ct1{padding-top:0}#footer-form input{width:282px}#footer-form label.error{left:127px}.modal{width:300px}.button{width:273px}.input{width:273px}#footer-form label{padding:0 5px}.arrow-up,.arrow-down{right:-80px}.time{width:122px}}
.nowrap{white-space:nowrap;display:inline !important}#overlay{background:rgba(0,0,0,.5);position:fixed;z-index:4999;width:100%;height:100%;top:0;left:0;bottom:0;right:0;align-content:center;justify-content:center;align-items:center}.modal{z-index:5000;width:416px;background:#fff;padding:0 0 12px 0;border-radius:8px}.hidden{display:none}.button{display:block;width:336px;height:48px;line-height:48px;-webkit-border-radius:7px;border-radius:7px;background-color:#ed1c24;text-align:center;color:#fff;font-family:PFAgoraSansPro;font-size:15px;font-weight:500;margin:0 auto;margin-top:17px}#callback-form .button{margin-top:10px}.modal-head{text-align:right;height:28px}.modal-close{text-align:right}.modal-close-xray{padding:18px;position:relative;background:url("/img/modal/close.png") no-repeat 96% 15px;cursor:pointer}.modal-body-header{font-size:36px;text-align:center}.modal-body-header small{font-size:14px;display:block;padding:0 0 28px}.modal-label{display:block;font-size:14px;font-weight:bold;margin:auto;padding:0 40px;margin-bottom:2px}#success .modal-body-header{padding-top:36px}#success small{display:block;padding-top:18px}.time{width:152px;display:inline-block;float:left;margin-top:-20px}fieldset{max-height:89px;min-height:87px}#order-form fieldset{min-height:86px}#order-form fieldset:last-of-type{min-height:94px}.time .input{width:100%;display:inline-block}.tm{margin-left:40px}.item-poss a{cursor:default}.arrow-up{content:"";display:block;position:relative;background:url('/img/modal/butt_up.svg');height:30px;width:42px;top:22px;right:-109px;background-size:cover;margin-top:-32px;cursor:pointer;z-index:100}.arrow-down{content:"";display:block;position:relative;background:url('/img/modal/butt_down.svg');height:30px;width:42px;top:44px;right:-109px;background-size:cover;margin-top:-32px;cursor:pointer;z-index:50}.time.tm::after{width:16px;height:4px;display:block;content:"";position:relative;top:-45px;right:-161px;border-top:2px solid #cacaca}.tm2{margin-left:32px}.input{width:336px;height:46px;-webkit-border-radius:7px;border-radius:7px;border:1px solid #d0d0d0;background-color:#fff;display:block;margin:auto;margin-bottom:20px;font-size:15px;color:#333;box-sizing:border-box;padding:4px 16px}.error{color:#ed1c24}label.error{position:relative;height:0;top:-86px;left:148px;display:inline-block;width:55%;text-align:right;font-size:13px}#footer-form label{padding:0}input:disabled,input[disabled]{border:1px solid #999;background-color:#eee !important;color:#000 !important;cursor:not-allowed}input.error{border-color:#ed1c24 !important}input.valid{border-color:#18ff00 !important}.input input[type="text"]{font-size:15px;color:#333;display:block;background:0;border:0;width:100%;height:46px}.last{padding-top:20px}@media(max-width:480px) and (min-width:321px){.modal{width:360px}.map-ct1{padding-top:0 !important}#footer-form input{width:328px}.last{padding-top:18px}#order-form label{padding:0 13px}.time{width:42%;display:inline-block}.tm{margin-left:12px}}@media(max-width:769px) and (min-width:481px){.map-ct1{padding-top:0 !important;height:1150px !important}#footer-form input{width:282px}#footer-form label.error{left:127px}}@media(max-width:320px){.time.tm::after{right:-130px}.map-ct1{padding-top:0 !important;height:950px !important;overflow:hidden}#footer-form input{width:282px}#footer-form label.error{left:127px}.modal{width:300px}.button{width:273px}.input{width:273px}#footer-form label{padding:0 5px}.arrow-up,.arrow-down{right:-80px}.time{width:122px}}@media(max-width:360px){.map-ct1{padding-top:0 !important;height:950px !important;overflow:hidden}}
......@@ -190,14 +190,10 @@ body { font-family: PFAgoraSansPro; }
@media only screen and (min-device-width: 1440px) {
#page {
width: 1200px!important;
width: 1344px!important;
margin: 0 auto!important;
box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.15)!important;
}
.ct {padding: 0px 54px!important;}
.map-ct1 .form1 {right:50px!important;}
.logo {left:54px!important;}
#header .t1{left:166px!important;}
}
.ct { max-width: 1152px; margin: auto; position: relative; padding: 0 16px; *zoom: 1; }
......
<?php
## params
$mailTo = 'mind.it@ya.ru';
$mailTo = 'franchising@yescenter.ru';
## fields
$name = isset($_POST['name']) ? $_POST['name'] : null;
$phone = isset($_POST['phone']) ? $_POST['phone'] : null;
......@@ -36,7 +36,7 @@ class Form
switch ($field) {
case 'phone':
if (!preg_match("/^(8|\+7) ? ?\(?(\d{3})\)? ?(\d{3})[ -]?(\d{2})[ -]?(\d{2})/", $data))
if (!preg_match("/^(8|\+7)? ? ?\(?(\d{3})\)? ?(\d{3})[ -]?(\d{2})[ -]?(\d{2})/", $data))
die(json_encode(array('type' => 'error_phone', 'text' => 'Телефон введен неверно')));
return $data;
break;
......@@ -85,8 +85,8 @@ class callback extends Form
$headers .= 'From: Landing_Page <testmail@test.ru>';
$subject = "Заявка на франшизу";
$message = 'Телефон: ' . $this->phone . '<br>';
$message .= 'Звонить с ' . $this->till . '<br>';
$message .= 'До ' . $this->from . '<br>';
$message .= 'Звонить с ' . $this->till . ' ' ;
$message .= 'до ' . $this->from . '<br>';
if (mail($mailTo, $subject, $message, $headers)) {
echo json_encode(array('type' => 'success_send', 'text' => 'Ваша заявка успешно отправлена'));
}
......
......@@ -6,8 +6,8 @@
<!--<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>--><![endif]-->
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen, projection"/>
<link rel="stylesheet" href="css/additional.min.css" type="text/css">
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen, projection"/>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/jquery.validate.min.js"></script>
<script type="text/javascript" src="js/moment.min.js"></script>
......@@ -84,7 +84,7 @@
</div>
<div class="item1 j2">
<div>
<span>Предоставляем уже сгенерированный поток клиентов</span>
<span>Предоставляем уже <span class="nowrap">сгенерированный поток клиентов</span></span>
<p>Мы создадим страницу вашей школы на нашем сайте, поможем привлечь клиентов и будем передавать
заявки для вашей школы из общекорпоративного call-центра. Ваша школа только откроется, а к
вам уже пойдут учиться!</p>
......
......@@ -258,7 +258,7 @@ $(document).ready(function () {
digits: true,
required: true,
minlength: 3,
maxlength: 40
maxlength: 15
}
},
......@@ -266,8 +266,8 @@ $(document).ready(function () {
messages: {
phone: {
required: "Напишите номер",
minlength: "",
maxlength: "",
minlength: "Номер слишком короткий",
maxlength: "Номер слишком длинный",
digits: "Только цифры"
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!