Init
This commit is contained in:
5
.idea/.gitignore
generated
vendored
Normal file
5
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
12
.idea/OSCOP-stara-wersja.iml
generated
Normal file
12
.idea/OSCOP-stara-wersja.iml
generated
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="WEB_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/OSCOP-stara-wersja.iml" filepath="$PROJECT_DIR$/.idea/OSCOP-stara-wersja.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
26
app.js
Normal file
26
app.js
Normal file
@@ -0,0 +1,26 @@
|
||||
// Zmiana linku po anulowaniu zamówienia;
|
||||
if(window.location.pathname.includes("return.html") && window.location.search.includes("ordercancel_ok")){
|
||||
const returnButtonInterval = setInterval(function() {
|
||||
const returnPage = document.querySelector(".return_page");
|
||||
const returnButton = document.querySelector("#retbut_ordercancel_ok");
|
||||
|
||||
if(returnPage && returnButton){
|
||||
returnButton.href = returnButton.href.replace("&order_number", "&order_number");
|
||||
clearInterval(returnButtonInterval);
|
||||
}
|
||||
}, 100);
|
||||
}
|
||||
|
||||
|
||||
if(window.location.pathname.includes("order1.html") || window.location.pathname.includes("order-nonstandardized") || window.location.pathname.includes("order1.php") || ((window.location.pathname.includes("signin.html") || window.location.pathname.includes("signin.php")) && window.location.search.includes("operation=onceorder"))){
|
||||
// app_shop.fn.ajaxLoadSite(1);
|
||||
window.location = "/place-order.php";
|
||||
}
|
||||
|
||||
// Przekierowanie ze strony order1 na OSCOP
|
||||
// document.querySelectorAll("a").forEach(aElement=>{
|
||||
// if(aElement.href.includes("order1.php") || aElement.href.includes("order1.html")){
|
||||
// console.log(aElement);
|
||||
// aElement.href = "/place-order.php";
|
||||
// }
|
||||
// });
|
||||
1848
style.less
Normal file
1848
style.less
Normal file
File diff suppressed because it is too large
Load Diff
3412
wydzielony.js
Normal file
3412
wydzielony.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user