Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 6694 | Rev 6703 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 6694 Rev 6701
Línea 42... Línea 42...
42
$this->inlineScript()->appendFile($this->basePath('plugins/datatables/jquery.dataTables.min.js'));
42
$this->inlineScript()->appendFile($this->basePath('plugins/datatables/jquery.dataTables.min.js'));
43
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js'));
43
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-bs4/js/dataTables.bootstrap4.min.js'));
44
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/dataTables.responsive.min.js'));
44
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/dataTables.responsive.min.js'));
45
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/responsive.bootstrap4.min.js'));
45
$this->inlineScript()->appendFile($this->basePath('plugins/datatables-responsive/js/responsive.bootstrap4.min.js'));
Línea -... Línea 46...
-
 
46
 
Línea 46... Línea 47...
46
 
47
$this->headLink()->appendStylesheet($this->basePath('plugins/nelberth-editor/style.css'));
47
 
48
 
Línea 48... Línea 49...
48
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
49
$this->headLink()->appendStylesheet($this->basePath('plugins/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
Línea 2086... Línea 2087...
2086
<!-- The Modal -->
2087
<!-- The Modal -->
2087
<div id="modalCapsuleAdd" style='display:none'>
2088
<div id="modalCapsuleAdd" style='display:none'>
Línea 2088... Línea 2089...
2088
 
2089
 
2089
 
-
 
2090
            <!-- Modal Header -->
-
 
2091
      		<div class="modal-header">
-
 
2092
        		<h4 class="modal-title">LABEL_ADD_CAPSULE</h4>
-
 
Línea -... Línea 2090...
-
 
2090
 
-
 
2091
            <!-- Modal Header -->
-
 
2092
 
-
 
2093
              <div class="d-flex justify-content-center tituloEditor">
2093
        		<button type="button" class="close" data-dismiss="modal">&times;</button>
2094
              <h4>LABEL_ADD_CAPSULE</h4>
2094
      		</div>
2095
 
2095
 
2096
             </div>
2096
            <!-- Modal body -->
2097
            <!-- Modal body -->
2097
      		<div class="modal-body">
2098
      		<div class="grid-padre">
2098
       			 <?php 
2099
       			 <?php 
2099
       			 $form = $this->formAdd;
2100
       			 $form = $this->formAdd;
Línea 2105... Línea 2106...
2105
                    ]);
2106
                    ]);
Línea 2106... Línea 2107...
2106
    
2107
    
2107
                    $form->prepare();
2108
                    $form->prepare();
2108
                    echo $this->form()->openTag($form);
2109
                    echo $this->form()->openTag($form);
2109
                    ?>					
2110
                    ?>					
2110
    				<div class="form-group">
2111
    				<div class="form-group grid-1-2">
2111
    				<?php 
2112
    				<?php 
Línea 2112... Línea 2113...
2112
                        $element = $form->get('name');
2113
                        $element = $form->get('name');
2113
                        
2114
                        
2114
                        $element->setAttributes(['class' => 'form-control']);
2115
                        $element->setAttributes(['class' => 'form-control']);
2115
                        $element->setOptions(['label' => 'LABEL_NAME']);
2116
                        $element->setOptions(['label' => 'LABEL_NAME']);
2116
                        echo $this->formLabel($element);
2117
                        echo $this->formLabel($element);
2117
                        echo $this->formText($element);
2118
                        echo $this->formText($element);
2118
                    ?>
2119
                    ?>
2119
				</div>
2120
				</div>
2120
                <div class="form-group">
2121
                <div class="form-group grid-1-2">
2121
                	<?php 
2122
                	<?php 
2122
                    $element = $form->get('description');
2123
                    $element = $form->get('description');
2123
                    $element->setAttributes(['id' => 'description_add', 'class' => 'form-control', 'rows' => '2','class' => 'form-control']);
2124
                    $element->setAttributes(['id' => 'description_add', 'class' => 'form-control', 'rows' => '2','class' => 'form-control']);
2124
                    $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
2125
                    $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
2125
                    echo $this->formLabel($element);
2126
                    echo $this->formLabel($element);
2126
                    echo $this->formTextArea($element);
2127
                    echo $this->formTextArea($element);
2127
                    ?>
2128
                    ?>
2128
   				</div>
2129
   				</div>
2129
				<div class="form-group">
2130
				<div class="form-group grid-1-2">
2130
    				<?php 
2131
    				<?php 
2131
                        $element = $form->get('order');
2132
                        $element = $form->get('order');
2132
                        $element->setAttributes(['class' => 'form-control']);
2133
                        $element->setAttributes(['class' => 'form-control']);
2133
                        $element->setOptions(['label' => 'LABEL_ORDER']);
2134
                        $element->setOptions(['label' => 'LABEL_ORDER']);
2134
                        echo $this->formLabel($element);
2135
                        echo $this->formLabel($element);
2135
                        echo $this->formText($element);
2136
                        echo $this->formText($element);
2136
                    ?>
2137
                    ?>
2137
				</div>
2138
				</div>
2138
				<div class="form-group">
2139
				<div class="form-group grid-1-2">
Línea 2139... Línea 2140...
2139
               		<?php 
2140
               		<?php 
2140
                    $element = $form->get('file');
2141
                    $element = $form->get('file');
Línea 2145... Línea 2146...
2145
                    ?>
2146
                    ?>
2146
                    <div class="file-loading">
2147
                    <div class="file-loading">
2147
                    	<?php echo $this->formFile($element); ?>
2148
                    	<?php echo $this->formFile($element); ?>
2148
                	</div>
2149
                	</div>
2149
          		</div>
2150
          		</div>
2150
          		<div class="form-group">
2151
          		<div class="form-group grid-1-2">
2151
    				<?php 
2152
    				<?php 
2152
                        $element = $form->get('status');
2153
                        $element = $form->get('status');
2153
                        $element->setAttributes(['class' => 'form-control']);
2154
                        $element->setAttributes(['class' => 'form-control']);
2154
                        $element->setOptions(['label' => 'LABEL_STATUS']);
2155
                        $element->setOptions(['label' => 'LABEL_STATUS']);
2155
                        echo $this->formLabel($element);
2156
                        echo $this->formLabel($element);
2156
                        echo $this->formSelect($element);
2157
                        echo $this->formSelect($element);
2157
                    ?>
2158
                    ?>
2158
				</div>
2159
				</div>
2159
				<div class="form-group">
2160
				<div class="form-group grid-1-2">
2160
    				<?php 
2161
    				<?php 
2161
                        $element = $form->get('privacy');
2162
                        $element = $form->get('privacy');
2162
                        $element->setAttributes(['class' => 'form-control']);
2163
                        $element->setAttributes(['class' => 'form-control']);
2163
                        $element->setOptions(['label' => 'LABEL_PRIVACY']);
2164
                        $element->setOptions(['label' => 'LABEL_PRIVACY']);
2164
                        echo $this->formLabel($element);
2165
                        echo $this->formLabel($element);
2165
                        echo $this->formSelect($element);
2166
                        echo $this->formSelect($element);
2166
                    ?>
2167
                    ?>
2167
				</div>
2168
				</div>
2168
				<div class="form-group">
2169
				<div class="form-group grid-1-2">
2169
    				<?php 
2170
    				<?php 
2170
                        $element = $form->get('type');
2171
                        $element = $form->get('type');
2171
                        $element->setAttributes(['class' => 'form-control']);
2172
                        $element->setAttributes(['class' => 'form-control']);
2172
                        $element->setOptions(['label' => 'LABEL_TYPE']);
2173
                        $element->setOptions(['label' => 'LABEL_TYPE']);
2173
                        echo $this->formLabel($element);
2174
                        echo $this->formLabel($element);
2174
                        echo $this->formSelect($element);
2175
                        echo $this->formSelect($element);
2175
                    ?>
2176
                    ?>
2176
				</div>
2177
				</div>
2177
				<div class="form-group" id="form-row-cost">
2178
				<div class="form-group grid-1-2" id="form-row-cost">
2178
    				<?php 
2179
    				<?php 
2179
                        $element = $form->get('cost');
2180
                        $element = $form->get('cost');
2180
                        $element->setAttributes(['class' => 'form-control']);
2181
                        $element->setAttributes(['class' => 'form-control']);
2181
                        $element->setOptions(['label' => 'LABEL_COST']);
2182
                        $element->setOptions(['label' => 'LABEL_COST']);
2182
                        echo $this->formLabel($element);
2183
                        echo $this->formLabel($element);
2183
                        echo $this->formText($element);
2184
                        echo $this->formText($element);
2184
                    ?>
2185
                    ?>
2185
				</div>
2186
				</div>
2186
				<div class="form-group">
2187
				<div class="form-group grid-1-2">
Línea 2187... Línea 2188...
2187
                	
2188
                	
2188
                 	<?php 
2189
                 	<?php 
2189
                    $element = $form->get('marketplace');
2190
                    $element = $form->get('marketplace');
2190
                    $element->setAttributes([ 'class' => 'form-control', 'accept' => 'image/jpg,image/jpeg,image/png']);
2191
                    $element->setAttributes([ 'class' => 'form-control', 'accept' => 'image/jpg,image/jpeg,image/png']);
Línea 2194... Línea 2195...
2194
                    <div class="file-loading">
2195
                    <div class="file-loading">
2195
                    	<?php echo $this->formFile($element); ?>
2196
                    	<?php echo $this->formFile($element); ?>
2196
                	</div>
2197
                	</div>
2197
          		</div>
2198
          		</div>
Línea 2198... Línea -...
2198
								
-
 
2199
        				<div class="form-group">
2199
								
2200
                    		<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2201
                    		<button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
-
 
2202
                   		</div>
2200
                  <div class="contenido form-group " id="contenido"></div>
2203
     	      		<?php echo $this->form()->closeTag($form); ?>
2201
     	      		<?php echo $this->form()->closeTag($form); ?>
Línea 2204... Línea 2202...
2204
      		</div>
2202
      		</div>
2205
 
2203