{{-- Pterodactyl - Panel --}} {{-- Copyright (c) 2015 - 2017 Dane Everitt --}} {{-- This software is licensed under the terms of the MIT license. --}} {{-- https://opensource.org/licenses/MIT --}} @extends('layouts.master') @section('title') @lang('server.config.database.header') @endsection @section('content-header')

@lang('server.config.database.header')@lang('server.config.database.header_sub')

@endsection @section('content')

@lang('server.config.database.your_dbs')

@if(count($databases) > 0)
@can('reset-db-password', $server)@endcan @foreach($databases as $database) @can('reset-db-password', $server) @endcan @endforeach
@lang('strings.database') @lang('strings.username') @lang('strings.password') @lang('server.config.database.host')
{{ $database->database }} {{ $database->username }} {{ Crypt::decrypt($database->password) }} {{ $database->host->host }}:{{ $database->host->port }}
@else
@lang('server.config.database.no_dbs') @if(Auth::user()->root_admin === 1) @lang('server.config.database.add_db') @endif
@endif
@endsection @section('footer-scripts') @parent {!! Theme::js('js/frontend/server.socket.js') !!} @endsection