-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7f91b68
commit 72706c4
Showing
3 changed files
with
70 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace App\Http\Controllers; | ||
|
||
use App\Models\SubmissionModel; | ||
use App\Http\Controllers\Controller; | ||
use Auth; | ||
|
||
class SystemController extends Controller | ||
{ | ||
/** | ||
* Show the System Info Page. | ||
* | ||
* @return Response | ||
*/ | ||
public function info() | ||
{ | ||
return view('system.info', [ | ||
'page_title' => "System Info", | ||
'site_title' => "NOJ", | ||
'navigation' => "System" | ||
]); | ||
} | ||
} |
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,41 @@ | ||
@extends('layouts.app') | ||
|
||
@section('template') | ||
<style> | ||
system-info{ | ||
display: flex; | ||
justify-content: center; | ||
text-align: center; | ||
} | ||
#sys_logo{ | ||
padding:2rem; | ||
} | ||
#sys_logo img{ | ||
width:10rem; | ||
} | ||
#sys_title, | ||
#sys_subtitle{ | ||
font-family: 'Times New Roman', Times, serif; | ||
} | ||
</style> | ||
<div class="container mundb-standard-container"> | ||
<system-info> | ||
<div> | ||
<div id="sys_logo"><img src="/favicon.png"></div> | ||
<h1 id="sys_title" class="wemd-grey-text wemd-text-darken-3">NOJ</h1> | ||
<p id="sys_subtitle">Nanjing University of Posts and Telecommunications Online Judge</p> | ||
<version-badge class="mb-5"> | ||
<inline-div>Version</inline-div><inline-div>{{version()}}</inline-div> | ||
</version-badge> | ||
<div class="mb-5"> | ||
<h1 id="sys_title" class="wemd-grey-text wemd-text-darken-3">John Zhang</h1> | ||
<p id="sys_subtitle">NOJ Development Team Leader</p> | ||
</div> | ||
<div class="mb-5"> | ||
<h1 id="sys_title" class="wemd-grey-text wemd-text-darken-3">David Diao</h1> | ||
<p id="sys_subtitle">NOJ Development Team Deputy Leader</p> | ||
</div> | ||
</div> | ||
</system-info> | ||
</div> | ||
@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