Dashboard SVG Border
by YLHC Technology https://www.ylhctec.com , co. https://www.ylhctec.com , ltd. https://www.ylhctec.com
Odoo
$ 412.43
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Community Apps Dependencies | Show |
| Lines of code | 560072 |
| Technical Name |
ylhc_dashboard_svg_border |
| License | OPL-1 |
| Website | https://www.ylhctec.com |
🎨 Ylhc Dashboard SVG Border
Dynamic SVG Border Components for Ylhc Dashboard
v18.0.1.0
OPL-1
✨ Features
16 Predefined Borders
Ready-to-use SVG border templates with modern designs
Dynamic Rendering
Real-time SVG rendering with ResizeObserver support
JSON Configuration
Easy customization through JSON schema validation
Customizable Colors
Full control over border colors and styles
📦 What's Included
- Models: Card configuration and SVG background management
- Views: User-friendly configuration interfaces
- Data: 16 pre-configured border styles (border1 to border16)
- JavaScript: Dynamic SVG rendering engine with utility functions
- Security: Proper access control configurations
🚀 Installation
- Place this module in your Odoo addons directory
- Update the apps list in Odoo
- Install "Ylhc Dashboard SVG Border"
Note: This module automatically installs when you install or upgrade ylhc_dashboard
📋 Dependencies
base- Odoo Coreylhc_dashboard- Main Dashboard Modulejson_editor_widget- JSON Configuration Editor
💡 Usage
Once installed, SVG border functionality is automatically available in Ylhc Dashboard components.
You can:
- Select from 16 predefined border styles
- Customize colors and dimensions via JSON editor
- Create custom SVG borders using the template system
- Apply borders to dashboard cards and blocks
🔧 Technical Details
Models
ylhc_dashboard.card_config- Card configuration with SVG supportylhc_dashboard.svg_background- SVG template management
JavaScript Components
DynamicSVG- Core SVG rendering enginesvg_border- Block registry componentsvg_utils- Template formatting utilities
📖 Module Structure
ylhc_dashboard_svg_border/
├── models/
│ ├── ylhc_card_config.py
│ └── ylhc_svg_background.py
├── views/
│ ├── ylhc_card_config.xml
│ └── ylhc_svg_background.xml
├── data/svg_background/border/
│ └── border1.xml ~ border16.xml
├── static/src/svg_border/
│ ├── svg_border.js
│ ├── svg_utils.js
│ └── dynamic_svg.js
└── security/
└── ir.model.access.csv
🎯 Key Benefits
- Modular Design: Separated from main dashboard for better maintainability
- Performance: Optimized rendering with debouncing and ResizeObserver
- Flexibility: JSON-based configuration for easy customization
- Scalability: Vector graphics ensure perfect rendering at any size
- Extensibility: Easy to add new border templates
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module