@@ -39,7 +39,7 @@ <h3 class="page-header"><i class="fa fa-lightbulb-o fa-fw"></i><span data-i18n="
39
39
< div id ="menu_gencfg " class ="tab-pane fade " style ="padding-top: 10px; " aria-labelledby ="menugencfg ">
40
40
< div class ="row ">
41
41
< div class ="col-lg-12 " id ="layout_intro "> </ div >
42
- < div class ="col-lg-6 col-md-12 ">
42
+ < div class ="col-lg-6 col-md-12 " id =" led_main_panel " >
43
43
< div class ="accordion " id ="accordion ">
44
44
< div class ="accordion-item ">
45
45
< div class ="accordion-header card card-default " id ="headingOne ">
@@ -567,31 +567,111 @@ <h4 class="card-title">
567
567
</ div >
568
568
</ div >
569
569
<!-- accordion -->
570
- < div class ="col-lg-6 col-md-12 ">
570
+ < div class ="col-lg-6 col-md-12 " id =" led_zoom_panel " >
571
571
< div class ="card card-default ">
572
572
< div class ="card-header " id ="instTarget2 ">
573
573
< h4 class ="card-title "> < i class ="fa fa-search fa-fw "> </ i > < span data-i18n ="conf_leds_layout_peview "> LED Layout preview</ span > </ h4 >
574
574
</ div >
575
- < div class ="card-body ">
576
- < p id ="previewcreator " style ="font-weight: bold; "> </ p >
575
+ < div class ="card-body " id ="visualCreatorPanel ">
577
576
< p id ="previewledcount " style ="font-weight: bold; "> </ p >
578
577
< p id ="previewledpower " style ="font-weight: bold; "> </ p >
579
578
< div id ="led_vis_help "> </ div >
579
+ < p data-i18n ="conf_leds_layout_context " style ="font-weight: bold; "> </ p >
580
580
< div class ="col-lg-12 st_helper " style ="padding-left: 0px; padding-right: 0px; ">
581
581
< div id ="leds_preview "> </ div >
582
582
</ div >
583
583
</ div >
584
584
< div class ="card-footer ">
585
585
< button type ="button " class ="btn btn-danger " id ="leds_prev_toggle_num "> < i class ="fa fa-info fa-fw "> </ i > < span data-i18n ="main_ledsim_btn_togglelednumber "> toggle led numbers</ span > </ button >
586
586
< button type ="button " class ="btn btn-primary " id ="leds_prev_checklist "> < i class ="fa fa-info-circle fa-fw "> </ i > < span data-i18n ="conf_leds_layout_btn_checklist "> toggle led numbers</ span > </ button >
587
+ < button type ="button " class ="btn btn-warning " id ="leds_prev_zoom "> < i class ="fa fa-arrows-alt fa-fw "> </ i > < span data-i18n ="conf_leds_layout_btn_zoom "> zoom</ span > </ button >
587
588
</ div >
588
589
</ div >
589
590
</ div >
590
591
</ div >
591
592
</ div >
592
593
</ div >
593
594
</ div >
594
-
595
+ < div class ="dropdown-menu dropdown-menu-sm " style ="display: none; " id ="creator-context-menu ">
596
+ < a class ="dropdown-item " href ="# " id ="CMD_MOVE "> < i class ="fa fa-arrows fa-fw "> </ i > < span data-i18n ="led_editor_context_move "> Move</ span > </ a >
597
+ < a class ="dropdown-item " href ="# " id ="CMD_PROPERTIES "> < i class ="fa fa-edit fa-fw "> </ i > < span data-i18n ="led_editor_context_properties "> Properties</ span > </ a >
598
+ < a class ="dropdown-item " href ="# " id ="CMD_ENABLE "> < i class ="fa fa-lightbulb-o fa-fw "> </ i > < span id ="cmd_dis_enable_text " data-i18n ="led_editor_context_enable "> Enable</ span > </ a >
599
+ < a class ="dropdown-item " href ="# " id ="CMD_DELETE "> < i class ="fa fa-remove fa-fw "> </ i > < span data-i18n ="led_editor_context_delete "> Delete</ span > </ a >
600
+ </ div >
601
+ <!-- Modal -->
602
+ < div class ="modal fade " id ="ledPropertiesForm " tabindex ="-1 " aria-labelledby ="ledPropertiesLabel " aria-hidden ="true ">
603
+ < div class ="modal-dialog ">
604
+ < div class ="modal-content p-0 ">
605
+ < div class ="card card-default modal-body " style ="margin: 0px !important; padding: 0px !important; ">
606
+ < div class ="card-header ">
607
+ < h4 class ="modal-title "> < b > < span id ="ledPropertiesFormLabel "> </ span > </ b > </ h4 >
608
+ </ div >
609
+ < div class ="card-body ">
610
+ < div class ="container ">
611
+ < div class ="form-group row ">
612
+ < div class ="col-12 col-md-6 ">
613
+ < div class ="form-group row ">
614
+ < div class ="col-form-label mb-3 col-3 ">
615
+ < label class ="required " data-i18n ="conf_leds_layout_cl_left "> </ label >
616
+ </ div >
617
+ < div class ="mb-3 col-9 ">
618
+ < div class ="input-group ">
619
+ < input type ="number " class ="form-control " data-schemaformat ="stepper " min ="0 " max ="1 " step ="0.001 " id ="ledPropertiesDialogLeft " />
620
+ < div class ="input-group-append "> < button type ="button " class ="btn btn-secondary stepper-down "> -</ button > </ div >
621
+ < div class ="input-group-append "> < button type ="button " class ="btn btn-secondary stepper-up "> +</ button > </ div >
622
+ </ div >
623
+ </ div >
624
+ </ div >
625
+ < div class ="form-group row ">
626
+ < div class ="col-form-label mb-3 col-3 ">
627
+ < label class ="required " data-i18n ="conf_leds_layout_cl_right "> </ label >
628
+ </ div >
629
+ < div class ="mb-3 col-9 ">
630
+ < div class ="input-group ">
631
+ < input type ="number " class ="form-control " data-schemaformat ="stepper " min ="0 " max ="1 " step ="0.001 " id ="ledPropertiesDialogRight " />
632
+ < div class ="input-group-append "> < button type ="button " class ="btn btn-secondary stepper-down "> -</ button > </ div >
633
+ < div class ="input-group-append "> < button type ="button " class ="btn btn-secondary stepper-up "> +</ button > </ div >
634
+ </ div >
635
+ </ div >
636
+ </ div >
637
+ </ div >
638
+ < div class ="col-12 col-md-6 ">
639
+ < div class ="form-group row ">
640
+ < div class ="col-form-label mb-3 col-3 ">
641
+ < label class ="required " data-i18n ="conf_leds_layout_cl_top "> </ label >
642
+ </ div >
643
+ < div class ="mb-3 col-9 ">
644
+ < div class ="input-group ">
645
+ < input type ="number " class ="form-control " data-schemaformat ="stepper " min ="0 " max ="1 " step ="0.001 " id ="ledPropertiesDialogTop " />
646
+ < div class ="input-group-append "> < button type ="button " class ="btn btn-secondary stepper-down "> -</ button > </ div >
647
+ < div class ="input-group-append "> < button type ="button " class ="btn btn-secondary stepper-up "> +</ button > </ div >
648
+ </ div >
649
+ </ div >
650
+ </ div >
651
+ < div class ="form-group row ">
652
+ < div class ="col-form-label mb-3 col-3 ">
653
+ < label class ="required " data-i18n ="conf_leds_layout_cl_bottom "> </ label >
654
+ </ div >
655
+ < div class ="mb-3 col-9 ">
656
+ < div class ="input-group ">
657
+ < input type ="number " class ="form-control " data-schemaformat ="stepper " min ="0 " max ="1 " step ="0.001 " id ="ledPropertiesDialogBottom " />
658
+ < div class ="input-group-append "> < button type ="button " class ="btn btn-secondary stepper-down "> -</ button > </ div >
659
+ < div class ="input-group-append "> < button type ="button " class ="btn btn-secondary stepper-up "> +</ button > </ div >
660
+ </ div >
661
+ </ div >
662
+ </ div >
663
+ </ div >
664
+ </ div >
665
+ </ div >
666
+ </ div >
667
+ < div class ="card-footer ">
668
+ < button type ="button " id ="ready_to_set_single_abort " class ="btn btn-danger float-end "> < span data-i18n ="general_btn_exit "> Exit</ span > </ button >
669
+ < button type ="button " id ="ready_to_set_single_led " class ="btn btn-primary float-end me-2 "> < span data-i18n ="general_btn_save "> Save</ span > </ button >
670
+ </ div >
671
+ </ div >
672
+ </ div >
673
+ </ div >
674
+ </ div >
595
675
< link href ="css/jsonaceeditor.min.css " rel ="stylesheet " type ="text/css " />
596
676
< script src ='js/lib/jsonaceeditor.min.js '> </ script >
597
677
0 commit comments