first commit

This commit is contained in:
2025-07-22 15:41:16 +02:00
commit 2a40a54622
81 changed files with 5614 additions and 0 deletions

11
media/css/admin.css Normal file
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;
}

7
media/css/list.css Normal file
View File

@ -0,0 +1,7 @@
/**
* @version CVS: 1.0.0
* @package com_circolari
* @copyright 2025 Tommaso Cippitelli
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @author Tommaso Cippitelli <tommaso.cippitelli@protocollicreativi.it>
*/

29
media/joomla.asset.json Normal file
View File

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

32
media/js/admin.js Normal file
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);