MyAMS.js extension framework
Project description
What is PyAMS?
PyAMS (Pyramid Application Management Suite) is a small suite of packages written for applications and content management with the Pyramid framework.
PyAMS is actually mainly used to manage web sites through content management applications (CMS, see PyAMS_content package), but many features are generic and can be used inside any kind of web application.
All PyAMS documentation is available on ReadTheDocs; source code is available on Gitlab and pushed to Github.
What is MyAMS.js?
MyAMS.js is a “small” extension package over JQuery and Bootstrap. It provides a small set of features using the HTML “data” API to enable components configuration without using any javascript code.
MyAMS documentation and demo site are available at http://myams.ztfy.org.
Integrating MyAMS.js
You can include MyAMS resources manually as usual in your HTML pages.
A Python package is also provided, which is declaring MyAMS resources as Fanstatic resources, for easy integration into any Pyramid application; you can also use PyAMS_zmi package, which is relying on MyAMS.js.
Changelog
1.8.0
added viewport related classes
added lighter versions of main Bootstrap colors to CSS variables
1.7.0
added custom JQuery filter expressions
added custom CSS tree styles
added custom TinyMCE editor styles using CSS variables
stop event propagation on modal data-toggle click handler
updated after-reload callback management
1.6.4
added support for “_top” target in links using “data-ams-target” attribute
1.6.3
Select2 plug-in styles updates
1.6.2
small updates in Select2 plug-in styles
1.6.1
added missing Git JQuery-UI resources
1.6.0
allow loading of MyAMS extensions only containing CSS files
automatically focus first primary button in modals
automatically hide tooltips before opening a new modal
resolve promise with modal when opening a new modal from code
set event source in context menu dropdown event
remove “data-ams-data” attribute after modules initialization
add JQuery-UI resizable plug-in support
load JQuery-UI stylesheet when using drag&drop plug-ins
update datatable reordering
updated CSS styles
1.5.1
updated form’s keydown handler to submit with <ctrl>+<enter> from a textarea
moved focus handlers to avoid multiple initializations
1.5.0
added table row adding helper
added container helper to switch element’s attribute
updated CSS styles
1.4.2
updated AJAX behaviour of Select2 plug-in
updated CSS styles
updated demo site documentation
1.4.1
Updated Git fonts resources
1.4.0
added new Emerald theme
included Select2 stylesheets into main stylesheet
small CSS updates
1.3.3
updated TinyMCE CSS styles
1.3.2
updated TinyMCE production build
1.3.1
updated Gitlab-CI configuration
1.3.0
small CSS updates
removed support for Python < 3.7
1.2.1
added classes for Bootstrap modals
updated DataTables styles for Bootstrap
updated Gitlab-CI configuration
removed Travis-CI configuration
1.2.0
added french translation for file input “Browse” label
packages upgrades
CSS styles updates
1.1.0
added Bootstrap “Tempus Dominus” plug-in for datetime input fields
automatically scroll to errors alerts in modal forms
packages upgrades
CSS styles updates
1.0.4
updated DataTables plug-in integration
updated Select2 CSS styles
1.0.3
updated form group switcher state for inner switchers
1.0.2
updated Fanstatic library path to switch between source and egg installations
1.0.1
Travis update
1.0.0
initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.