Skip to main content

Crate oxblade_adminlte

Crate oxblade_adminlte 

Source
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§

AdminLteServiceProvider
Mounts the built-in AdminLTE views under the adminlte namespace.
AssetConfig
Overrides for PHP’s core AdminLTE asset locations.
AuthForm
Escaped view data for the PHP auth card and its forms.
InvalidUrl
A URL outside the accepted forms for a PHP menu link or asset reference.
Layout
Typed settings for the PHP layout helper and shell.
LayoutView
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.
MenuBuilder
Ordered AdminLTE menu settings analogous to PHP’s Menu Builder.
MenuItem
One compiled PHP menu entry. The serialized data contains plain text and validated URLs.
PageAssets
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§

AssetMode
The core asset delivery mode, corresponding to PHP’s assets.mode.
AuthFormError
Why an AdminLTE auth view could not be configured.
AuthKind
The upstream AdminLTE authentication view to render. Your app handles authentication.
ColorMode
The page’s initial Bootstrap color mode, corresponding to PHP’s color_mode.default.
MenuEdit
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.
PluginActivation
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§

AssetHost
The application’s public asset bindings, equivalent to PHP’s asset() and public-path check.
MenuBindings
Request-local equivalents of Laravel’s URL, route, gate and translation bindings.

Functions§

version
The version of this crate.