Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
laravel-test
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Александр Чаплыгин
laravel-test
Commits
e794075d
Commit
e794075d
authored
Jun 21, 2023
by
Александр Чаплыгин
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add overflow text for header-email
parent
70515ced
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
6 deletions
+44
-6
common.css
src/public/assets/css/common.css
+13
-0
layout.blade.php
src/resources/views/layouts/layout.blade.php
+3
-6
test.blade.php
src/resources/views/test.blade.php
+28
-0
No files found.
src/public/assets/css/common.css
View file @
e794075d
...
...
@@ -11,6 +11,19 @@
text-align
:
right
;
}
#navbar
,
#navbar
ul
,
#navbar
ul
li
.dropdown
,
#navbar
ul
li
.dropdown
span
{
overflow
:
hidden
;
}
#navbar
ul
li
.dropdown
span
{
text-overflow
:
ellipsis
;
}
.b-auth-wrap
{
...
...
src/resources/views/layouts/layout.blade.php
View file @
e794075d
...
...
@@ -34,14 +34,11 @@
<nav
id=
"navbar"
class=
"navbar"
>
<ul>
@auth
@php
<?php
/*?>
$email = auth()->user()->email;
//$email_brief = 'aa.chaplyginchaplyginchaplyginchaplyginchaplyginchaplygin@gmail.com';
$email_brief = (strlen($email) > 30) ? substr_replace($email, '...', 5, 25) : $email;
@endphp
<li
class=
"dropdown"
><a
href=
"#"
><span
class=
"fw-bold"
>
{{ $email_brief }}
</span>
<i
class=
"bi bi-chevron-down"
></i></a>
<?php */
?>
<li
class=
"dropdown"
><a
href=
"#"
><span
class=
"fw-bold"
>
{{ auth()->user()->email }}
</span>
<i
class=
"bi bi-chevron-down"
></i></a>
<ul>
<li><a
href=
"{{ url('settings') }}"
>
Налаштування
</a></li>
<li><a
href=
"{{ route('logout') }}"
>
Вийти
</a></li>
...
...
src/resources/views/test.blade.php
0 → 100644
View file @
e794075d
@
extends
(
'layouts.layout'
)
@
section
(
'head_content'
)
@
php
//dump(Auth::check());
//dump(auth()->check());
@
endphp
@
endsection
@
section
(
'content'
)
<
style
>
.
b
-
wrap
{
height
:
calc
(
100
vh
-
160
px
);
}
</
style
>
<
section
>
<
div
class
="
b
-
wrap
d
-
flex
align
-
items
-
center
justify
-
content
-
center
">
<a class="
btn
btn
-
email
" href="
#" role="button">Продовжити за допомогою e-mail</a>
</
div
>
</
section
>
@
endsection
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment