Add interview page (incomplete commit)
This commit is contained in:
parent
e0e417e631
commit
623200914d
@ -31,4 +31,9 @@ class ApplicationController extends Controller
|
||||
{
|
||||
return view('dashboard.appmanagement.peerreview');
|
||||
}
|
||||
|
||||
public function showPendingInterview()
|
||||
{
|
||||
return view('dashboard.appmanagement.interview');
|
||||
}
|
||||
}
|
||||
|
@ -250,7 +250,7 @@ return [
|
||||
],
|
||||
[
|
||||
'text' => 'Interview Queue',
|
||||
'url' => '/application/staff/pending-interview',
|
||||
'url' => '/applications/staff/pending-interview',
|
||||
'icon' => 'fas fa-fw fa-microphone-alt'
|
||||
],
|
||||
'Administration',
|
||||
|
28
package-lock.json
generated
28
package-lock.json
generated
@ -952,6 +952,34 @@
|
||||
"to-fast-properties": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"@fullcalendar/core": {
|
||||
"version": "4.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@fullcalendar/core/-/core-4.4.0.tgz",
|
||||
"integrity": "sha512-PC4mmXHJHAlXmUEmZVnePyA8yYCOBdxBNq8yjJqedEtT1X0x36yTFz/Y0Ux6bniICZDqYtk0xoxe6jaxi++e0g=="
|
||||
},
|
||||
"@fullcalendar/daygrid": {
|
||||
"version": "4.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@fullcalendar/daygrid/-/daygrid-4.4.0.tgz",
|
||||
"integrity": "sha512-pDfvL0XZxKHTZ4VFOmwaYe3LmuABEIZsEopeqQ8y5O6BDen9KCbJqgHeCI8FpASSBd6bNlUx7il7EHdSoHhgIw=="
|
||||
},
|
||||
"@fullcalendar/list": {
|
||||
"version": "4.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@fullcalendar/list/-/list-4.4.0.tgz",
|
||||
"integrity": "sha512-uUDSPS71czNTK5Z3x3HzeE3KIvqkCfvhY+mGFdaAL6+7VpCwEIfB6s3GIJOjzu9TONmczMk4jdq0b1WUFLY5PQ=="
|
||||
},
|
||||
"@fullcalendar/timegrid": {
|
||||
"version": "4.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@fullcalendar/timegrid/-/timegrid-4.4.0.tgz",
|
||||
"integrity": "sha512-QwJ9oM87/ZTbXaE8PMIVp20GPtVCFmroaeR1GydJ6BKYtbxG/nsaSv7RhqvDa2jLjHaTWC2NjHo9hRfjQjtCZA==",
|
||||
"requires": {
|
||||
"@fullcalendar/daygrid": "~4.4.0"
|
||||
}
|
||||
},
|
||||
"@fullcalendar/timeline": {
|
||||
"version": "4.4.0",
|
||||
"resolved": "https://registry.npmjs.org/@fullcalendar/timeline/-/timeline-4.4.0.tgz",
|
||||
"integrity": "sha512-GpgNMVjUkFXlC/dVBhiVZJf3/22EulvD1qLaH5zEk/2xYZVdKC9BWo+vOAuRjyvuDnkgHSmtqyjyV2KlRNKWPw=="
|
||||
},
|
||||
"@mrmlnc/readdir-enhanced": {
|
||||
"version": "2.2.1",
|
||||
"resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz",
|
||||
|
@ -25,6 +25,11 @@
|
||||
"vue-template-compiler": "^2.6.10"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fullcalendar/core": "^4.4.0",
|
||||
"@fullcalendar/daygrid": "^4.4.0",
|
||||
"@fullcalendar/list": "^4.4.0",
|
||||
"@fullcalendar/timegrid": "^4.4.0",
|
||||
"@fullcalendar/timeline": "^4.4.0",
|
||||
"chart.js": "^2.9.3",
|
||||
"locale-js": "^1.1.1",
|
||||
"moment": "^2.25.0"
|
||||
|
1908
public/css/fullcalendar.css
vendored
Normal file
1908
public/css/fullcalendar.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
36840
public/js/app.js
vendored
36840
public/js/app.js
vendored
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,5 @@
|
||||
{
|
||||
"/js/app.js": "/js/app.js",
|
||||
"/css/app.css": "/css/app.css"
|
||||
"/css/app.css": "/css/app.css",
|
||||
"/css/fullcalendar.css": "/css/fullcalendar.css"
|
||||
}
|
||||
|
5
resources/js/app.js
vendored
5
resources/js/app.js
vendored
@ -7,6 +7,11 @@
|
||||
require('chart.js');
|
||||
require('./bootstrap');
|
||||
|
||||
import { Calendar } from '@fullcalendar/core';
|
||||
import dayGridPlugin from '@fullcalendar/daygrid';
|
||||
import timeGridPlugin from '@fullcalendar/timegrid';
|
||||
import listPlugin from '@fullcalendar/list';
|
||||
|
||||
window.Vue = require('vue');
|
||||
|
||||
/**
|
||||
|
1
resources/js/calendar.js
vendored
Normal file
1
resources/js/calendar.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
|
54
resources/views/dashboard/appmanagement/interview.blade.php
Normal file
54
resources/views/dashboard/appmanagement/interview.blade.php
Normal file
@ -0,0 +1,54 @@
|
||||
@extends('adminlte::page')
|
||||
|
||||
@section('title', 'Raspberry Network | Applications')
|
||||
|
||||
@section('content_header')
|
||||
|
||||
<h4>Application Management / Pending Interviews</h4>
|
||||
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col">
|
||||
|
||||
<div class="small-box bg-warning">
|
||||
<div class="inner">
|
||||
<h3>3</h3>
|
||||
<p>Pending Interviews</p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="fas fa-microphone-alt"></i>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col">
|
||||
|
||||
<div class="small-box bg-success">
|
||||
<div class="inner">
|
||||
<h3>4</h3>
|
||||
<p>Finished Interviews</p>
|
||||
</div>
|
||||
<div class="icon">
|
||||
<i class="fas fa-check"></i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col">
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@stop
|
@ -4,7 +4,7 @@
|
||||
|
||||
@section('content_header')
|
||||
|
||||
<h4>My Account / Peer Review</h4>
|
||||
<h4>Application Management / Peer Review</h4>
|
||||
|
||||
@stop
|
||||
|
||||
|
@ -21,6 +21,8 @@ Route::post('/form/contact', 'ContactController@create')
|
||||
|
||||
Route::group(['middleware' => 'auth'], function(){
|
||||
|
||||
Route::get('/dashboard', 'DashboardController@index');
|
||||
|
||||
Route::group(['prefix' => '/applications'], function (){
|
||||
|
||||
Route::get('/pending', 'ApplicationController@showPendingUserApps')
|
||||
@ -46,6 +48,9 @@ Route::group(['middleware' => 'auth'], function(){
|
||||
Route::get('/staff/peer-review', 'ApplicationController@showPeerReview')
|
||||
->name('peerReview');
|
||||
|
||||
Route::get('/staff/pending-interview', 'ApplicationController@showPendingInterview')
|
||||
->name('pendingInterview');
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
12
webpack.mix.js
vendored
12
webpack.mix.js
vendored
@ -11,11 +11,21 @@ const mix = require('laravel-mix');
|
||||
|
|
||||
*/
|
||||
|
||||
mix.js(['resources/js/app.js', 'resources/js/application_charts.js'], 'public/js')
|
||||
mix.js(['resources/js/app.js', 'resources/js/application_charts.js', 'resources/js/calendar.js'], 'public/js')
|
||||
.sass('resources/sass/app.scss', 'public/css');
|
||||
|
||||
mix.styles([
|
||||
'node_modules/@fullcalendar/core/main.css',
|
||||
'node_modules/@fullcalendar/daygrid/main.css',
|
||||
'node_modules/@fullcalendar/timeline/main.css',
|
||||
'node_modules/@fullcalendar/timegrid/main.css',
|
||||
'node_modules/@fullcalendar/list/main.css'
|
||||
], 'public/css/fullcalendar.css');
|
||||
|
||||
mix.webpackConfig({
|
||||
stats: {
|
||||
warnings: false
|
||||
}
|
||||
});
|
||||
|
||||
mix.disableNotifications();
|
||||
|
Loading…
Reference in New Issue
Block a user