|
1 | | -@extends('layouts.app', ['title' => 'Importazione studenti']) |
| 1 | +<?php |
| 2 | +/** |
| 3 | + * File: /resources/views/pages/classes/import.blade.php |
| 4 | + * @package smartbreak |
| 5 | + * @author Costantino Tassielli <costantino.tassielli.inf@colamonicochiarulli.edu.it> |
| 6 | + * @copyright (c)2022 IISS Colamonico-Chiarulli Acquaviva delle Fonti (BA) Italy |
| 7 | + * Created Date: Saturday, December 3rd 2022, 10:35:48 am |
| 8 | + * ----- |
| 9 | + * Last Modified: December 17th 2022 10:07:22 am |
| 10 | + * Modified By: Costantino Tassielli <costantino.tassielli.inf@colamonicochiarulli.edu.it> |
| 11 | + * ----- |
| 12 | + * HISTORY: |
| 13 | + * Date By Comments |
| 14 | + * ---------- ------------- ---------------------------------- |
| 15 | + * 2022-12-17 C. Tassielli Added sample file CSV |
| 16 | + * A. Liuzzi |
| 17 | + * 2021-05-18 R. Andriano Import CSV School-Classes & Students |
| 18 | + * ----- |
| 19 | + * @license https://www.gnu.org/licenses/agpl-3.0.html AGPL 3.0 |
| 20 | + * ------------------------------------------------------------------------------ |
| 21 | + * SmartBreak is a School Bar food booking web application |
| 22 | + * developed during the PON course "The AppFactory" 2020-2021 with teachers |
| 23 | + * & students of "Informatica e Telecomunicazioni" |
| 24 | + * at IISS "C. Colamonico - N. Chiarulli" Acquaviva delle Fonti (BA)-Italy |
| 25 | + * Expert dr. Giovanni Ciriello <giovanni.ciriello.5@gmail.com> |
| 26 | + * ---------------------------------------------------------------------------- |
| 27 | + * SmartBreak is free software; you can redistribute it and/or modify it under |
| 28 | + * the terms of the GNU Affero General Public License version 3 as published by |
| 29 | + * the Free Software Foundation |
| 30 | + * |
| 31 | + * SmartBreak is distributed in the hope that it will be useful, but WITHOUT |
| 32 | + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 33 | + * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more |
| 34 | + * details. |
| 35 | + * You should have received a copy of the GNU Affero General Public License along |
| 36 | + * with this program; if not, see http://www.gnu.org/licenses or write to the Free |
| 37 | + * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
| 38 | + * 02110-1301 USA. |
| 39 | + * |
| 40 | + * The interactive user interfaces in original and modified versions |
| 41 | + * of this program must display Appropriate Legal Notices, as required under |
| 42 | + * Section 5 of the GNU Affero General Public License version 3. |
| 43 | + * |
| 44 | + * In accordance with Section 7(b) of the GNU Affero General Public License version 3, |
| 45 | + * these Appropriate Legal Notices must retain the display of the SmartBreak |
| 46 | + * logo and IISS "Colamonico-Chiarulli" copyright notice. If the display of the logo |
| 47 | + * is not reasonably feasible for technical reasons, the Appropriate Legal Notices |
| 48 | + * must display the words |
| 49 | + * "(C) IISS Colamonico-Chiarulli-https://colamonicochiarulli.edu.it - 2022". |
| 50 | + * |
| 51 | + * ------------------------------------------------------------------------------ |
| 52 | + */ |
| 53 | +
|
| 54 | +?> |
| 55 | +@extends('layouts.app', ['title' => 'Importazione classi']) |
2 | 56 | @include('plugins.toastr') |
3 | 57 |
|
4 | 58 | @section('content') |
|
13 | 67 | <form action="{{ route('classes.import-csv') }}" method="POST" enctype="multipart/form-data"> |
14 | 68 | @csrf |
15 | 69 | <div class="form-group"> |
| 70 | + <p>Il file csv delle classi deve avere i seguenti campi: id,site_id,year,course,section</p> |
| 71 | + <a href="{{asset('download/classi-sample.csv')}}" target="_blank" rel="nofollow noopener noreferrer" title="Download sample csv ">Scarica CSV classi di esempio</a> |
16 | 72 | <div class="custom-file"> |
17 | 73 | <input type="file" class="custom-file-input" id="customFile" name="file" onchange="$('#upload-file-info').html(this.files[0].name)"> |
18 | 74 | <label class="custom-file-label" id="upload-file-info" for="customFile">Scegli il file</label> |
|
0 commit comments