ConfigurationΒΆ
The Configuration class allows you to customise the admin panel:
url: The base URL for the admin panel (default isadmin).endpoint: The endpoint for the admin panel (default is/admin).setAuthentication: Enable or disable authentication (default istrue).adminName: The name displayed in the admin panel (default isAdmin).adminUsername: The username for the default admin user (default isadmin).adminPassword: The password for the default admin user (default isadmin).customIndexTemplate: Path to a custom index template (default iskt-panel-index.hbs).customListTemplate: Path to a custom list template (default iskt-panel-list.hbs).customCreateTemplate: Path to a custom create template (default iskt-panel-create.hbs).customDetailsTemplate: Path to a custom details template (default iskt-panel-details.hbs).customLoginTemplate: Path to a custom login template (default iskt-panel-login.hbs).customLogoutTemplate: Path to a custom logout template (default iskt-panel-logout.hbs).customDeleteTemplate: Path to a custom delete template (default iskt-panel-delete.hbs).favicon: Path to a custom favicon (default is/static/favicon.ico).templateRenderer: Custom template renderer (default is Mustache).listFields: List of fields to display in the list view. If null (by default), all fields will be shown.
val config = Configuration(
url = "dashboard",
endpoint = "/",
setAuthentication = true,
adminName = "Custom Admin",
adminUsername = "my_admin",
adminPassword = "a_very_strong_password"
)