Skip to content

Commit fcd0bd6

Browse files
authored
Merge pull request #4 from neelkanthk/development
Development
2 parents ddcac54 + 5042c3c commit fcd0bd6

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

README.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The **Laravel Surveillance UI manager dashboard** can be accessed at: http://you
9494

9595
The **Laravel Surveillance UI logs dashboard** can be accessed at: http://your.domain/surveillance/ui/logs
9696

97-
## Customizing the package routes
97+
## Overriding and customizing the package default configuration
9898

9999
### Customizing the route prefix
100100

@@ -122,6 +122,19 @@ If you want to add more middlewares like ```auth``` or something else, then you
122122
"middleware" => ["web", "auth"], //auth middleware added
123123
```
124124

125+
### Customizing the views
126+
127+
After publishing the package views you can change the design as per your taste.
128+
The views are published inside your project's ```resources/views/vendor/surveillance-ui``` directory.
129+
130+
### Customizing the JS and CSS
131+
132+
After publishing the package assets you can tweak the JS and CSS inside your project's ```public/surveillance-ui``` directory.
133+
134+
### Replacing the default logo
135+
136+
You can change the default CCTV logo and favicon displayed on the Surveillance Dashboard by replacing them with your own at ```public/surveillance-ui/images/logo.png``` and ```public/surveillance-ui/images/favicon.ico```.
137+
125138
## Contributing
126139
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
127140

config/surveillance-ui.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
/**
2626
* Github repo URL
2727
*/
28-
"github" => 'https://github.com/neelkanthk/laravel-surveillance'
28+
"github" => 'https://github.com/neelkanthk/laravel-surveillance-ui'
2929
];

resources/views/manager/edit.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<div class="row">
1818
<!-- Content Column -->
1919
<div class="col-lg-6 mb-4">
20-
<form id="surveillance-ui-edit-form" method="POST" action="{{ route('surveillance-ui.manager.update',2) }}">
20+
<form id="surveillance-ui-edit-form" method="POST" action="{{ route('surveillance-ui.manager.update',$surveillanceRecord->id) }}">
2121
@csrf
2222
@method('PATCH')
2323
@include('surveillance-ui::manager.partials.flash_alert')

0 commit comments

Comments
 (0)