Added jsutils submodule
This commit is contained in:
parent
997d287ed2
commit
793f293ff3
3 changed files with 25 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "paramecio/modules/admin/media/js/jsutils"]
|
||||||
|
path = paramecio/modules/admin/media/js/jsutils
|
||||||
|
url = git@git.cuchulu.com:paramecio/jsutils.git
|
||||||
|
|
@ -1,11 +1,32 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
"""
|
||||||
|
Parameciofm is a series of wrappers for bottlepy, mako and others and construct a simple headless cms.
|
||||||
|
|
||||||
|
Copyright (C) 2024 Antonio de la Rosa Caballero
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Affero General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Affero General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Affero General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
from paramecio.libraries.db.coreforms import BaseForm
|
from paramecio.libraries.db.coreforms import BaseForm
|
||||||
from paramecio.libraries.mtemplates import standard_t
|
from paramecio.libraries.mtemplates import standard_t
|
||||||
|
|
||||||
class ColorForm(BaseForm):
|
class ColorForm(BaseForm):
|
||||||
|
|
||||||
def __init__(self, name, value):
|
def __init__(self, name, value):
|
||||||
|
"""Form for get colors from a picker"""
|
||||||
|
|
||||||
super().__init__(name, value)
|
super().__init__(name, value)
|
||||||
|
|
||||||
|
|
|
||||||
1
paramecio/modules/admin/media/js/jsutils
Submodule
1
paramecio/modules/admin/media/js/jsutils
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 353a80d8437aaf449ecdd7e459c1fcf7575f41bc
|
||||||
Loading…
Add table
Add a link
Reference in a new issue