This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| Hero section recreation inspired by: | |
| https://dribbble.com/shots/23090247-Videaste-Personal-Videographer-Portfolio-Landing-Page-Website | |
| • Tech stack: Tailwind CSS (CDN), Google Fonts, Material Symbols | |
| • Scope: Hero section only | |
| • Focus: Art-directed layout, asymmetric alignment, responsive structure | |
| • Purpose: Educational and layout reference | |
| Not intended for commercial use. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def clone_kpi(request): | |
| context = dict() | |
| if request.method == 'GET': | |
| context['all_kpis'] = KpiModel.objects.values_list('name', flat=True).distinct() | |
| return JsonResponse(context, ) | |
| if request.method == 'POST' and request.is_ajax(): | |
| if request.POST.get("operation") == "clone-kpi-operation": | |
| all_selected_checkbox = request.POST.getlist("all_selected_checkbox[]") # NEW |