<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Classic Invoicer 2 - Database Details</title>
    <?php echo $__env->make('install.partials.styles', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</head>
<body class="login-page">
<div class="container">
    <div class="login-logo">
        <b>Classic</b> Invoicer 2 Installation
    </div><!-- /.login-logo -->
    <div class="row">
        <div class="col-md-12">
            <!-- TABLE: LATEST ORDERS -->
            <div class="panel">
                <div class="panel-body">
                    <div>
                        <div class="callout callout-warning">
                            <h4>Database Details</h4>
                        </div>
                        <?php if(count($errors) > 0): ?>
                        <?php echo form_errors($errors); ?>
                        <?php endif; ?>
                        <?php if(Session::has('flash_notification.message')): ?>
                        <?php echo message(); ?>
                        <?php endif; ?>
                        <?php echo Form::open(['url'=>'/install/database']); ?>
                        <div class="form-group">
                            <?php echo Form::label('hostname', 'Hostname'); ?>
                            <?php echo Form::text('hostname', null, ['class' => 'form-control','required', 'placeholder' => 'hostname' ]); ?>
                        </div>
                        <div class="form-group">
                            <?php echo Form::label('database', 'Database'); ?>
                            <?php echo Form::text('database', null, ['class' => 'form-control','required','placeholder' => 'Database' ]); ?>
                        </div>
                        <div class="form-group">
                            <?php echo Form::label('username', 'Username'); ?>
                            <?php echo Form::text('username', null, ['class' => 'form-control','required','placeholder' => 'Username' ]); ?>
                        </div>
                        <div class="form-group">
                            <?php echo Form::label('password', 'Password'); ?>
                            <?php echo Form::password('password', ['class' => 'form-control','placeholder' => 'Password' ]); ?>
                        </div>
                        <div class="form-group">
                            <?php echo Form::submit('Submit', ['class' => 'btn btn-sm btn-success']); ?>
                        </div>
                        <?php echo Form::close(); ?>
                    </div><!-- /.table-responsive -->
                </div><!-- /.box-body -->
            </div><!-- /.box -->
        </div><!-- /.col -->
    </div>
</div>
<?php echo $__env->make('install.partials.scripts', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</body>
</html>

