

<?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">Set 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="/virtuals/<?php echo e($virtual->id); ?>/storenetwork" method="get">
                        <?php echo csrf_field(); ?>
                        <div class="form-group row">
                            <label for="newserver" class="col-md-4 col-form-label text-md-right">Server</label>
                            <div class="col-md-6">
                                <table>
                                        <td>
                                            <input style="color: grey" readonly value="<?php echo e($server); ?>" name="newserver" id="newserver" />
                                        </td>
                                </table>
                            </div>

                            

                            <label for="Server" class="col-md-4 col-form-label text-md-right">Status</label>
                            <div class="col-md-6">
                                <table>
                                    <?php if($state=="Online"): ?>
                                        <label style="font-weight: bold;color: green" for="Server" class="col-md-4 col-form-label text-md-right">Online</label>
                                    <?php else: ?>
                                        <label style="font-weight: bold;color: red" for="Server" class="col-md-4 col-form-label text-md-right">Offline</label>
                                    <?php endif; ?>
                                </table>
                            </div>

                            <label for="System" class="col-md-4 col-form-label text-md-right">Choose network</label>
                            <div class="col-md-6">
                                <select name="switch" id="switch" class="form-control">                             
                                    <?php $__empty_1 = true; $__currentLoopData = $switchs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $switch): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                                        <option value="<?php echo e($switch); ?>"><?php echo e($switch); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                                        <option value="No switch">No Switch</option>
                                    <?php endif; ?>
                                </select>
                            </div>
                        </div>
                        <button type="submit" class="btn btn-primary">
                            Update
                        </button>
                    </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/virtuals/setnetwork.blade.php ENDPATH**/ ?>