mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-18 05:58:18 +01:00
Introduce the settings dashboard page
This commit is contained in:
parent
f886341964
commit
bf0a5a296e
@ -8,4 +8,10 @@ class DashboardController extends Controller {
|
||||
public function showDashboard() {
|
||||
return View::make('dashboard.index');
|
||||
}
|
||||
|
||||
public function showSettings() {
|
||||
return View::make('dashboard.settings')->with([
|
||||
'pageTitle' => 'Settings - Dashboard'
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
@ -6,5 +6,5 @@ Route::group(['before' => 'auth', 'prefix' => 'dashboard'], function() {
|
||||
Route::get('incidents', ['as' => 'dashboard.incidents', 'uses' => 'DashboardController@showDashboard']);
|
||||
Route::get('metrics', ['as' => 'dashboard.metrics', 'uses' => 'DashboardController@showDashboard']);
|
||||
Route::get('status-page', ['as' => 'dashboard.status-page', 'uses' => 'DashboardController@showDashboard']);
|
||||
Route::get('settings', ['as' => 'dashboard.settings', 'uses' => 'DashboardController@showDashboard']);
|
||||
});
|
||||
Route::get('settings', ['as' => 'dashboard.settings', 'uses' => 'DashboardController@showSettings']);
|
||||
});
|
||||
|
22
app/views/dashboard/settings.blade.php
Normal file
22
app/views/dashboard/settings.blade.php
Normal file
@ -0,0 +1,22 @@
|
||||
@extends('layout.dashboard')
|
||||
|
||||
@section('content')
|
||||
<div class="header">
|
||||
<i class="fa fa-cogs"></i> {{ Lang::get('cachet.dashboard.settings') }}
|
||||
<input type="text" class="form-control input-sm pull-right" placeholder="{{ Lang::get('cachet.dashboard.search') }}">
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<ul class="tabs">
|
||||
<li class='active'><a href="#app">App</a></li>
|
||||
<li><a href="#server">Server</a></li>
|
||||
<li><a href="#mail">Mail</a></li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div id="app" class='active'>General App settings</div>
|
||||
<div id="server">Server settings</div>
|
||||
<div id="mail">Mail setitngs, host, SMTP, user and password.</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
Loading…
x
Reference in New Issue
Block a user