-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4.0.0Beta2
- Loading branch information
Showing
20 changed files
with
1,043 additions
and
976 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
/* Phoca Maps Plugin CSS */ | ||
|
||
/* Bootstrap */ | ||
#phocamaps img { | ||
max-width: none; | ||
} | ||
#phocamaps.phocamaps img { | ||
border: 0px; | ||
box-shadow: 0px; | ||
margin: 0px; | ||
max-width: none !important; | ||
} | ||
#phocamaps-box img { | ||
max-width:none !important; | ||
} | ||
/* Phoca Maps Plugin CSS */ | ||
|
||
/* Bootstrap */ | ||
#phocamaps img { | ||
max-width: none; | ||
} | ||
#phocamaps.phocamaps img { | ||
border: 0px; | ||
box-shadow: 0px; | ||
margin: 0px; | ||
max-width: none !important; | ||
} | ||
#phocamaps-box img { | ||
max-width:none !important; | ||
} | ||
|
||
/* Modals */ | ||
#pmPlgModal .modal-dialog { | ||
height: 70%; | ||
max-width: 70%; | ||
} | ||
|
||
#pmPlgModal .modal-content { | ||
height: 100%; | ||
} |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<html><body></body></html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
* @package Joomla | ||
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved. | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php | ||
* | ||
* @extension Phoca Maps | ||
* @copyright Copyright (C) Jan Pavelka www.phoca.cz | ||
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL | ||
*/ | ||
|
||
document.addEventListener("DOMContentLoaded", () => { | ||
|
||
// Events | ||
document.querySelectorAll('.pm-plg-bs-modal-button').forEach(item => { | ||
|
||
|
||
item.addEventListener('click', function(event) { | ||
|
||
event.preventDefault(); | ||
let href = this.getAttribute('href'); | ||
let title = this.getAttribute('data-title'); | ||
|
||
let type = this.getAttribute('data-type'); | ||
|
||
|
||
let modalItem = document.getElementById('pmPlgModal') | ||
let modalIframe = document.getElementById('pmPlgModalIframe'); | ||
let modalTitle = document.getElementById('pmPlgModalLabel'); | ||
|
||
//modalItem.className = ''; | ||
//modalItem.classList.add('modal', 'fade', 'show', type); | ||
modalIframe.src = href; | ||
modalTitle.innerHTML = title; | ||
|
||
//let modal = document.getElementById('phCategoryModal') | ||
|
||
/*modal.addEventListener('shown.bs.modal', function () { | ||
myInput.focus() | ||
})*/ | ||
|
||
let modal = new bootstrap.Modal(modalItem); | ||
modal.show(); | ||
|
||
}) | ||
}) | ||
}); | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.