Compare commits
9 Commits
5d38db389d
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
| 6c43521eea | |||
| 7e2ea42f52 | |||
| bd01b7cba4 | |||
| 6d62279199 | |||
| 94d6e63b0f | |||
| 4e97e09466 | |||
| a2713522c9 | |||
| a1e044c082 | |||
| 4c7a1c6916 |
7
.gitignore
vendored
7
.gitignore
vendored
@@ -38,6 +38,12 @@ Network Trash Folder
|
|||||||
Temporary Items
|
Temporary Items
|
||||||
.apdisk
|
.apdisk
|
||||||
|
|
||||||
|
## Vagrant
|
||||||
|
.vagrant/
|
||||||
|
|
||||||
|
# Log files (if you are creating logs in debug mode, uncomment this)
|
||||||
|
# *.log
|
||||||
|
|
||||||
## Project Files
|
## Project Files
|
||||||
wsgi/.idea
|
wsgi/.idea
|
||||||
www/dlsv
|
www/dlsv
|
||||||
@@ -47,3 +53,4 @@ www/data/events.xml
|
|||||||
www/data/geolocation.js
|
www/data/geolocation.js
|
||||||
scripts/*.json
|
scripts/*.json
|
||||||
scripts/*.xml
|
scripts/*.xml
|
||||||
|
|
||||||
|
|||||||
4
Vagrantfile
vendored
4
Vagrantfile
vendored
@@ -1,5 +1,5 @@
|
|||||||
Vagrant.configure("2") do |config|
|
Vagrant.configure("2") do |config|
|
||||||
config.vm.box = "ubuntu/focal64"
|
config.vm.box = "ubuntu/jammy64"
|
||||||
config.vm.synced_folder ".", "/vagrant"
|
config.vm.synced_folder ".", "/vagrant"
|
||||||
config.vm.network(:forwarded_port, guest: 80, host: 8888)
|
config.vm.network(:forwarded_port, guest: 80, host: 8888)
|
||||||
|
|
||||||
@@ -8,7 +8,7 @@ Vagrant.configure("2") do |config|
|
|||||||
sudo apt-get -y install nginx
|
sudo apt-get -y install nginx
|
||||||
|
|
||||||
echo "Starting nginx..."
|
echo "Starting nginx..."
|
||||||
sudo ln -s /vagrant/www /usr/share/nginx/html/map
|
sudo ln -s /vagrant/www /var/www/html/map
|
||||||
sudo cp /vagrant/www/index.html.en /vagrant/www/index.html
|
sudo cp /vagrant/www/index.html.en /vagrant/www/index.html
|
||||||
sudo useradd -s /bin/false nginx
|
sudo useradd -s /bin/false nginx
|
||||||
sudo service nginx restart
|
sudo service nginx restart
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ var specialEvents = [
|
|||||||
// 'bug2016vico', // Central Italy 6.5
|
// 'bug2016vico', // Central Italy 6.5
|
||||||
// 'bug2017rfxe', // CTBT violation North Korea 6.1
|
// 'bug2017rfxe', // CTBT violation North Korea 6.1
|
||||||
// 'bug2019fura', // Sprengung Duisburg-Hochheide (Weißer Riese) 2.0
|
// 'bug2019fura', // Sprengung Duisburg-Hochheide (Weißer Riese) 2.0
|
||||||
'bug2021vtgi', // Geilenkirchen 1.9
|
// 'bug2021vtgi', // Geilenkirchen 1.9
|
||||||
'bug2022ahxi' // Erftstadt 2.9
|
// 'bug2022ahxi', // Erftstadt 2.9
|
||||||
|
'bug2023hlmh' // Brüggen 3.3
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
/* License
|
/* License
|
||||||
Copyright 2014-2021 Kasper D. Fischer <kasper.fischer@rub.de>
|
Copyright 2014-2023 Kasper D. Fischer <kasper.fischer@rub.de>
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify it
|
This program is free software: you can redistribute it and/or modify it
|
||||||
under the terms of the GNU General Public License as published by the Free
|
under the terms of the GNU General Public License as published by the Free
|
||||||
@@ -198,6 +198,10 @@ $(document).ready(function() {
|
|||||||
config['tab']['active'] = Number(parameters['tab']);
|
config['tab']['active'] = Number(parameters['tab']);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
if ( Number(parameters['zoom']) ) {
|
||||||
|
config['map']['zoomDefault'] = Number(parameters['zoom']);
|
||||||
|
config['map']['zoomFocus'] = Number(parameters['zoom']+3);
|
||||||
|
};
|
||||||
|
|
||||||
// AJAX setup
|
// AJAX setup
|
||||||
$.ajaxSetup({timeout: config['ajax']['timeout']});
|
$.ajaxSetup({timeout: config['ajax']['timeout']});
|
||||||
|
|||||||
Reference in New Issue
Block a user