7b2c23e19f8ee4ce965653ea0f25200612b38d8a
[portal/sdk.git] /
1 <style>
2 table tbody td {
3         border: none;
4 }
5
6 table tbody tr {
7         border: none;
8 }
9
10 table tbody {
11         border: none;
12 }
13
14 table {
15         border: none;
16 }
17
18 .grid {
19         width: 100%;
20         height: 400;
21 }
22
23 .no-rows {
24         position: absolute;
25         top: 0;
26         bottom: 0;
27         width: 100%;
28         background: rgba(0, 0, 0, 0.4);
29 }
30
31 .no-rows .msg {
32         opacity: 1;
33         position: absolute;
34         top: 20%;
35         left: 20%;
36         width: 60%;
37         height: 50%;
38         line-height: 200%;
39         background-color: #eee;
40         border-radius: 4px;
41         border: 1px solid #555;
42         text-align: center;
43         font-size: 24px;
44         display: table;
45 }
46
47 .no-rows .msg span {
48         display: table-cell;
49         vertical-align: middle;
50 }
51
52 .grid .ui-grid-header-cell {
53         text-align: center;
54 }
55
56 body {
57         font-size: 13px;
58 }
59 </style>
60
61 <div id="page-content">
62         <div style="width: 100%; overflow: hidden;">
63                 <div style="float: left;">
64                         <h1 class="heading-page">{{reportData.reportHeading}}</h1>
65                 </div>
66                 <div style="float: left; margin-left: 10px; margin-right: 10px;">
67                         <a style="font-size: 180%;"
68                                 ng-href="report#/report_wizard/{{reportData.reportID}}"
69                                 class="icon-misc-pen" ng-show="reportData.allowEdit"></a>
70                 </div>
71                 <div style="float: left; margin-left: 5px; margin-right: 10px;">
72                         <a style="font-size: 180%;"
73                                 ng-href="report#/report_chart/{{reportData.reportID}}"
74                                 class="icon-misc-piechart" ng-show="reportData.allowEdit"></a>
75                 </div>
76
77                 <div ng-show="reportData.allowEdit && showFormFields"
78                         style="margin-top: 5px;">
79                         <label for="checkbox1" class="checkbox"> <input
80                                 id="checkbox1" type="checkbox" ng-model="showFormFieldId.value" /><i
81                                 class="skin"></i><span>show IDs</span>
82                         </label>
83                 </div>
84         </div>
85         <div ng-show="showLoader" class="span loader-container">
86                 <i class="icon-primary-spinner" role="img"
87                         aria-label="Please wait while we load your content"></i>
88         </div>
89         <h3 class="heading3">{{reportData.reportSubTitle}}</h3>
90
91         <div ng-show="isInProgress" style="font-size: 50px; color: #2ca02c">Loading...</div>
92
93         <form ng-show="showFormFields" class="row section-row"
94                 style="margin: 10px">
95                 <form-builder ng-form-fields="reportData.formFieldList"
96                         ng-show-field-id="showFormFieldId.value"
97                         ng-num-form-cols="reportData.numFormCols"
98                         ng-model="formFieldSelectedValues"
99                         ng-trigger-method="triggerOtherFormFields"></form-builder>
100                 <br>
101                 <br>
102                 <button type="submit"
103                         style="width: 90px; height: 35px; margin-top: 20px; margin-left: 5px;"
104                         class="btn btn-alt btn-small" ng-click="runReport()">Run</button>
105         </form>
106         <button type="submit" ng-show="showBackButton"
107                 style="width: 90px; height: 35px; margin-top: 20px; margin-left: 5px;"
108                 class="btn btn-alt btn-small" ng-click="backToParentReport()">Back</button>
109         <iframe id="chartiframe" ng-show="showChart" width="100%"
110                 height="550px" style="border: none" scrolling="no"></iframe>
111         <div id="errorDiv"></div>
112         <div ng-if="showGrid">
113                 <div id="grid1" ui-grid="gridOptions" ui-grid-pagination
114                         ui-grid-pinning ui-grid-resize-columns class="grid"
115                         style="height: {{gridHeight">
116                         <div class="no-rows" ng-show="!gridOptions.data.length">
117                                 <div class="msg">
118                                         <span>{{reportData.message}}</span>
119                                 </div>
120                         </div>
121                 </div>
122         </div>
123         <!-- <a type="submit" ng-show="showBackButton"  style="margin: 10px" ng-href="report.htm#/report_run/{{parentReportUrlParams}}" att-button btn-type="primary" size="small" title='Back'>Back</a> -->
124 </div>