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

Commit 687272f

Browse files
fix: #32 add missing locale and update locale (#46)
1 parent 052988d commit 687272f

File tree

8 files changed

+105
-7
lines changed

8 files changed

+105
-7
lines changed

templates/scaffold/auth/login_locale.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="utf-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
8-
<title>Login | CoreUI | {{ config('app.name') }}</title>
8+
<title>@lang('auth.sign_in') | CoreUI | {{ config('app.name') }}</title>
99
<meta name="description" content="CoreUI Template - InfyOm Laravel Generator">
1010
<meta name="keyword" content="CoreUI,Bootstrap,Admin,Template,InfyOm,Open,Source,jQuery,CSS,HTML,RWD,Dashboard">
1111
<!-- Bootstrap-->
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<base href="./">
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
8+
<title>>@lang('auth.confirm_password') | CoreUI | {{ config('app.name') }}</title>
9+
<meta name="description" content="CoreUI Template - InfyOm Laravel Generator">
10+
<meta name="keyword" content="CoreUI,Bootstrap,Admin,Template,InfyOm,Open,Source,jQuery,CSS,HTML,RWD,Dashboard">
11+
<!-- Bootstrap -->
12+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
13+
<!-- Theme style -->
14+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@coreui/coreui@2.1.16/dist/css/coreui.min.css">
15+
<!-- Ionicons -->
16+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@icon/coreui-icons-free@1.0.1-alpha.1/coreui-icons-free.css">
17+
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
18+
<link href="https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.css" rel="stylesheet">
19+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.3.0/css/flag-icon.min.css">
20+
</head>
21+
<body class="app flex-row align-items-center">
22+
<div class="container">
23+
<div class="row justify-content-center">
24+
<div class="col-md-6">
25+
<div class="card mx-4">
26+
<div class="card-body p-4">
27+
@include('coreui-templates::common.errors')
28+
<form method="post" action="{{ route('password.confirm') }}">
29+
@csrf
30+
31+
<p class="card-text">@lang('auth.confirm_passwords.title')</p>
32+
33+
<div class="input-group mb-3">
34+
<div class="input-group-prepend">
35+
<span class="input-group-text">
36+
<i class="icon-lock"></i>
37+
</span>
38+
</div>
39+
<input type="password"
40+
name="password"
41+
class="form-control @error('password') is-invalid @enderror"
42+
placeholder="@lang('auth.password')"
43+
autocomplete="current-password"
44+
required
45+
>
46+
@error('password')
47+
<span class="invalid-feedback">
48+
<strong>{{ $message }}</strong>
49+
</span>
50+
@enderror
51+
</div>
52+
53+
<button type="submit" class="btn btn-block btn-primary btn-block btn-flat">
54+
@lang('auth.confirm_password')
55+
</button>
56+
</form>
57+
58+
<a href="{{ route('password.request') }}" class="text-center">
59+
@lang('auth.confirm_passwords.forgot_your_password')
60+
</a>
61+
</div>
62+
</div>
63+
</div>
64+
</div>
65+
</div>
66+
<!-- CoreUI and necessary plugins-->
67+
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
68+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
69+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
70+
<script src="https://cdn.jsdelivr.net/npm/@coreui/coreui@2.1.16/dist/js/coreui.min.js"></script>
71+
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.perfect-scrollbar/1.4.0/perfect-scrollbar.js"></script>
72+
</body>
73+
</html>

templates/scaffold/auth/passwords/email_locale.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="utf-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
8-
<title>Password Reset | CoreUI | {{ config('app.name') }}</title>
8+
<title>@lang('auth.reset_password.title') | CoreUI | {{ config('app.name') }}</title>
99
<meta name="description" content="CoreUI Template - InfyOm Laravel Generator">
1010
<meta name="keyword" content="CoreUI,Bootstrap,Admin,Template,InfyOm,Open,Source,jQuery,CSS,HTML,RWD,Dashboard">
1111
<!-- Bootstrap -->

templates/scaffold/auth/passwords/reset_locale.stub

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="utf-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
8-
<title>Reset password | CoreUI | {{ config('app.name') }}</title>
8+
<title>@lang('auth.reset_password.title') | CoreUI | {{ config('app.name') }}</title>
99
<meta name="description" content="CoreUI Template - InfyOm Laravel Generator">
1010
<meta name="keyword" content="CoreUI,Bootstrap,Admin,Template,InfyOm,Open,Source,jQuery,CSS,HTML,RWD,Dashboard">
1111
<!-- Bootstrap -->
@@ -17,7 +17,6 @@
1717
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
1818
<link href="https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.css" rel="stylesheet">
1919
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/3.3.0/css/flag-icon.min.css">
20-
2120
</head>
2221
<body class="app flex-row align-items-center">
2322
<div class="container">

templates/scaffold/auth/register_locale.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="utf-8">
66
<meta http-equiv="X-UA-Compatible" content="IE=edge">
77
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
8-
<title>Register | CoreUI | {{ config('app.name') }}</title>
8+
<title>>@lang('auth.registration.title') | CoreUI | {{ config('app.name') }}</title>
99
<meta name="description" content="CoreUI Template - InfyOm Laravel Generator">
1010
<meta name="keyword" content="CoreUI,Bootstrap,Admin,Template,InfyOm,Open,Source,jQuery,CSS,HTML,RWD,Dashboard">
1111
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
@extends('layouts.app')
2+
3+
@section('content')
4+
<div class="container">
5+
<div class="row justify-content-center">
6+
<div class="col-md-8" style="margin-top: 2%">
7+
<div class="card" style="width: 40rem;">
8+
<div class="card-body">
9+
<h4 class="card-title">@lang('auth.verify_email.title')</h4>
10+
@if (session('resent'))
11+
<p class="alert alert-success" role="alert">
12+
@lang('auth.verify_email.success')
13+
</p>
14+
@endif
15+
<p class="card-text">
16+
@lang('auth.verify_email.notice')
17+
</p>
18+
<a href="{{ route('verification.resend') }}">
19+
@lang('auth.verify_email.another_req')
20+
</a>.
21+
</div>
22+
</div>
23+
</div>
24+
</div>
25+
</div>
26+
@endsection

templates/scaffold/layouts/app.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
<footer class="app-footer">
8888
<div>
8989
<a href="https://infyom.com">InfyOm </a>
90-
<span>&copy; 2019 InfyOmLabs.</span>
90+
<span>&copy; {{date("Y")}} InfyOmLabs.</span>
9191
</div>
9292
<div class="ml-auto">
9393
<span>Powered by</span>

templates/scaffold/layouts/app_locale.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<footer class="app-footer">
8282
<div>
8383
<a href="https://infyom.com">InfyOm </a>
84-
<span>&copy; 2019 InfyOmLabs.</span>
84+
<span>&copy; {{date("Y")}} InfyOmLabs.</span>
8585
</div>
8686
<div class="ml-auto">
8787
<span>Powered by</span>

0 commit comments

Comments
 (0)