Initial commit
This commit is contained in:
43
resources/views/login/organisation/index.blade.php
Normal file
43
resources/views/login/organisation/index.blade.php
Normal file
@@ -0,0 +1,43 @@
|
||||
@extends('layouts.login')
|
||||
|
||||
@section('page_title')
|
||||
Airtime Sales | Organisation Login
|
||||
@endsection
|
||||
|
||||
@section('page_content')
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="text-center m-b-md">
|
||||
<h3>Dealer Login</h3>
|
||||
<!-- <small>This is the best app ever!</small> -->
|
||||
</div>
|
||||
<div class="hpanel">
|
||||
<div class="panel-body">
|
||||
<div class="text-center w-75 m-auto">
|
||||
@if (Session::has('login-error'))
|
||||
<p class=" text-danger mb-4"> {{ Session::get('login-error')}} </p>
|
||||
@endif
|
||||
</div>
|
||||
<form action="{{ url('organisation/login') }}" id="loginForm" method="POST">
|
||||
{{csrf_field()}}
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="username">Email</label>
|
||||
<input type="text" placeholder="example@gmail.com" title="Please enter you email" required="" value="" name="email" id="email" class="form-control">
|
||||
<span class="help-block small">Your unique username</span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="control-label" for="password">Password</label>
|
||||
<input type="password" title="Please enter your password" placeholder="*********" required="" value="" name="password" id="password" class="form-control">
|
||||
<span class="help-block small">Your strong password</span>
|
||||
</div>
|
||||
<button class="btn btn-info btn-block">Login</button>
|
||||
<p class="text-center" style="padding: 10px;">-- OR --</p>
|
||||
<a class="btn btn-warning btn-block" href="{{ url('dealer/register') }} "><i class="fa fa-user-plus"></i> Register</a>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
@@ -0,0 +1,38 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Dealer Sign Up Success</title>
|
||||
<!-- Bootstrap CSS -->
|
||||
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
||||
<style>
|
||||
body {
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
.success-message {
|
||||
max-width: 400px;
|
||||
margin: 100px auto;
|
||||
padding: 20px;
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, .1);
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="success-message">
|
||||
<h2 class="text-success">Sign Up Successful!</h2>
|
||||
<p>Thank you for signing up. Your account has been created successfully.</p>
|
||||
<p>Check your email for a confirmation message after verification.</p>
|
||||
<a class="btn btn-primary" href="{{ url('/') }}">Home Page</a>
|
||||
</div>
|
||||
|
||||
<!-- Bootstrap JS and dependencies -->
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js"></script>
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
60
resources/views/login/organisation/register.blade.php
Normal file
60
resources/views/login/organisation/register.blade.php
Normal file
@@ -0,0 +1,60 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Dealer Sign Up</title>
|
||||
<!-- Bootstrap CSS -->
|
||||
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
|
||||
<style>
|
||||
body {
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
.signup-form {
|
||||
max-width: 400px;
|
||||
margin: 50px auto;
|
||||
padding: 20px;
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, .1);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="signup-form">
|
||||
<h2 class="text-center">Dealer Sign Up</h2>
|
||||
@include('commons.notifications')
|
||||
<form action="{{ url('dealer/register') }}" id="dealderRegisterForm" method="POST">
|
||||
{{csrf_field()}}
|
||||
<div class="form-group">
|
||||
<label for="username">Name</label>
|
||||
<input type="text" name="name" class="form-control" id="name" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email">Email address</label>
|
||||
<input type="email" name="email" class="form-control" id="email" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email">Phone Number</label>
|
||||
<input type="text" name="phone" class="form-control" id="phone" required>
|
||||
</div>
|
||||
<!-- <div class="form-group">
|
||||
<label for="password">Password</label>
|
||||
<input type="password" name="" class="form-control" id="password" required>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="confirm-password">Confirm Password</label>
|
||||
<input type="password" name="" class="form-control" id="confirm-password" required>
|
||||
</div> -->
|
||||
<button type="submit" class="btn btn-primary btn-block">Submit</button>
|
||||
</form>
|
||||
<p class="text-center mt-3">Already have an account? <a href="{{ url('dealer/login') }}">Login here</a></p>
|
||||
</div>
|
||||
|
||||
<!-- Bootstrap JS and dependencies -->
|
||||
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js"></script>
|
||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user