Expand description
Rust port of jeroennoten/laravel-adminlte: adminLTE dashboard layouts, menus and plugins for Laravel for Rust.
Upstream: https://github.com/jeroennoten/Laravel-AdminLTE
assert_eq!(oxblade_adminlte::version(), env!("CARGO_PKG_VERSION"));Structs§
- Admin
LteService Provider - Mounts the built-in AdminLTE views under the adminlte namespace.
- Asset
Config - Overrides for PHP’s core AdminLTE asset locations.
- Auth
Form - Escaped view data for the PHP auth card and its forms.
- Invalid
Url - A URL outside the accepted forms for a PHP menu link or asset reference.
- Layout
- Typed settings for the PHP layout helper and shell.
- Layout
View - Resolved class and attribute data for the embedded AdminLTE Blade layouts.
- Menu
- A compiled request-local menu with the same four section tokens as PHP.
- Menu
Builder - Ordered AdminLTE menu settings analogous to PHP’s Menu Builder.
- Menu
Item - One compiled PHP menu entry. The serialized data contains plain text and validated URLs.
- Page
Assets - Resolved CSS and JS passes for PHP’s master or plugins view.
- Plugins
- The original ordered PHP plugin configuration, with typed page activation at render time.
- SafeUrl
- An application-resolved link or asset URL safe to put into a quoted HTML attribute.
Enums§
- Asset
Mode - The core asset delivery mode, corresponding to PHP’s assets.mode.
- Auth
Form Error - Why an AdminLTE auth view could not be configured.
- Auth
Kind - The upstream AdminLTE authentication view to render. Your app handles authentication.
- Color
Mode - The page’s initial Bootstrap color mode, corresponding to PHP’s color_mode.default.
- Menu
Edit - A keyed mutation corresponding to PHP’s addBefore, addAfter, addIn and remove.
- MenuKey
- A strict PHP menu key. Integer keys do not match strings of digits.
- Plugin
Activation - Per-page activation replacing PHP’s raw section override.
Constants§
- THEME_
INIT_ JS - Static light/dark/auto initializer, analogous to PHP’s no-flash script.
Traits§
- Asset
Host - The application’s public asset bindings, equivalent to PHP’s asset() and public-path check.
- Menu
Bindings - Request-local equivalents of Laravel’s URL, route, gate and translation bindings.
Functions§
- version
- The version of this crate.