Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Commit

Permalink
fix: #32 add missing locale and update locale (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaileshInfyom authored Feb 3, 2022
1 parent 052988d commit 687272f
Show file tree
Hide file tree
Showing 8 changed files with 105 additions and 7 deletions.
2 changes: 1 addition & 1 deletion templates/scaffold/auth/login_locale.stub
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Login | CoreUI | {{ config('app.name') }}</title>
<title>@lang('auth.sign_in') | CoreUI | {{ config('app.name') }}</title>
<meta name="description" content="CoreUI Template - InfyOm Laravel Generator">
<meta name="keyword" content="CoreUI,Bootstrap,Admin,Template,InfyOm,Open,Source,jQuery,CSS,HTML,RWD,Dashboard">
<!-- Bootstrap-->
Expand Down
73 changes: 73 additions & 0 deletions templates/scaffold/auth/passwords/confirm_locale.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<!DOCTYPE html>
<html lang="en">
<head>
<base href="./">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>>@lang('auth.confirm_password') | CoreUI | {{ config('app.name') }}</title>
<meta name="description" content="CoreUI Template - InfyOm Laravel Generator">
<meta name="keyword" content="CoreUI,Bootstrap,Admin,Template,InfyOm,Open,Source,jQuery,CSS,HTML,RWD,Dashboard">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/css/coreui.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@icon/[email protected]/coreui-icons-free.css">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.3.0/css/flag-icon.min.css">
</head>
<body class="app flex-row align-items-center">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-6">
<div class="card mx-4">
<div class="card-body p-4">
@include('coreui-templates::common.errors')
<form method="post" action="{{ route('password.confirm') }}">
@csrf

<p class="card-text">@lang('auth.confirm_passwords.title')</p>

<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text">
<i class="icon-lock"></i>
</span>
</div>
<input type="password"
name="password"
class="form-control @error('password') is-invalid @enderror"
placeholder="@lang('auth.password')"
autocomplete="current-password"
required
>
@error('password')
<span class="invalid-feedback">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>

<button type="submit" class="btn btn-block btn-primary btn-block btn-flat">
@lang('auth.confirm_password')
</button>
</form>

<a href="{{ route('password.request') }}" class="text-center">
@lang('auth.confirm_passwords.forgot_your_password')
</a>
</div>
</div>
</div>
</div>
</div>
<!-- CoreUI and necessary plugins-->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/js/coreui.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.perfect-scrollbar/1.4.0/perfect-scrollbar.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion templates/scaffold/auth/passwords/email_locale.stub
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Password Reset | CoreUI | {{ config('app.name') }}</title>
<title>@lang('auth.reset_password.title') | CoreUI | {{ config('app.name') }}</title>
<meta name="description" content="CoreUI Template - InfyOm Laravel Generator">
<meta name="keyword" content="CoreUI,Bootstrap,Admin,Template,InfyOm,Open,Source,jQuery,CSS,HTML,RWD,Dashboard">
<!-- Bootstrap -->
Expand Down
3 changes: 1 addition & 2 deletions templates/scaffold/auth/passwords/reset_locale.stub
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Reset password | CoreUI | {{ config('app.name') }}</title>
<title>@lang('auth.reset_password.title') | CoreUI | {{ config('app.name') }}</title>
<meta name="description" content="CoreUI Template - InfyOm Laravel Generator">
<meta name="keyword" content="CoreUI,Bootstrap,Admin,Template,InfyOm,Open,Source,jQuery,CSS,HTML,RWD,Dashboard">
<!-- Bootstrap -->
Expand All @@ -17,7 +17,6 @@
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.3.0/css/flag-icon.min.css">

</head>
<body class="app flex-row align-items-center">
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion templates/scaffold/auth/register_locale.stub
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Register | CoreUI | {{ config('app.name') }}</title>
<title>>@lang('auth.registration.title') | CoreUI | {{ config('app.name') }}</title>
<meta name="description" content="CoreUI Template - InfyOm Laravel Generator">
<meta name="keyword" content="CoreUI,Bootstrap,Admin,Template,InfyOm,Open,Source,jQuery,CSS,HTML,RWD,Dashboard">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
Expand Down
26 changes: 26 additions & 0 deletions templates/scaffold/auth/verify_locale.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
@extends('layouts.app')

@section('content')
<div class="container">
<div class="row justify-content-center">
<div class="col-md-8" style="margin-top: 2%">
<div class="card" style="width: 40rem;">
<div class="card-body">
<h4 class="card-title">@lang('auth.verify_email.title')</h4>
@if (session('resent'))
<p class="alert alert-success" role="alert">
@lang('auth.verify_email.success')
</p>
@endif
<p class="card-text">
@lang('auth.verify_email.notice')
</p>
<a href="{{ route('verification.resend') }}">
@lang('auth.verify_email.another_req')
</a>.
</div>
</div>
</div>
</div>
</div>
@endsection
2 changes: 1 addition & 1 deletion templates/scaffold/layouts/app.stub
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<footer class="app-footer">
<div>
<a href="https://infyom.com">InfyOm </a>
<span>&copy; 2019 InfyOmLabs.</span>
<span>&copy; {{date("Y")}} InfyOmLabs.</span>
</div>
<div class="ml-auto">
<span>Powered by</span>
Expand Down
2 changes: 1 addition & 1 deletion templates/scaffold/layouts/app_locale.stub
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<footer class="app-footer">
<div>
<a href="https://infyom.com">InfyOm </a>
<span>&copy; 2019 InfyOmLabs.</span>
<span>&copy; {{date("Y")}} InfyOmLabs.</span>
</div>
<div class="ml-auto">
<span>Powered by</span>
Expand Down

0 comments on commit 687272f

Please sign in to comment.