123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- package presets
- const (
- PermModule = "presets"
- PermList = "presets:list"
- PermGet = "presets:get"
- PermCreate = "presets:create"
- PermUpdate = "presets:update"
- PermDelete = "presets:delete"
- PermActions = "actions"
- PermDoListingAction = "do_listing_action"
- PermBulkActions = "bulk_actions"
- )
- var (
- PermRead = []string{PermList, PermGet}
- )
- // params
- const (
- ParamID = "id"
- ParamAction = "action"
- ParamOverlay = "overlay"
- ParamOverlayAfterUpdateScript = "overlay_after_update_script"
- ParamOverlayUpdateID = "overlay_update_id"
- ParamBulkActionName = "bulk_action"
- ParamListingActionName = "listing_action"
- ParamSelectedIds = "selected_ids"
- ParamInDialog = "presets_in_dialog"
- ParamListingQueries = "presets_listing_queries"
- ParamAfterDeleteEvent = "presets_after_delete_event"
- // list editor
- ParamAddRowFormKey = "listEditor_AddRowFormKey"
- ParamRemoveRowFormKey = "listEditor_RemoveRowFormKey"
- ParamIsStartSort = "listEditor_IsStartSort"
- ParamSortSectionFormKey = "listEditor_SortSectionFormKey"
- ParamSortResultFormKey = "listEditor_SortResultFormKey"
- )
- const (
- ColorPrimary = "primary"
- ColorSecondary = "secondary"
- )
|