-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some stats for #61
- Loading branch information
Showing
10 changed files
with
228 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace App\Http\Controllers\Server; | ||
|
||
use Illuminate\Http\Request; | ||
use App\Http\Controllers\Controller; | ||
|
||
class ExterminatusController extends Controller | ||
{ | ||
public function index(){ | ||
return view('server.exterminatus.index'); | ||
} | ||
|
||
public function exterminate(Request $request){ | ||
return redirect()->route('server.exterminatus.index'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{{--Copyright (c) 2017 "Werner Maisl"--}} | ||
|
||
{{--This file is part of the Aurora Webinterface--}} | ||
|
||
{{--The Aurora Webinterface is free software: you can redistribute it and/or modify--}} | ||
{{--it under the terms of the GNU Affero General Public License as--}} | ||
{{--published by the Free Software Foundation, either version 3 of the--}} | ||
{{--License, or (at your option) any later version.--}} | ||
|
||
{{--This program is distributed in the hope that it will be useful,--}} | ||
{{--but WITHOUT ANY WARRANTY; without even the implied warranty of--}} | ||
{{--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the--}} | ||
{{--GNU Affero General Public License for more details.--}} | ||
|
||
{{--You should have received a copy of the GNU Affero General Public License--}} | ||
{{--along with this program. If not, see <http://www.gnu.org/licenses/>.<!DOCTYPE html>--}} | ||
|
||
@extends('layouts.app') | ||
|
||
@section('content') | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-10 col-md-offset-1"> | ||
@include('components.formerrors') | ||
|
||
<div class="panel panel-default"> | ||
<div class="panel-heading">Exterminatus Control Panel</div> | ||
|
||
<div class="panel-body"> | ||
{{Form::open(array('route' => 'server.library.add.post','method' => 'post')) }} | ||
{{Form::token()}} | ||
|
||
{{Form::bsText('Name')}} | ||
{{Form::bsSelectList('Race',array( | ||
'Tajara'=>'Tajara', | ||
'Unathi'=>'Unathi', | ||
'Skrell'=>'Skrell', | ||
'Bugs'=>'Bugs', | ||
'Trees'=>'Trees', | ||
'Mice'=>'Mice'))}} | ||
{{Form::bsText('Reason')}} | ||
|
||
{{Form::submit('Exterminate now', array('class'=>'btn btn-danger disabled'))}} | ||
{{Form::submit('Submit Extermination Request', array('class'=>'btn btn-warning'))}} | ||
|
||
{{ Form::close() }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
52 changes: 52 additions & 0 deletions
52
resources/views/server/player/whitelist_jobs_stats.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{{--Copyright (c) 2016-2017 "Werner Maisl"--}} | ||
|
||
{{--This file is part of the Aurora Webinterface--}} | ||
|
||
{{--The Aurora Webinterface is free software: you can redistribute it and/or modify--}} | ||
{{--it under the terms of the GNU Affero General Public License as--}} | ||
{{--published by the Free Software Foundation, either version 3 of the--}} | ||
{{--License, or (at your option) any later version.--}} | ||
|
||
{{--This program is distributed in the hope that it will be useful,--}} | ||
{{--but WITHOUT ANY WARRANTY; without even the implied warranty of--}} | ||
{{--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the--}} | ||
{{--GNU Affero General Public License for more details.--}} | ||
|
||
{{--You should have received a copy of the GNU Affero General Public License--}} | ||
{{--along with this program. If not, see <http://www.gnu.org/licenses/>.<!DOCTYPE html>--}} | ||
|
||
@extends('layouts.app') | ||
|
||
@section('content') | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-10 col-md-offset-1"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading">Rounds played as a Specific Job by {{$species}}</div> | ||
|
||
<table class="table table-bordered"> | ||
<thead> | ||
<tr> | ||
<th>Job</th> | ||
<th>Rounds Played</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
@foreach($stats as $stat) | ||
<tr> | ||
<td>{{$stat->job_name}}</td> | ||
<td>{{$stat->count}}</td> | ||
</tr> | ||
@endforeach() | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection | ||
|
||
@section('javascripts') | ||
<script src="//cdn.ckeditor.com/4.5.11/standard/ckeditor.js"></script> | ||
<script>CKEDITOR.replace('content');</script> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{{--Copyright (c) 2016-2017 "Werner Maisl"--}} | ||
|
||
{{--This file is part of the Aurora Webinterface--}} | ||
|
||
{{--The Aurora Webinterface is free software: you can redistribute it and/or modify--}} | ||
{{--it under the terms of the GNU Affero General Public License as--}} | ||
{{--published by the Free Software Foundation, either version 3 of the--}} | ||
{{--License, or (at your option) any later version.--}} | ||
|
||
{{--This program is distributed in the hope that it will be useful,--}} | ||
{{--but WITHOUT ANY WARRANTY; without even the implied warranty of--}} | ||
{{--MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the--}} | ||
{{--GNU Affero General Public License for more details.--}} | ||
|
||
{{--You should have received a copy of the GNU Affero General Public License--}} | ||
{{--along with this program. If not, see <http://www.gnu.org/licenses/>.<!DOCTYPE html>--}} | ||
|
||
@extends('layouts.app') | ||
|
||
@section('content') | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-10 col-md-offset-1"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading">Whitelist Stats</div> | ||
|
||
<table class="table table-bordered"> | ||
<thead> | ||
<tr> | ||
<th>Species</th> | ||
<th>Whitelist</th> | ||
<th>Characters</th> | ||
<th></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
@foreach($stats as $stat) | ||
<tr @if($stat->subspecies == 1)class="bg-info"@endif()> | ||
<td>{{$stat->status_name}}</td> | ||
<td>{{$stat->player_count}}</td> | ||
<td>{{$stat->char_count}}</td> | ||
<td><a href="{{route('server.players.whitelist_stats.jobs',['species'=>$stat->status_name])}}" class="btn btn-success">Jobs</a></td> | ||
</tr> | ||
@endforeach() | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection | ||
|
||
@section('javascripts') | ||
<script src="//cdn.ckeditor.com/4.5.11/standard/ckeditor.js"></script> | ||
<script>CKEDITOR.replace('content');</script> | ||
@endsection |