CrestRoad/laravel/resources/views/theoriginal1doctor/index.blade.php

184 lines
11 KiB
PHP

@extends('layouts.master-vgreet')
@section('css')
<link href="{{ URL::asset('assets/libs/dropify/dropify.min.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ URL::asset('assets/libs/flatpickr/flatpickr.min.css') }}" rel="stylesheet" type="text/css" />
@endsection
@section('body')
<body class="" style="background-color: #005DA5">
@endsection
@section('page_title', Config::get('page_title'))
@section('page_title', Config::get('page_description'))
@section('content')
<div class="account-pages mt-5 mb-5">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card bg-pattern">
<div class="card-body p-4">
<div class="text-center">
<h4>{{Config::get('page_title')}}</h4>
</div>
@if (session()->has('message'))
<div class="alert alert-success">
{{ session()->get('message') }}
</div>
@endif
<div class="row">
<div class="col-12">
<div class="p-md-3">
<!-- title-->
<form name="emp-code" action="/index" method="post"
enctype="multipart/form-data">
@csrf
{{-- <div class="row">
<div class="col-12">
<div class="form-group row mb-3">
<label for="employee_name"
class="col-sm-4 col-form-label p-0">Employee Name :</label>
<div class="col-sm-8">
<input type="text" class="form-control"
id="employee_name" name="employee_name"
placeholder="Name" required>
</div>
</div>
</div> --}}
{{-- <div class="col-12">
<div class="form-group row mb-3">
<label for="employee_code"
class="col-sm-4 col-form-label p-0">Employee code :</label>
<div class="col-sm-8">
<input type="text" class="form-control"
id="employee_code" name="employee_code"
placeholder="Employee code" required>
</div>
</div>
</div> --}}
<div class="col-12">
<div class="form-group row mb-3">
<label for="doctor_name"
class="col-sm-4 col-form-label p-0">Doctor Name
:</label>
<div class="col-sm-8">
<input type="text" class="form-control"
id="doctor_name" name="doctor_name"
placeholder="Doctor Name" required>
</div>
</div>
</div>
{{-- <div class="col-12">
<div class="form-group row mb-3">
<label for="doctor_code"
class="col-sm-4 col-form-label p-0">Doctor code
:</label>
<div class="col-sm-8">
<input type="text" class="form-control"
id="doctor_code" name="doctor_code"
placeholder="Doctor code" required>
</div>
</div>
</div> --}}
{{-- <div class="col-12">
<div class="form-group row mb-3">
<label for="doctor_name"
class="col-sm-4 col-form-label p-0">Speciality</label>
<div class="col-sm-8">
<select class="form-control" name="speciality"
id="speciality">
<option value=""> -- Select Speciality --
</option>
<option value="Consultant Physician"> Consultant
Physician </option>
<option value="Chest Physician"> Chest Physician
</option>
<option value="Cardiologist"> Cardiologist </option>
</select>
</div>
</div>
</div> --}}
<div class="col-12">
<div class="form-group row mb-3">
<label for="city"
class="col-sm-4 col-form-label p-0">City
:</label>
<div class="col-sm-8">
<input type="text" id="city" name="city"
class="form-control" placeholder="City" required>
</div>
</div>
</div>
<div class="col-12">
<div class="form-group">
<label for="doctor_photo">Doctor Photo</label>
<input type="file" name="doctor_photo" class="dropify"
data-allowed-file-extensions="png jpg jpeg gif"
required="required" />
<p class="text-muted text-center mt-2 mb-0">2MB Max File
size</p>
</div>
</div>
<div class="col-12 text-center">
<button type="submit"
class="btn btn-danger rounded-pill waves-effect waves-light">Submit</button>
</div>
</div>
</form>
</div>
</div> <!-- end col -->
</div>
<!-- end row-->
</div> <!-- end card-body -->
</div>
<!-- end card -->
</div> <!-- end col -->
</div>
<!-- end row -->
</div>
<!-- end container -->
</div>
<!-- end page -->
<style type="text/css">
.btn {
background-color: #B1C01F !important;
border-color: #94A01B !important;
}
</style>
@section('script')
<script src="{{ URL::asset('assets/libs/flatpickr/flatpickr.min.js') }}"></script>
<script src="{{ URL::asset('assets/libs/dropify/dropify.min.js') }}"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.dropify').dropify({
messages: {
'default': 'Drag and drop a file here or click',
'replace': 'Drag and drop or click to replace',
'remove': 'Remove',
'error': 'Ooops, something wrong appended.'
},
error: {
'fileSize': 'The file size is too big (1MB max).'
}
});
});
</script>
@endsection
@endsection