<?php $__env->startSection('content'); ?>
<div class="container">
    <div class="row justify-content-center">
        <div class="col-md-8">
            <div class="card">
                <div class="card-header">Add new Hyper-V server</div>

                <div class="card-body">
                    <?php if(session('status')): ?>
                        <div class="alert alert-success" role="alert">
                            <?php echo e(session('status')); ?>

                        </div>
                    <?php endif; ?>
                    <form action="/servers/storeHyper" enctype="multipart/form-data" method="POST">
                        <?php echo csrf_field(); ?>
                        <div class="form-group row">

                            <label for="name" class="col-md-4 col-form-label text-md-right">Name of new system</label>
                            <div class="col-md-6">
                                <input name="name" id="name" type="text"/>
                            </div>
                            <label for="name" class="col-md-4 col-form-label text-md-right"></label>
                            <div class="col-md-6">
                                <p style="color: red"><?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo e($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?></p>
                            </div>

                            <label for="ip" class="col-md-4 col-form-label text-md-right">IP adress</label>
                            <div class="col-md-6">
                                <input name="ip" id="ip" type="text"/>
                            </div>
                            <label for="name" class="col-md-4 col-form-label text-md-right"></label>
                            <div class="col-md-6">
                                <p style="color: red"><?php $__errorArgs = ['ip'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo e($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?></p>
                            </div>
                            <label for="script" class="col-md-4 col-form-label text-md-right">Path to scripts</label>
                            <div class="col-md-6">
                                <table>
                                    <tr>                                      
                                        <td>
                                            <input name="scripts_disk" id="scripts_datastore" type="text" maxlength="1" size="1"/>
                                        </td>
                                            <td>:\</td>                                      
                                        <td>
                                            <input name="scripts_one" id="scripts_one" type="text" />
                                        </td>
                                    </tr>
                                  </table>
                                  <p style="color: red"><?php $__errorArgs = ['scripts_disk'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo e($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?></p>
                            </div>
                            <br>
                            <label for="template" class="col-md-4 col-form-label text-md-right">Path to templates</label>
                            <div class="col-md-6">
                                <table>
                                    <tr>                                      
                                        <td>
                                            <input name="templates_disk" id="templates_disk" type="text" maxlength="1" size="1"/>
                                        </td>
                                            <td>:\</td>                                      
                                        <td>
                                            <input name="templates_one" id="templates_one" type="text"  />
                                        </td>
                                    </tr>
                                  </table>
                                  <p style="color: red"><?php $__errorArgs = ['templates_disk'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo e($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?></p>
                            </div>
                            <br>
                            <label for="Clones" class="col-md-4 col-form-label text-md-right">Clones location</label>
                            <div class="col-md-6">
                                <table>
                                    <tr>                                      
                                        <td>
                                            <input name="clones_disk" id="clones_disk" type="text" maxlength="1" size="1"/>
                                        </td>
                                            <td>:\</td>                                      
                                        <td>
                                            <input name="clones_one" id="clones_one" type="text"/>
                                        </td>
                                    </tr>
                                  </table>
                                  <p style="color: red"><?php $__errorArgs = ['clones_disk'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo e($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?></p>
                            </div>
                            <label for="Clones" class="col-md-4 col-form-label text-md-right">SSH Private key</label>
                            <div class="col-md-6">
                                <table>
                                    <tr>
                                        <input type="file" name="import" id="import">
                                    </tr>
                                  </table>
                            </div>
                        </div>

                        <div class="form-group row mb-0">
                            <div class="col-md-8 offset-md-4">
                                <button type="submit" class="btn btn-primary">
                                    Create
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\virtual\resources\views/servers/createHyperV.blade.php ENDPATH**/ ?>