4e8e2d7510
* added new icons * added timeline badge and dialog to action menu * more icons * implemented timeline dialog using temporary API * added route for fetching all timeline events * formalized API call and added mobile-friendly view * cleaned tags * improved last made UI for mobile * added event context menu with placeholder methods * adjusted default made this date set time to 1 minute before midnight adjusted display to properly interpret UTC * fixed local date display * implemented update/delete routes * fixed formating for long subjects * added api error handling * made everything localizable * fixed weird formatting * removed unnecessary async * combined mobile/desktop views w/ conditional attrs
280 lines
6.3 KiB
TypeScript
280 lines
6.3 KiB
TypeScript
import {
|
|
mdiAccount,
|
|
mdiSilverwareVariant,
|
|
mdiPlus,
|
|
mdiPlusCircle,
|
|
mdiDelete,
|
|
mdiContentSave,
|
|
mdiContentSaveEdit,
|
|
mdiSquareEditOutline,
|
|
mdiClose,
|
|
mdiTagMultipleOutline,
|
|
mdiBookOutline,
|
|
mdiAccountCog,
|
|
mdiAccountGroup,
|
|
mdiSlotMachine,
|
|
mdiHome,
|
|
mdiMagnify,
|
|
mdiPotSteam,
|
|
mdiTranslate,
|
|
mdiClockTimeFourOutline,
|
|
mdiImport,
|
|
mdiEmail,
|
|
mdiLock,
|
|
mdiEye,
|
|
mdiDrag,
|
|
mdiEyeOff,
|
|
mdiCalendarMinus,
|
|
mdiAlertOutline,
|
|
mdiCalendar,
|
|
mdiDiceMultiple,
|
|
mdiAlertCircle,
|
|
mdiDotsVertical,
|
|
mdiPrinter,
|
|
mdiShareVariant,
|
|
mdiChevronDown,
|
|
mdiHeart,
|
|
mdiHeartOutline,
|
|
mdiDotsHorizontal,
|
|
mdiCheckboxBlankOutline,
|
|
mdiCommentTextMultiple,
|
|
mdiCommentTextMultipleOutline,
|
|
mdiDownload,
|
|
mdiFile,
|
|
mdiFilePdfBox,
|
|
mdiFileImage,
|
|
mdiCodeJson,
|
|
mdiCog,
|
|
mdiSort,
|
|
mdiSortAscending,
|
|
mdiSortDescending,
|
|
mdiSortAlphabeticalAscending,
|
|
mdiSortAlphabeticalDescending,
|
|
mdiSortCalendarAscending,
|
|
mdiSortCalendarDescending,
|
|
mdiSortClockAscending,
|
|
mdiSortClockDescending,
|
|
mdiOrderAlphabeticalAscending,
|
|
mdiStar,
|
|
mdiNewBox,
|
|
mdiShuffleVariant,
|
|
mdiAlert,
|
|
mdiCheckboxMarkedCircle,
|
|
mdiInformation,
|
|
mdiInformationVariant,
|
|
mdiBellAlert,
|
|
mdiRefreshCircle,
|
|
mdiMenu,
|
|
mdiWeatherSunny,
|
|
mdiWeatherNight,
|
|
mdiLink,
|
|
mdiRobot,
|
|
mdiLinkVariant,
|
|
mdiViewModule,
|
|
mdiViewDashboard,
|
|
mdiTools,
|
|
mdiCalendarWeek,
|
|
mdiCalendarToday,
|
|
mdiCalendarMultiselect,
|
|
mdiFormatListChecks,
|
|
mdiLogout,
|
|
mdiContentCopy,
|
|
mdiClipboardCheck,
|
|
mdiCloudUpload,
|
|
mdiDatabase,
|
|
mdiGithub,
|
|
mdiFolderOutline,
|
|
mdiApi,
|
|
mdiTestTube,
|
|
mdiDevTo,
|
|
mdiBackupRestore,
|
|
mdiNotificationClearAll,
|
|
mdiFood,
|
|
mdiWebhook,
|
|
mdiFilter,
|
|
mdiAccountPlusOutline,
|
|
mdiDesktopTowerMonitor,
|
|
mdiFormatColorFill,
|
|
mdiFormSelect,
|
|
mdiPageLayoutBody,
|
|
mdiCalendarWeekBegin,
|
|
mdiOpenInNew,
|
|
mdiCheck,
|
|
mdiBroom,
|
|
mdiCartCheck,
|
|
mdiArrowLeftBold,
|
|
mdiMinus,
|
|
mdiWindowClose,
|
|
mdiFolderZipOutline,
|
|
mdiFoodApple,
|
|
mdiBeakerOutline,
|
|
mdiArrowLeftBoldOutline,
|
|
mdiArrowRightBoldOutline,
|
|
mdiTimerSand,
|
|
mdiRefresh,
|
|
mdiArrowRightBold,
|
|
mdiChevronRight,
|
|
mdiBowlMixOutline,
|
|
mdiWrench,
|
|
mdiChartLine,
|
|
mdiHelpCircleOutline,
|
|
mdiDocker,
|
|
mdiUndo,
|
|
mdiSelectionDrag,
|
|
mdiCursorMove,
|
|
mdiText,
|
|
mdiTextBoxOutline,
|
|
mdiTimelineText,
|
|
mdiMessageText,
|
|
mdiChefHat,
|
|
mdiContentDuplicate,
|
|
} from "@mdi/js";
|
|
|
|
export const icons = {
|
|
// Primary
|
|
primary: mdiSilverwareVariant,
|
|
|
|
wrench: mdiWrench,
|
|
chart: mdiChartLine,
|
|
docker: mdiDocker,
|
|
|
|
// General
|
|
bowlMixOutline: mdiBowlMixOutline,
|
|
help: mdiHelpCircleOutline,
|
|
foods: mdiFoodApple,
|
|
units: mdiBeakerOutline,
|
|
alert: mdiAlert,
|
|
alertCircle: mdiAlertCircle,
|
|
alertOutline: mdiAlertOutline,
|
|
api: mdiApi,
|
|
arrowLeftBold: mdiArrowLeftBold,
|
|
arrowRightBold: mdiArrowRightBold,
|
|
arrowUpDown: mdiDrag,
|
|
backupRestore: mdiBackupRestore,
|
|
bellAlert: mdiBellAlert,
|
|
broom: mdiBroom,
|
|
calendar: mdiCalendar,
|
|
calendarMinus: mdiCalendarMinus,
|
|
calendarMultiselect: mdiCalendarMultiselect,
|
|
calendarToday: mdiCalendarToday,
|
|
calendarWeek: mdiCalendarWeek,
|
|
calendarWeekBegin: mdiCalendarWeekBegin,
|
|
cartCheck: mdiCartCheck,
|
|
check: mdiCheck,
|
|
checkboxBlankOutline: mdiCheckboxBlankOutline,
|
|
checkboxMarkedCircle: mdiCheckboxMarkedCircle,
|
|
chefHat: mdiChefHat,
|
|
clipboardCheck: mdiClipboardCheck,
|
|
clockOutline: mdiClockTimeFourOutline,
|
|
codeBraces: mdiCodeJson,
|
|
codeJson: mdiCodeJson,
|
|
cog: mdiCog,
|
|
commentTextMultiple: mdiCommentTextMultiple,
|
|
commentTextMultipleOutline: mdiCommentTextMultipleOutline,
|
|
contentCopy: mdiContentCopy,
|
|
database: mdiDatabase,
|
|
desktopTowerMonitor: mdiDesktopTowerMonitor,
|
|
devTo: mdiDevTo,
|
|
diceMultiple: mdiDiceMultiple,
|
|
dotsHorizontal: mdiDotsHorizontal,
|
|
dotsVertical: mdiDotsVertical,
|
|
download: mdiDownload,
|
|
duplicate: mdiContentDuplicate,
|
|
email: mdiEmail,
|
|
externalLink: mdiLinkVariant,
|
|
eye: mdiEye,
|
|
eyeOff: mdiEyeOff,
|
|
file: mdiFile,
|
|
fileImage: mdiFileImage,
|
|
filePDF: mdiFilePdfBox,
|
|
filter: mdiFilter,
|
|
folderOutline: mdiFolderOutline,
|
|
food: mdiFood,
|
|
formatColorFill: mdiFormatColorFill,
|
|
formatListCheck: mdiFormatListChecks,
|
|
formSelect: mdiFormSelect,
|
|
github: mdiGithub,
|
|
heart: mdiHeart,
|
|
heartOutline: mdiHeartOutline,
|
|
home: mdiHome,
|
|
import: mdiImport,
|
|
information: mdiInformation,
|
|
informationVariant: mdiInformationVariant,
|
|
link: mdiLink,
|
|
lock: mdiLock,
|
|
logout: mdiLogout,
|
|
menu: mdiMenu,
|
|
messageText: mdiMessageText,
|
|
newBox: mdiNewBox,
|
|
notificationClearAll: mdiNotificationClearAll,
|
|
openInNew: mdiOpenInNew,
|
|
orderAlphabeticalAscending: mdiOrderAlphabeticalAscending,
|
|
pageLayoutBody: mdiPageLayoutBody,
|
|
printer: mdiPrinter,
|
|
refreshCircle: mdiRefreshCircle,
|
|
robot: mdiRobot,
|
|
search: mdiMagnify,
|
|
shareVariant: mdiShareVariant,
|
|
shuffleVariant: mdiShuffleVariant,
|
|
sort: mdiSort,
|
|
sortAscending: mdiSortAscending,
|
|
sortDescending: mdiSortDescending,
|
|
sortAlphabeticalAscending: mdiSortAlphabeticalAscending,
|
|
sortAlphabeticalDescending: mdiSortAlphabeticalDescending,
|
|
sortCalendarAscending: mdiSortCalendarAscending,
|
|
sortCalendarDescending: mdiSortCalendarDescending,
|
|
sortClockAscending: mdiSortClockAscending,
|
|
sortClockDescending: mdiSortClockDescending,
|
|
star: mdiStar,
|
|
testTube: mdiTestTube,
|
|
timelineText: mdiTimelineText,
|
|
tools: mdiTools,
|
|
potSteam: mdiPotSteam,
|
|
translate: mdiTranslate,
|
|
upload: mdiCloudUpload,
|
|
viewDashboard: mdiViewDashboard,
|
|
viewModule: mdiViewModule,
|
|
weatherNight: mdiWeatherNight,
|
|
weatherSunny: mdiWeatherSunny,
|
|
webhook: mdiWebhook,
|
|
windowClose: mdiWindowClose,
|
|
zip: mdiFolderZipOutline,
|
|
undo: mdiUndo,
|
|
|
|
// Crud
|
|
backArrow: mdiArrowLeftBoldOutline,
|
|
createAlt: mdiPlus,
|
|
create: mdiPlusCircle,
|
|
delete: mdiDelete,
|
|
save: mdiContentSave,
|
|
update: mdiContentSaveEdit,
|
|
edit: mdiSquareEditOutline,
|
|
close: mdiClose,
|
|
minus: mdiMinus,
|
|
pending: mdiTimerSand,
|
|
refresh: mdiRefresh,
|
|
|
|
// Organization
|
|
tags: mdiTagMultipleOutline,
|
|
pages: mdiBookOutline,
|
|
|
|
// Admin
|
|
user: mdiAccount,
|
|
admin: mdiAccountCog,
|
|
group: mdiAccountGroup,
|
|
accountPlusOutline: mdiAccountPlusOutline,
|
|
|
|
forward: mdiArrowRightBoldOutline,
|
|
back: mdiArrowLeftBoldOutline,
|
|
slotMachine: mdiSlotMachine,
|
|
chevronDown: mdiChevronDown,
|
|
chevronRight: mdiChevronRight,
|
|
|
|
// Ocr toolbar
|
|
selectMode: mdiSelectionDrag,
|
|
panAndZoom: mdiCursorMove,
|
|
preserveLines: mdiText,
|
|
preserveBlocks: mdiTextBoxOutline,
|
|
flatten: mdiMinus,
|
|
|
|
};
|