From 0d500f02bb5c9038615d8484583b3c6bdc4ec39d Mon Sep 17 00:00:00 2001 From: SatriaPriambada <satriapriambada@gmail.com> Date: Tue, 17 May 2016 10:06:27 +0700 Subject: [PATCH] adding daftar diklat --- ppl2/app/Http/routes.php | 4 + ppl2/resources/views/app_template.blade.php | 8 +- .../views/pendaftaran-diklat.blade.php | 243 ++++++++++++++++++ ppl2/resources/views/pendaftaran-diklat.php | 107 ++++++++ 4 files changed, 358 insertions(+), 4 deletions(-) create mode 100644 ppl2/resources/views/pendaftaran-diklat.blade.php create mode 100644 ppl2/resources/views/pendaftaran-diklat.php diff --git a/ppl2/app/Http/routes.php b/ppl2/app/Http/routes.php index 1b5ffe0..750fb8a 100644 --- a/ppl2/app/Http/routes.php +++ b/ppl2/app/Http/routes.php @@ -87,3 +87,7 @@ Route::get('/penjadwalan', function () { }); Route::get('/statistik','PendFormalController@getAllStatistik'); + +Route::get('/pendaftaran-diklat', function () { + return view('pendaftaran-diklat'); +}); \ No newline at end of file diff --git a/ppl2/resources/views/app_template.blade.php b/ppl2/resources/views/app_template.blade.php index 295d344..4febaeb 100644 --- a/ppl2/resources/views/app_template.blade.php +++ b/ppl2/resources/views/app_template.blade.php @@ -245,19 +245,19 @@ <nav ui-nav class="navi clearfix"> <ul class="nav"> <li class="hidden-folded m-t text-dark-grey text-xs padder-md padder-v-sm"> - <span>Navigation</span> + <span>Pegawai</span> </li> <li> - <a href="table_static.html" class="auto"> + <a href="{{URL::to('pendaftaran-diklat')}}" class="auto"> <i class="icon-bdg_dashboard icon-grey"></i> - <span class="font-bold">Dashboard</span> + <span class="font-bold">Daftar Pelatihan</span> </a> </li> <li class="line1 dg"></li> <li class="hidden-folded text-dark-grey text-xs padder-md padder-v-sm"> - <span>Components</span> + <span>Administrator</span> </li> <li> @if (Auth::check()) diff --git a/ppl2/resources/views/pendaftaran-diklat.blade.php b/ppl2/resources/views/pendaftaran-diklat.blade.php new file mode 100644 index 0000000..0c69df1 --- /dev/null +++ b/ppl2/resources/views/pendaftaran-diklat.blade.php @@ -0,0 +1,243 @@ +@extends('app_template') + +@section('title') + Pendaftaran Diklat +@stop + +@section('page_title') + <h2>Pendaftaran Diklat</h2> +@stop + + +<!-- content --> +@section('head_content') + @if (Session::has('message')) + <div class="alert alert-info fade in">{{ Session::get('message') }} + <a href="#" class="close" data-dismiss="alert" aria-label="close" title="close">×</a> + </div> + @endif +@stop + +@section('content') +<div class="panel panel-default"> + <div class="panel-heading font-semibold"> + <div style="display: inline-block;">pendaftaran-diklat</div> + <div style="display: inline-block; width: 93%; text-align: right;"> + <button class="btn btn-default">Prev</button> + <button class="btn btn-default">Next</button> + </div> + </div> + <div> + <table id="pendaftaran-diklat" class="table pendaftaran-diklat-table" ui-jq="footable"> + <thead> + <tr> + <th data-breakpoints="xs">Waktu</th> + <th>Senin, 17/4</th> + <th>Selasa, 18/4</th> + <th>Rabu, 19/4</th> + <th>Kamis, 20/4</th> + <th>Jumat, 21/4</th> + <th>Sabtu, 22/4</th> + <th>Minggu, 23/4</th> + </tr> + </thead> + <tbody> + <tr data-expanded="true"> + <td>07.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>08.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>09.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>10.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>11.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>12.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>13.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>14.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>15.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>16.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>17.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>18.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>19.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>20.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td>21.00</td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + </tbody> + </table> + </div> + + <!-- Modal --> + <div class="modal fade" id="myModal" role="dialog"> + <div class="modal-dialog"> + + <!-- Modal content--> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal">×</button> + <h4 class="modal-title">Input Jadwal</h4> + </div> + <div class="modal-body"> + <form class="form-group" method = "POST" action = "{{URL::to('daftarinstitusi')}}" > + <label for="judul">Judul kegiatan</label> + <input type="text" class="form-control" id="judul"> + <label for="nama">Nama penyelenggara</label> + <input type="text" class="form-control" id="nama"> + <label for="ruangan">Ruangan</label> + <select class="form-control" id="ruangan"> + <option>Ruangan 1</option> + <option>Ruangan 2</option> + </select> + + + </div> + <div class="modal-footer"> + <button type="submit" class="btn btn-primary">Submit</button> + <button type="button" class="btn btn-default" data-dismiss="modal">Close</button> + + </div> + </form> + </div> + + </div> + </div> +@stop + +@section('js') + <script> + $(function(){ + $('#pendaftaran-diklat td').click(function () { + $('#myModal').modal('show'); + }); + }); + </script> +@stop \ No newline at end of file diff --git a/ppl2/resources/views/pendaftaran-diklat.php b/ppl2/resources/views/pendaftaran-diklat.php new file mode 100644 index 0000000..6319bb4 --- /dev/null +++ b/ppl2/resources/views/pendaftaran-diklat.php @@ -0,0 +1,107 @@ +@extends('app_template') + +@section('title') + Pendaftaran Diklat +@stop + +@section('page_title') + <h2>Pendaftaran Diklat</h2> +@stop + + +<!-- content --> +@section('head_content') + @if (Session::has('message')) + <div class="alert alert-info fade in">{{ Session::get('message') }} + <a href="#" class="close" data-dismiss="alert" aria-label="close" title="close">×</a> + </div> + @endif + <div class="row"> + <div class="col-md-3"> + <button class="btn m-b-sm m-r-sm btn-success" onclick="location.href = '{{URL::to('/')}}/formInstitusi';"><i class="m-r-xs fa fa-plus"></i>Tambahkan Institusi</button> + </div> + <div class="col-md-6"> + <form action = "{{URL::to('/')}}/daftarinstitusi/search" method="GET"> + <div class="input-group"> + <input type="text" class="form-control" placeholder="Cari Institusi" name="query" required> + <span class="input-group-btn"> + <button class="btn btn-default" type="submit">Go!</button> + </span> + </div> + </form> + </div> + </div> +@stop + +@section('content') +<div class="panel panel-default"> + <div class="panel-heading font-semibold"> + Pendaftaran Diklat + </div> + <div> + <table class="table" ui-jq="footable" ui-options='{ + "paging": { + "enabled": true + }}'> + <thead> + <tr> + <th>Minggu ke-</th> + <th>Senin</th> + <th>Selasa</th> + <th>Rabu</th> + <th>Kamis</th> + <th>Jumat</th> + <th>Sabtu</th> + <th>Minggu</th> + </tr> + </thead> + <tbody> + <tr data-expanded="true"> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + <tr data-expanded="true"> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + <td></td> + </tr> + </tbody> + </table> + </div> +@stop \ No newline at end of file -- GitLab