Subversion Repository Public Repository

Nextrek

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
@extends('layout.main')

@section('styles')
    {{ HTML::style('css/bootstrap.css') }}
    {{ HTML::style('css/AdminLTE.css') }}
    {{ HTML::style('css/datatables/dataTables.bootstrap.css') }}
@stop

@section('content')
<div class="img-titolo">
    <div><hr><h2>Admin</h2><hr></div>
    <img src="{{ URL::asset('image/riservata-bg.jpg') }}" alt="">
</div>

<div class="wrap admin">
    @include('admin.nav')

    <section class="content">
        <div class="row">
        <div class="col-md-12">
            <!-- Custom Tabs -->
            <div class="nav-tabs-custom">
                <ul class="nav nav-tabs">
                    <li class="active"><a href="javascript:void(0)" data-toggle="tab">Documenti upload</a></li>
                </ul>
                <div class="tab-content">
                    <div class="tab-pane active" id="user_create">

                        <div class="row margin">
                            {{Form::open(['url'=>'admin/documenti/upload','files'=>'true'])}}
                            <div class="col-md-12">

                            <div class="form-group">
                                <label for="titolo">Titolo</label>
                                <input type="text" class="form-control" name="titolo" id="titolo" placeholder="Enter titolo">
                            </div>

                            <div class="form-group">
                                <label for="file">File</label>
                                <input class="form-control" type="file" name="file" id="file">
                            </div>

                            <div class="form-group">
                                <input class="form-control" type="checkbox" name="pubblicato" id="pubblicato" value="true"/>
                                <label for="pubblicato">Pubblicato</label>
                            </div>

                            <button type="submit" class="btn btn-flat btn-success">Crea</button>

                            </div>
                            {{Form::close()}}

                        </div>

                    </div>

                </div>
                <!-- /.tab-content -->
            </div>
            <!-- nav-tabs-custom -->
        </div>
        <!-- /.col -->
    </div>
        <!-- /.box -->
    </section><!-- /.content -->

</div>
@stop

@section('scripts')
    {{HTML::script('js/plugins/datatables/jquery.dataTables.js') }}
    {{HTML::script('js/plugins/datatables/dataTables.bootstrap.js') }}

    <script type="text/javascript">
        $(function () {
            $('#crud_list').dataTable({
                "bSort": true,
                "aaSorting": [[0,'desc']],
                "bPaginate": true,
                "bLengthChange": false,
                "bFilter": false,
                "bInfo": true,
                "bAutoWidth": false
            });
        });
    </script>
@stop

Commits for Nextrek/Aiba_backup/app/views/admin/documenti/upload.blade.php

Diff revisions: vs.
Revision Author Commited Message
1464 MOliva picture MOliva Tue 13 Oct, 2020 11:16:56 +0000