Subversion Repositories bacoAlunos

Rev

Rev 1870 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1870 Rev 1871
Line 1... Line 1...
1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
2
<style>
2
<style>
-
 
3
    .sections
-
 
4
    {
-
 
5
        padding-left: 20px;
-
 
6
    }
3
    .buttonTools
7
    .buttonTools
4
    {
8
    {
5
        border: 1px solid gray;
9
        border: 1px solid gray;
6
        background-color: lightgray;
10
        background-color: lightgray;
7
        padding: 5px;
11
        padding: 5px;
Line 21... Line 25...
21
        border: 1px solid gray;
25
        border: 1px solid gray;
22
        padding: 5px;
26
        padding: 5px;
23
    }
27
    }
24
</style>
28
</style>
25
 
29
 
-
 
30
<!--Require templateObj-->
-
 
31
<script type="text/ng-template" id="callDocumentTemplate">
-
 
32
 
-
 
33
    <div ng-include="class2id(templateObj)"></div>
-
 
34
</script>
26
 
35
 
27
<%--
36
<%--
28
    customPane Need component customPane in variable customPane
37
    customPane Need component customPane in variable customPane
29
    docAppSelector selector usualy an html ID for ng-app example #docReport
38
    docAppSelector selector usualy an html ID for ng-app example #docReport
30
--%>
39
--%>
Line 57... Line 66...
57
                    <span class="glyphicon glyphicon-remove"></span>
66
                <span class="glyphicon glyphicon-remove"></span>
58
                </button>
67
            </button>
59
                <label>Componente de Imagem (Use esta funcinalidade para adicionar gráficos ou tabelas que ache necessárias)</label>
68
            <label>Componente de Imagem (Use esta funcinalidade para adicionar gráficos ou tabelas que ache necessárias)</label>
60
        </div>
69
        </div>
61
 
70
 
62
        <div class="componentBody" ng-if="comp['@class']=='pt.estgp.estgweb.utils.documentBuilder.ImageComponent'">
71
        <div class="componentBody">
63
                <div class="form-group clearfix" ng-if="comp.image.identifier">
72
            <div class="form-group clearfix" ng-if="comp.image.identifier">
64
                    <label class="col-md-2 control-label">Legenda</label>
73
                <label class="col-md-2 control-label">Legenda</label>
65
                    <div class="col-md-10">
74
                <div class="col-md-10">
66
                        <input type="text" class="form-control" rows="10" ng-model="comp.title">
75
                    <input type="text" class="form-control" rows="10" ng-model="comp.title">
67
                    </div>
76
                </div>
Line 134... Line 143...
134
                </div>
143
                </div>
135
            </div>
144
            </div>
136
        </div>
145
        </div>
137
    </div>
146
    </div>
138
</script>
147
</script>
139
 
148
 
-
 
149
<!--
-
 
150
@section objeto com seccoes e componentes
-
 
151
@optional @chapter capitulo do documento para esta seccao para contcatenar às subsections
-
 
152
-->
-
 
153
<script type="text/ng-template" id="pt_estgp_estgweb_utils_documentBuilder_DocumentSection">
-
 
154
    <div class="sections">
-
 
155
        <ul class="nav nav-tabs">
-
 
156
            <li ng-model="section" class="separatorSectionNav"
-
 
157
                ng-class="{ active : subSection.active}"
-
 
158
                ng-repeat="subSection in section.sections">
-
 
159
                <a ng-click="showSep(section,subSection)"> {{$chapter}}{{$index+1}} - {{subSection.title}}</a>
-
 
160
            </li>
-
 
161
        </ul>
-
 
162
        <div ng-model="subSection"
-
 
163
             ng-class="{ hidden: !subSection.active }"
-
 
164
             ng-repeat="subSection in section.sections"
-
 
165
             class="separatorSection clearfix">
-
 
166
            <div ng-repeat="comp in subSection.components"
-
 
167
                 ng-include="class2id(comp)">
-
 
168
 
-
 
169
            </div>
-
 
170
            <div ng-if="subSection.sections"
-
 
171
                 ng-init="section=subSection;$chapter=$chapter+($index+1)+'.'"
-
 
172
                 ng-include="class2id(subSection)">
-
 
173
            </div>
-
 
174
        </div>
-
 
175
    </div>
-
 
176
</script>
-
 
177