Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 6975 Rev 6976
Línea 2286... Línea 2286...
2286
 
2286
 
Línea 2287... Línea 2287...
2287
</div>   		
2287
</div>   		
2288
 
2288
 
2289
 
-
 
2290
<!-- The Modal -->
-
 
-
 
2289
 
Línea 2291... Línea 2290...
2291
<div class="modal" id="modalCapsuleEdit">
2290
<!-- The Modal -->
2292
	<div class="modal-dialog  modal-xl">
-
 
2293
    	<div class="modal-content">
-
 
2294
 
-
 
2295
            <!-- Modal Header -->
-
 
Línea -... Línea 2291...
-
 
2291
<div  id="modalCapsuleEdit">
-
 
2292
 
-
 
2293
 
-
 
2294
            <!-- Modal Header -->
2296
      		<div class="modal-header">
2295
 
2297
        		<h4 class="modal-title">LABEL_EDIT_CAPSULE</h4>
2296
			<div class="d-flex justify-content-center tituloEditor">
2298
        		<button type="button" class="close" data-dismiss="modal">&times;</button>
2297
              <h4>LABEL_EDIT_CAPSULE</h4>
2299
      		</div>
2298
 
2300
 
2299
             </div>
2301
            <!-- Modal body -->
2300
            <!-- Modal body -->
2302
      		<div class="modal-body">
2301
      		<div class="grid-padre">
2303
       			 <?php 
2302
			  <?php 
2304
       			  $form = $this->formEdit;
2303
       			  $form = $this->formEdit;
Línea 2305... Línea 2304...
2305
            		$form->setAttributes([
2304
            		$form->setAttributes([
2306
                        'method'    => 'post',
2305
                        'method'    => 'post',
2307
                        'name'      => 'form-capsule-edit',
2306
                        'name'      => 'form-capsule-edit',
2308
                        'id'        => 'form-capsule-edit'
2307
                        'id'        => 'form-capsule-edit'
2309
                    ]);
2308
                    ]);
2310
    
2309
    
-
 
2310
                    $form->prepare();
2311
                    $form->prepare();
2311
                    echo $this->form()->openTag($form);
2312
                    echo $this->form()->openTag($form);
2312
                ?>						
2313
                ?>					
2313
    				<div class="form-group grid-1-2">
2314
    			<div class="form-group">
2314
    				<?php 
2315
    				<?php 
2315
                        $element = $form->get('name');
2316
                        $element = $form->get('name');
2316
                        
2317
                        $element->setAttributes(['class' => 'form-control']);
2317
                        $element->setAttributes(['class' => 'form-control']);
2318
                        $element->setOptions(['label' => 'LABEL_NAME']);
2318
                        $element->setOptions(['label' => 'LABEL_NAME']);
2319
                        echo $this->formLabel($element);
2319
                        echo $this->formLabel($element);
2320
                        echo $this->formText($element);
2320
                        echo $this->formText($element);
2321
                    ?>
2321
                    ?>
2322
				</div>
2322
				</div>
2323
                <div class="form-group">
2323
                <div class="form-group grid-1-2">
2324
                	<?php 
2324
                	<?php 
2325
                    $element = $form->get('description');
2325
                    $element = $form->get('description');
2326
                    $element->setAttributes(['id' => 'description_edit', 'rows' => '2', 'class' => 'form-control',   'class' => 'form-control']);
2326
                    $element->setAttributes(['id' => 'description_add', 'class' => 'form-control', 'rows' => '2','class' => 'form-control']);
2327
                    $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
2327
                    $element->setOptions(['label' => 'LABEL_DESCRIPTION']);
2328
                    echo $this->formLabel($element);
2328
                    echo $this->formLabel($element);
2329
                    echo $this->formTextArea($element);
2329
                    echo $this->formTextArea($element);
2330
                    ?>
2330
                    ?>
2331
   				</div>
2331
   				</div>
2332
				<div class="form-group">
2332
				<div class="form-group grid-1-2">
2333
    				<?php 
2333
    				<?php 
2334
                        $element = $form->get('order');
2334
                        $element = $form->get('order');
2335
                        $element->setAttributes(['class' => 'form-control']);
-
 
2336
                        $element->setOptions(['label' => 'LABEL_ORDER']);
2335
                        $element->setAttributes(['class' => 'form-control']);
2337
                        echo $this->formLabel($element);
-
 
2338
                        echo $this->formText($element);
-
 
2339
                    ?>
-
 
2340
				</div>
-
 
2341
				<div class="form-group">
-
 
2342
                	
-
 
2343
                		
-
 
2344
                 		<?php 
-
 
2345
                        $element = $form->get('file');
-
 
2346
                        $element->setOptions(['label' => 'LABEL_IMAGE']);
-
 
2347
                        echo $this->formLabel($element);
-
 
2348
                        ?>
-
 
2349
                        <div class="file-loading">
-
 
2350
                        <?php 
-
 
2351
                        $element->setAttributes(['class' => 'form-control', 'accept' => 'image/jpg,image/jpeg,image/png']);
2336
                        $element->setOptions(['label' => 'LABEL_ORDER']);
2352
                        echo $this->formFile($element);
2337
                        echo $this->formLabel($element);
2353
                        ?>
2338
                        echo $this->formText($element);
2354
                	</div>
2339
                    ?>
2355
          		</div>
2340
				</div>
2356
          		
2341
				
2357
          		<div class="form-group">
2342
          		<div class="form-group grid-1-2">
2358
    				<?php 
2343
    				<?php 
2359
                        $element = $form->get('status');
2344
                        $element = $form->get('status');
2360
                        $element->setAttributes(['class' => 'form-control']);
2345
                        $element->setAttributes(['class' => 'form-control']);
2361
                        $element->setOptions(['label' => 'LABEL_STATUS']);
2346
                        $element->setOptions(['label' => 'LABEL_STATUS']);
2362
                        echo $this->formLabel($element);
2347
                        echo $this->formLabel($element);
2363
                        echo $this->formSelect($element);
2348
                        echo $this->formSelect($element);
2364
                    ?>
2349
                    ?>
2365
				</div>
2350
				</div>
2366
				<div class="form-group">
2351
				<div class="form-group grid-1-2">
2367
    				<?php 
2352
    				<?php 
2368
                        $element = $form->get('privacy');
2353
                        $element = $form->get('privacy');
2369
                        $element->setAttributes(['class' => 'form-control']);
2354
                        $element->setAttributes(['class' => 'form-control']);
2370
                        $element->setOptions(['label' => 'LABEL_PRIVACY']);
2355
                        $element->setOptions(['label' => 'LABEL_PRIVACY']);
2371
                        echo $this->formLabel($element);
2356
                        echo $this->formLabel($element);
2372
                        echo $this->formSelect($element);
2357
                        echo $this->formSelect($element);
2373
                    ?>
2358
                    ?>
2374
				</div>
2359
				</div>
2375
				<div class="form-group">
2360
				<div class="form-group grid-1-2">
2376
    				<?php 
2361
    				<?php 
2377
                        $element = $form->get('type');
2362
                        $element = $form->get('type');
2378
                        $element->setAttributes(['class' => 'form-control']);
2363
                        $element->setAttributes(['class' => 'form-control']);
2379
                        $element->setOptions(['label' => 'LABEL_TYPE']);
2364
                        $element->setOptions(['label' => 'LABEL_TYPE']);
2380
                        echo $this->formLabel($element);
2365
                        echo $this->formLabel($element);
2381
                        echo $this->formSelect($element);
2366
                        echo $this->formSelect($element);
2382
                    ?>
2367
                    ?>
2383
				</div>
2368
				</div>
2384
				<div class="form-group" id="form-row-cost">
2369
				<div class="form-group grid-1-2" id="form-row-cost">
2385
    				<?php 
2370
    				<?php 
2386
                        $element = $form->get('cost');
2371
                        $element = $form->get('cost');
2387
                        $element->setAttributes(['class' => 'form-control']);
2372
                        $element->setAttributes(['class' => 'form-control']);
2388
                        $element->setOptions(['label' => 'LABEL_COST']);
2373
                        $element->setOptions(['label' => 'LABEL_COST']);
2389
                        echo $this->formLabel($element);
2374
                        echo $this->formLabel($element);
-
 
2375
                        echo $this->formText($element);
2390
                        echo $this->formText($element);
2376
                    ?>
-
 
2377
				</div>
-
 
2378
				
-
 
2379
				<?php 
-
 
2380
                    $element = $form->get('marketplace');
2391
                    ?>
2381
					$element->setAttributes([ 'class' => 'marketplace']);
2392
				</div>
2382
                    echo $this->formHidden($element); 
-
 
2383
                ?>		
-
 
2384
                <?php 
-
 
2385
                    $element = $form->get('file');
-
 
2386
					$element->setAttributes([ 'class' => 'file']);
-
 
2387
                    echo $this->formHidden($element); 
-
 
2388
                ?>
-
 
2389
				<div class="form-group grid-1-2 ">
-
 
2390
					<div class="imagen-contaner">
-
 
2391
						<label for="marketplaceImg">Imagen de la tienda</label>
2393
 
2392
						<img id='marketplaceImg' src='' class="img img-responsive" style="width: 100px; height: auto"></img>
2394
								
2393
					</div>
Línea 2395... Línea -...
2395
        				<div class="form-group">
-
 
2396
                    		<button type="submit" class="btn btn-primary">LABEL_SAVE</button>
-
 
2397
                    		<button type="button" class="btn btn-light btn-cancel">LABEL_CANCEL</button>
-
 
2398
                   		</div>
-
 
2399
     	      		<?php echo $this->form()->closeTag($form); ?>
2394
				</div>
2400
      		</div>
-
 
2401
 
-
 
2402
            <!-- Modal footer -->
2395
				<h5 style="text-align:center " class="form-group grid-1-2" id='titleTypeImage'>Imagen de la tienda</h5>
Línea 2403... Línea 2396...
2403
      		<div class="modal-footer">
2396
          		<div class="contenido form-group " id="contenido"></div>