8000 GitHub - naneri/zagotovka
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

naneri/zagotovka

Repository files navigation

Installation

OLD INSTRUCTION

To install simply run make install.
If you need to setup permissions run make set-permissions

NEW INSTRUCTION

  • go to /deploy folder and run docker-compose up -d
  • run sh deploy/up.sh
  • run all commands in the /deploy/Makefile

Page structure

To create a page, you need to extend the layouts._app blade.

Alerts and Notifications

Alert can be added by flashing data to a alert session key. Type can be defined as one of the following: warning, success, error, info.

Here is a sample usage:

session()->flash('alert', [
    'message' => 'hey kana',  // required
    'type'    => 'info',      // optional, success by default 
]);

Notifications can be also flashed. They have both type and message that are required to be implemented, and they also have an optional icon key that is responsible for the icon.

Here is a sample usage:

session()->flash('notification', [
    'message' => 'hey kana',    //required
    'type'    => 'warning',     // optional, success by default
    'icon'    => 'fas fa-info'  // optional, empty by default
]);

Delete buttons

You can add a delete button like this:

<a href="posts/2" data-method="delete" data-token="{{ csrf_token() }}" data-confirm="Are you sure?">

method is defined as data-method, csrf-token is defined as data-token, the confirm message is defined as data-confirm. The details can be found in resources/js/laravel.js

Admin LTE Samples:

https://adminlte.io/themes/v3/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0