v0.8.0-rc
This commit is contained in:
33
resources/views/admin/documentos.blade.php
Normal file
33
resources/views/admin/documentos.blade.php
Normal file
@ -0,0 +1,33 @@
|
||||
<h4>
|
||||
Carga de documentos
|
||||
</h4>
|
||||
<div class="ui list">
|
||||
@include('admin.documento', ['descripcion' => 'Escrituras Públicas', 'link' => '#'])
|
||||
@include('admin.documento', ['descripcion' => 'Balances Anuales', 'link' => '#'])
|
||||
@include('admin.documento', ['descripcion' => 'Interés y Patrimonio', 'link' => '#'])
|
||||
@include('admin.documento', ['descripcion' => 'Infrormes Fiscalía', 'link' => '#'])
|
||||
@include('admin.documento', ['descripcion' => 'Valores', 'link' => '#'])
|
||||
</div>
|
||||
<h4>
|
||||
Transparencia
|
||||
</h4>
|
||||
<div class="ui toggle checkbox" id="transparencia">
|
||||
<label>Activar</label>
|
||||
<input type="checkbox" name="transparencia"
|
||||
@if ($transparencia)
|
||||
checked="checked"
|
||||
@endif
|
||||
/>
|
||||
</div>
|
||||
|
||||
@push('scripts')
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$('#transparencia').checkbox()
|
||||
$('#transparencia').click(function() {
|
||||
var status = $(this).checkbox('is checked')
|
||||
$.post('{{$urls->base}}/admin/transparencia', {'activo': status}, function(data) {}, 'json')
|
||||
})
|
||||
})
|
||||
</script>
|
||||
@endpush
|
Reference in New Issue
Block a user