This commit is contained in:
2024-12-31 11:07:09 +01:00
parent df7915205d
commit e089172b15
1916 changed files with 165422 additions and 271 deletions

View File

@ -0,0 +1,11 @@
.jcc-color-box {
float: left;
width: 15px;
height: 15px;
margin-right: 5px;
border: 1px solid rgba(0, 0, 0, .2);
}
.other-filters{
padding: 0 14px;
}

View File

@ -0,0 +1,7 @@
/**
* @version CVS: 1.0.0
* @package com_highlights
* @copyright 2024 Eddy Prosperi
* @license GNU General Public License versione 2 o successiva; vedi LICENSE.txt
* @author Eddy Prosperi <eddy.prosperi@protocollicreativi.it>
*/

View File

@ -0,0 +1,29 @@
{
"$schema": "https://developer.joomla.org/schemas/json-schema/web_assets.json",
"name": "com_highlights",
"version": "CVS: 1.0.0",
"license": "GNU General Public License versione 2 o successiva; vedi LICENSE.txt",
"assets": [
{
"name": "com_highlights.admin",
"type": "style",
"uri": "com_highlights/admin.css"
},
{
"name": "com_highlights.admin",
"type": "script",
"uri": "com_highlights/admin.js",
"dependencies": [
"jquery"
],
"attributes": {
"defer": true
}
},
{
"name": "com_highlights.list",
"type": "style",
"uri": "com_highlights/list.css"
}
]
}

View File

@ -0,0 +1,32 @@
window.Joomla = window.Joomla || {};
(function (window, Joomla) {
Joomla.toggleField = function (id, task, field) {
var f = document.adminForm, i = 0, cbx, cb = f[ id ];
if (!cb) return false;
while (true) {
cbx = f[ 'cb' + i ];
if (!cbx) break;
cbx.checked = false;
i++;
}
var inputField = document.createElement('input');
inputField.type = 'hidden';
inputField.name = 'field';
inputField.value = field;
f.appendChild(inputField);
cb.checked = true;
f.boxchecked.value = 1;
Joomla.submitform(task);
return false;
};
})(window, Joomla);