Skip to content

Instantly share code, notes, and snippets.

View MasKoding's full-sized avatar

Dimas Priyandi MasKoding

View GitHub Profile
implementation "com.github.bumptech.glide:glide:4.11.0"
implementation 'jp.wasabeef:glide-transformations:4.0.0'
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".BelajarScrollViewActivity">
<ImageView
android:id="@+id/ivBackground"
<?php
require_once "../helper/connection.php";
require_once "../helper/PhpXlsxGenerator.php";
$fileName = "Laporan Berita Acara ".date('Y-m-d').".xlsx";
$excelData[] = array('No','Lokasi','Tanggal','Kelas','Guru','Mata Pelajaran',
'PC Terpakai','PC Tidak Terpakai','Keterangan');
<!-- Favicons -->
<link href="{{ asset('assets/img/favicon.png')}}" rel="icon">
<link href="{{ asset('assets/img/apple-touch-icon.png')}}" rel="apple-touch-icon">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Roboto:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="{{ asset('assets/vendor/animate.css/animate.min.css') }}" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
@extends('adminlte::page')
@section('title', 'Tambah User')
@section('content_header')
<h1 class="m-0 text-dark">Tambah User</h1>
@stop
@section('content')
<form action="{{route('users.store')}}" method="post">
@extends('adminlte::page')
@section('title', 'List User')
@section('content_header')
<h1 class="m-0 text-dark">List User</h1>
@stop
@section('content')
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
@push('js')
<script>
var Toast = Swal.mixin({
toast: true,
position: 'top-end',
showConfirmButton: false,
timer: 3000
});
function toast_show(icon, message) {
Toast.fire({
Route::get('/',function (){
return view('login');
})