#1 pulizia nel sorgente
This commit is contained in:
parent
1b080cfa64
commit
4030360742
10
public/js/app/conti_categorie.js
vendored
Normal file
10
public/js/app/conti_categorie.js
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
$(document).ready(function() {
|
||||||
|
$('#listrapportoS').DataTable({
|
||||||
|
responsive: true
|
||||||
|
});
|
||||||
|
});
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('#listrapportoE').DataTable({
|
||||||
|
responsive: true
|
||||||
|
});
|
||||||
|
});
|
@ -9,10 +9,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<!-- Content here -->
|
<!-- Content here -->
|
||||||
<div class="row">
|
<div class="row" >
|
||||||
<div class="col-sx-12">
|
<div class="col-sx-12" style="padding:6px;">
|
||||||
<a class="btn btn-primary open_modal_new"><i
|
<a class="btn btn-primary open_modal_new"><i
|
||||||
class="fa fa-pencil-square-o fw"></i></a>
|
class="fa fa-pencil-square-o fw"></i> Nuovo Veicolo</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Categoria</th>
|
<th>Categoria</th>
|
||||||
<th>Somma delle spese</th>
|
<th>Somma delle entrate</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -70,17 +70,6 @@
|
|||||||
|
|
||||||
@endsection
|
@endsection
|
||||||
@section('script')
|
@section('script')
|
||||||
<script>
|
<script src="/js/app/conti_categorie.js"></script>
|
||||||
$(document).ready(function() {
|
|
||||||
$('#listrapportoS').DataTable({
|
|
||||||
responsive: true
|
|
||||||
});
|
|
||||||
});
|
|
||||||
$(document).ready(function() {
|
|
||||||
$('#listrapportoE').DataTable({
|
|
||||||
responsive: true
|
|
||||||
});
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
@endsection
|
@endsection
|
||||||
|
|
@ -1,32 +0,0 @@
|
|||||||
@extends('admin')
|
|
||||||
@section('content')
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-12">
|
|
||||||
<h1 class="page-header">Tags</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-12">
|
|
||||||
<div class="panel panel-default">
|
|
||||||
<div class="panel-heading">
|
|
||||||
Modifica tags
|
|
||||||
</div>
|
|
||||||
<div class="panel-body">
|
|
||||||
<form action="" method="POST">
|
|
||||||
@foreach($tags as $tag)
|
|
||||||
@csrf
|
|
||||||
<div class="mb-3">
|
|
||||||
<label for="categoria" class="form-label">Tag</label>
|
|
||||||
<input type="text" class="form-control" id="categoria" size="50" name="tag_name" value="{{ $tag->tag_name }}">
|
|
||||||
</div>
|
|
||||||
<input type="hidden" name="id" value="{{ $_GET['id']; }}">
|
|
||||||
|
|
||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
|
||||||
|
|
||||||
@endforeach
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
@endsection
|
|
@ -21,7 +21,8 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td><a href="movimenti/filter/tags?tag={{ $tag->id }}">{{
|
<td><a href="movimenti/filter/tags?tag={{ $tag->id }}">{{
|
||||||
$tag->tag_name; }}</a></td>
|
$tag->tag_name; }}</a></td>
|
||||||
<td><button class="btn btn-warning btn-detail open_modal" value="{{ $tag->id; }}">Edit</button> <a
|
<td><button class="btn btn-warning btn-detail open_modal"
|
||||||
|
value="{{ $tag->id; }}">Edit</button> <a
|
||||||
class="btn btn-danger" href="/admin/tagdelete?id={{ $tag->id; }}"><i
|
class="btn btn-danger" href="/admin/tagdelete?id={{ $tag->id; }}"><i
|
||||||
class="fa fa-trash-o fa-fw"></i></a> </td>
|
class="fa fa-trash-o fa-fw"></i></a> </td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -33,57 +34,64 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
|
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
|
||||||
aria-labelledby="myModalLabel" aria-hidden="true">
|
aria-labelledby="myModalLabel" aria-hidden="true">
|
||||||
<div class="modal-dialog" role="document">
|
<form action="tagmodify" method="POST">
|
||||||
<div class="modal-content">
|
<div class="modal-dialog" role="document">
|
||||||
<div class="row">
|
<div class="modal-content">
|
||||||
<div class="col-lg-12">
|
<div class="modal-header">
|
||||||
<div class="panel panel-default">
|
<h4 class="modal-title">Modifica tags</h4>
|
||||||
<div class="panel-heading">Modifica tags</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="modal-body">
|
||||||
<form action="tagmodify" method="POST">
|
|
||||||
@csrf
|
|
||||||
<div class="mb-3">
|
|
||||||
<label for="tag_name" class="form-label">Tag</label> <input
|
|
||||||
type="text" class="form-control" id="tag_name" size="50"
|
|
||||||
name="tag_name" value="">
|
|
||||||
</div>
|
|
||||||
<input type="hidden" name="id" id="tag_id" value="">
|
|
||||||
|
|
||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
@csrf
|
||||||
|
<div class="mb-3">
|
||||||
|
<label for="tag_name" class="form-label">Tag</label> <input
|
||||||
|
type="text" class="form-control" id="tag_name" size="50"
|
||||||
|
name="tag_name" value="">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="modal-footer">
|
||||||
|
<input type="hidden" name="id" id="tag_id" value="">
|
||||||
|
<button type="submit" class="btn btn-primary">Modifica</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="modal fade" id="myModal_new" tabindex="-1" role="dialog"
|
||||||
|
aria-labelledby="myModalLabel" aria-hidden="true">
|
||||||
|
<form action="" method="POST">
|
||||||
|
<div class="modal-dialog" role="document">
|
||||||
|
<div class="modal-content">
|
||||||
|
<div class="modal-header">
|
||||||
|
<h4 class="modal-title">Aggiungi Tag</h4>
|
||||||
|
</div>
|
||||||
|
<div class="modal-body">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-12">
|
||||||
|
|
||||||
</form>
|
@csrf
|
||||||
|
<div class="mb-3">
|
||||||
|
<label for="tag" class="form-label">Tag</label> <input
|
||||||
|
type="text" class="form-control" id="tag" name="tag_name">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="modal-footer">
|
||||||
</div>
|
<button type="submit" class="btn btn-primary">Inserisci nuovo Tag</button>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="modal fade" id="myModal_new" tabindex="-1" role="dialog"
|
|
||||||
aria-labelledby="myModalLabel" aria-hidden="true">
|
|
||||||
<div class="modal-dialog" role="document">
|
|
||||||
<div class="modal-content">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-12">
|
|
||||||
<form action="" method="POST">
|
|
||||||
@csrf
|
|
||||||
<div class="mb-3">
|
|
||||||
<label for="tag" class="form-label">Tag</label> <input
|
|
||||||
type="text" class="form-control" id="tag" name="tag_name">
|
|
||||||
</div>
|
|
||||||
<button type="submit" class="btn btn-primary">Inserisci nuovo Tag</button>
|
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- /.col-lg-12 -->
|
|
||||||
|
|
||||||
@endsection @section('script')
|
<!-- /.col-lg-12 -->
|
||||||
<script>
|
|
||||||
|
@endsection @section('script')
|
||||||
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('#tags').DataTable({
|
$('#tags').DataTable({
|
||||||
responsive: true
|
responsive: true
|
||||||
@ -106,4 +114,4 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
@endsection
|
@endsection
|
||||||
|
Loading…
Reference in New Issue
Block a user