Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b8170d7b
authored
May 28, 2021
by
Евгений
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Убрал лишнее, переключил на рабочий токен
1 parent
4262fadb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
26 deletions
app/Service/Requests/DirectRequest.php
resources/js/Shared/MainMenu.vue
routes/web.php
app/Service/Requests/DirectRequest.php
View file @
b8170d7
...
...
@@ -11,7 +11,7 @@ class DirectRequest extends APIRequest {
CONST
MAX_COUNT
=
10000
;
private
$url
=
'https://api
-sandbox
.direct.yandex.com/json/v5/'
;
private
$url
=
'https://api.direct.yandex.com/json/v5/'
;
function
chunk
(
$count
)
:
?
\App\Service\Contract\APIRequest
{
...
...
resources/js/Shared/MainMenu.vue
View file @
b8170d7
<
template
>
<div>
<div
class=
"mb-4"
>
<inertia-link
class=
"flex items-center group py-3"
:href=
"route('dashboard')"
>
<icon
name=
"dashboard"
class=
"w-4 h-4 mr-2"
:class=
"isUrl('') ? 'fill-white' : 'fill-indigo-400 group-hover:fill-white'"
/>
<div
:class=
"isUrl('') ? 'text-white' : 'text-indigo-300 group-hover:text-white'"
>
Dashboard
</div>
</inertia-link>
</div>
<div
class=
"mb-4"
>
<inertia-link
class=
"flex items-center group py-3"
:href=
"route('tokens')"
>
<icon
name=
"office"
class=
"w-4 h-4 mr-2"
:class=
"isUrl('tokens') ? 'fill-white' : 'fill-indigo-400 group-hover:fill-white'"
/>
<div
:class=
"isUrl('tokens') ? 'text-white' : 'text-indigo-300 group-hover:text-white'"
>
Tokens
</div>
</inertia-link>
</div>
<div
class=
"mb-4"
>
<inertia-link
class=
"flex items-center group py-3"
:href=
"route('organizations')"
>
<icon
name=
"office"
class=
"w-4 h-4 mr-2"
:class=
"isUrl('organizations') ? 'fill-white' : 'fill-indigo-400 group-hover:fill-white'"
/>
<div
:class=
"isUrl('organizations') ? 'text-white' : 'text-indigo-300 group-hover:text-white'"
>
Organizations
</div>
</inertia-link>
</div>
<div
class=
"mb-4"
>
<inertia-link
class=
"flex items-center group py-3"
:href=
"route('contacts')"
>
<icon
name=
"users"
class=
"w-4 h-4 mr-2"
:class=
"isUrl('contacts') ? 'fill-white' : 'fill-indigo-400 group-hover:fill-white'"
/>
<div
:class=
"isUrl('contacts') ? 'text-white' : 'text-indigo-300 group-hover:text-white'"
>
Contacts
</div>
</inertia-link>
</div>
<div
class=
"mb-4"
>
<inertia-link
class=
"flex items-center group py-3"
:href=
"route('reports')"
>
<icon
name=
"printer"
class=
"w-4 h-4 mr-2"
:class=
"isUrl('reports') ? 'fill-white' : 'fill-indigo-400 group-hover:fill-white'"
/>
<div
:class=
"isUrl('reports') ? 'text-white' : 'text-indigo-300 group-hover:text-white'"
>
Reports
</div>
</inertia-link>
</div>
</div>
</
template
>
...
...
routes/web.php
View file @
b8170d7
...
...
@@ -37,7 +37,7 @@ Route::post('logout', [LoginController::class, 'logout'])
// Dashboard
Route
::
get
(
'/'
,
[
Dashboard
Controller
::
class
,
'index'
])
Route
::
get
(
'/'
,
[
Tokens
Controller
::
class
,
'index'
])
->
name
(
'dashboard'
)
->
middleware
(
'auth'
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment