Subversion Repositories bacoAlunos

Rev

Rev 1925 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1925 Rev 1928
Line 645... Line 645...
645
                }
645
                }
646
 
646
 
647
 
647
 
648
            },
648
            },
649
            templateUrl: function(elem,attrs) {
649
            templateUrl: function(elem,attrs) {
650
                return "globallearningresultschartimg";
650
                return "chartcomponenttemplate";
651
            }
651
            }
652
        }
652
        }
653
    });
653
    });
654
</script>
654
</script>
655
<script type="text/ng-template" id="globallearningresultschartimg">
655
<script type="text/ng-template" id="chartcomponenttemplate">
656
    <div class="imageComponent component">
656
    <div class="imageComponent component">
657
 
657
 
658
        <div class="componentBody">
658
        <div class="componentBody">
659
            <div class="form-group clearfix">
659
            <div class="form-group clearfix">
660
                <label class="col-md-2 control-label">Legenda</label>
660
                <label class="col-md-2 control-label">Legenda</label>
Line 717... Line 717...
717
                }
717
                }
718
 
718
 
719
 
719
 
720
            },
720
            },
721
            templateUrl: function(elem,attrs) {
721
            templateUrl: function(elem,attrs) {
722
                return "globallearningresultschartimg";
722
                return "chartcomponenttemplate";
723
            }
723
            }
724
        }
724
        }
725
    });
725
    });
726
</script>
726
</script>
727
<script type="text/ng-template" id="globallearninglesultschartyearimg">
-
 
728
    <div class="imageComponent component">
-
 
729
 
-
 
730
        <div class="componentBody">
-
 
731
            <div class="form-group clearfix">
-
 
732
                <label class="col-md-2 control-label">Legenda</label>
-
 
733
                <div class="col-md-10">
-
 
734
                    <input type="text" class="form-control" rows="10" ng-model="comp.title">
-
 
735
                </div>
-
 
736
            </div>
-
 
737
            <div class="form-group clearfix">
-
 
738
                <div class="col-md-2 control-label">
-
 
739
                    <button class="btn btn-default" ng-click="generateChart(comp)">Refrescar/Gerar Gráfico</button>
-
 
740
                </div>
-
 
741
                <div class="col-md-10">
-
 
742
                    <label ng-if="comp.image.identifier"> Limites do PDF </label>
-
 
743
                    <div ng-if="comp.image.identifier" style="text-align: center; width: 595px; border: 1px solid black; padding: 45px">
-
 
744
                        <center>
-
 
745
                            <div style="width: 200px;height: 200px; max-width: 500px; max-height: 750px" resizable on-resize="resize($evt, $ui, comp)">
-
 
746
                                <img ng-if="comp.imageUrl" style="width: 100%;height: 100%"  ng-src="{{comp.imageUrl}}">
-
 
747
                                <img ng-if="!comp.imageUrl" style="width: 100%;height: 100%"  ng-src="{{'<%=request.getContextPath()%>/repositoryStream/' + comp.image.identifier}}">
-
 
748
                            </div>
-
 
749
                            (Se desejar altere o tamanho da imagem arrastando no canto inferior direito)
-
 
750
                        </center>
-
 
751
                    </div>
-
 
752
                </div>
-
 
753
            </div>
-
 
754
        </div>
-
 
755
    </div>
-
 
756
</script>
-
 
757
 
727
 
758
 
728
 
759
<script type="text/ng-template" id="pt_estgp_estgweb_services_courses_coursereport_documentmodel_learningresults_components_LearningResultsChartSem">
729
<script type="text/ng-template" id="pt_estgp_estgweb_services_courses_coursereport_documentmodel_learningresults_components_LearningResultsChartSem">
760
    <learningresultschartsem>
730
    <learningresultschartsem>
761
    </learningresultschartsem>
731
    </learningresultschartsem>
Line 790... Line 760...
790
                }
760
                }
791
 
761
 
792
 
762
 
793
            },
763
            },
794
            templateUrl: function(elem,attrs) {
764
            templateUrl: function(elem,attrs) {
795
                return "learningresultschartsem";
765
                return "chartcomponenttemplate";
796
            }
766
            }
797
        }
767
        }
798
    });
768
    });
799
</script>
769
</script>
800
<script type="text/ng-template" id="learningresultschartsem">
-
 
801
    <div class="imageComponent component">
-
 
802
 
-
 
803
        <div class="componentBody">
-
 
804
            <div class="form-group clearfix">
-
 
805
                <label class="col-md-2 control-label">Legenda</label>
-
 
806
                <div class="col-md-10">
-
 
807
                    <input type="text" class="form-control" rows="10" ng-model="comp.title">
-
 
808
                </div>
-
 
809
            </div>
-
 
810
            <div class="form-group clearfix">
-
 
811
                <div class="col-md-2 control-label">
-
 
812
                    <button class="btn btn-default" ng-click="generateChart(comp)">Refrescar/Gerar Gráfico</button>
-
 
813
                </div>
-
 
814
                <div class="col-md-10">
-
 
815
                    <label ng-if="comp.image.identifier"> Limites do PDF </label>
-
 
816
                    <div ng-if="comp.image.identifier" style="text-align: center; width: 595px; border: 1px solid black; padding: 45px">
-
 
817
                        <center>
-
 
818
                            <div style="width: 200px;height: 200px; max-width: 500px; max-height: 750px" resizable on-resize="resize($evt, $ui, comp)">
-
 
819
                                <img ng-if="comp.imageUrl" style="width: 100%;height: 100%"  ng-src="{{comp.imageUrl}}">
-
 
820
                                <img ng-if="!comp.imageUrl" style="width: 100%;height: 100%"  ng-src="{{'<%=request.getContextPath()%>/repositoryStream/' + comp.image.identifier}}">
-
 
821
                            </div>
-
 
822
                            (Se desejar altere o tamanho da imagem arrastando no canto inferior direito)
-
 
823
                        </center>
-
 
824
                    </div>
-
 
825
                </div>
-
 
826
            </div>
-
 
827
        </div>
-
 
828
    </div>
-
 
829
</script>
-
 
830
 
770