This commit is contained in:
2020-10-06 00:03:52 +00:00
parent e0b3222507
commit 1c65a89d4a
21 changed files with 148 additions and 52 deletions

View File

@@ -3,8 +3,8 @@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
todo: chunk-vendors has fa-brands in it which is fucking huge, what else is in there I don't need? todo: chunk-vendors has fa - brands in it which is fucking huge, what else is in there I don't need?
eradicate fa-brands! eradicate fa - brands!
Looks like I'm doing it wrong, I was using a generic NPM module when there is a Vue specific one that also has guidance to limit to just the icons I actually use: Looks like I'm doing it wrong, I was using a generic NPM module when there is a Vue specific one that also has guidance to limit to just the icons I actually use:
https://github.com/FortAwesome/vue-fontawesome https://github.com/FortAwesome/vue-fontawesome
This could be a big breaking change so need to do it carefully and all at once as it's own project This could be a big breaking change so need to do it carefully and all at once as it's own project

View File

@@ -90,14 +90,14 @@ export default {
if (isCoreBizObject) { if (isCoreBizObject) {
// vm.appBar.menuItems.push({ // vm.appBar.menuItems.push({
// title: "Attachments"), // title: "Attachments"),
// icon: "fa-paperclip", // icon: "fa - paperclip",
// key: "app:attachments", // key: "app:attachments",
// data: { ayaType: formAyaType, recordId: formRecordId } // data: { ayaType: formAyaType, recordId: formRecordId }
// }); // });
// vm.appBar.menuItems.push({ // vm.appBar.menuItems.push({
// title: "WikiPage"), // title: "WikiPage"),
// icon: "fa-feather", // icon: "fa - feather",
// key: "app:wiki", // key: "app:wiki",
// data: { ayaType: formAyaType, recordId: formRecordId } // data: { ayaType: formAyaType, recordId: formRecordId }
// }); // });

View File

@@ -5,15 +5,15 @@
// //
const icons = { const icons = {
image: "fa-file-image", image: "$ayiFileImage",
pdf: "fa-file-pdf", pdf: "$ayiFilePdf",
word: "fa-file-word", word: "$ayiFileWord",
powerpoint: "fa-file-powerpoint", powerpoint: "fa-file-powerpoint",
excel: "fa-file-excel", excel: "fa-file-excel",
csv: "fa-file-csv", csv: "fa-file-csv",
audio: "fa-file-audio", audio: "fa-file-audio",
video: "fa-file-video", video: "fa-file-video",
archive: "fa-file-archive", archive: "$ayiFileArchive",
code: "fa-file-code", code: "fa-file-code",
text: "fa-file-alt", text: "fa-file-alt",
file: "fa-file" file: "fa-file"
@@ -304,9 +304,9 @@ export default {
case window.$gz.type.User: case window.$gz.type.User:
return "fa-user"; return "fa-user";
case window.$gz.type.Widget: case window.$gz.type.Widget:
return "fa-vial"; return "$ayiVial";
case window.$gz.type.ServerState: case window.$gz.type.ServerState:
return "fa-door-open"; return "$ayiDoorOpen";
case window.$gz.type.License: case window.$gz.type.License:
return "$ayiTicket"; return "$ayiTicket";
case window.$gz.type.LogFile: case window.$gz.type.LogFile:
@@ -314,13 +314,13 @@ export default {
case window.$gz.type.PickListTemplate: case window.$gz.type.PickListTemplate:
return "fa-pencil-ruler"; return "fa-pencil-ruler";
case window.$gz.type.ServerJob: case window.$gz.type.ServerJob:
return "fa-robot"; return "$ayiRobot";
case window.$gz.type.AyaNova7Import: case window.$gz.type.AyaNova7Import:
return "fa-file-import"; return "fa-file-import";
case window.$gz.type.TrialSeeder: case window.$gz.type.TrialSeeder:
return "fa-seedling"; return "fa-seedling";
case window.$gz.type.Metrics: case window.$gz.type.Metrics:
return "fa-file-medical-alt"; return "$ayiFileMedicalAlt";
case window.$gz.type.Translation: case window.$gz.type.Translation:
return "$ayiLanguage"; return "$ayiLanguage";
case window.$gz.type.UserOptions: case window.$gz.type.UserOptions:
@@ -375,7 +375,7 @@ export default {
// attempt to detect image extension name // attempt to detect image extension name
// //
isImageAttachment: function(fileName, mimeType) { isImageAttachment: function(fileName, mimeType) {
return this.iconForFile(fileName, mimeType) == "fa-file-image"; return this.iconForFile(fileName, mimeType) == "$ayiFileImage";
}, },
/////////////////////////////////////////////// ///////////////////////////////////////////////
// Sleep async // Sleep async

View File

@@ -352,7 +352,7 @@ function initNavPanel() {
//there used to be an array for 3rd level shit but that's whack yo! ;) //there used to be an array for 3rd level shit but that's whack yo! ;)
// subSub.push({ // subSub.push({
// title: "WorkOrderServiceTemplate", // title: "WorkOrderServiceTemplate",
// icon: "fa-stamp", // icon: "fa - stamp",
// route: "/svc-workorder-templates", // route: "/svc-workorder-templates",
// key: key++ // key: key++
// }); // });
@@ -669,7 +669,7 @@ function initNavPanel() {
// ARCHIVE // ARCHIVE
sub.push({ sub.push({
title: "Backup", title: "Backup",
icon: "fa-file-archive", icon: "$ayiFileArchive",
route: "/ops-backup", route: "/ops-backup",
key: key++ key: key++
}); });
@@ -683,7 +683,7 @@ function initNavPanel() {
// SERVER STATE // SERVER STATE
sub.push({ sub.push({
title: "ServerState", title: "ServerState",
icon: "fa-door-open", icon: "$ayiDoorOpen",
route: "/ops-server-state", route: "/ops-server-state",
key: key++ key: key++
}); });
@@ -691,7 +691,7 @@ function initNavPanel() {
// JOBS // JOBS
sub.push({ sub.push({
title: "ServerJobs", title: "ServerJobs",
icon: "fa-robot", icon: "$ayiRobot",
route: "/ops-jobs", route: "/ops-jobs",
key: key++ key: key++
}); });
@@ -707,7 +707,7 @@ function initNavPanel() {
//METRICS //METRICS
sub.push({ sub.push({
title: "ServerMetrics", title: "ServerMetrics",
icon: "fa-file-medical-alt", icon: "$ayiFileMedicalAlt",
route: "/ops-metrics", route: "/ops-metrics",
key: key++ key: key++
}); });
@@ -715,7 +715,7 @@ function initNavPanel() {
//PROFILE //PROFILE
sub.push({ sub.push({
title: "ServerProfiler", title: "ServerProfiler",
icon: "fa-binoculars", icon: "$ayiBinoculars",
route: "/ops-profile", route: "/ops-profile",
key: key++ key: key++
}); });
@@ -737,7 +737,7 @@ function initNavPanel() {
}); });
// ** OPERATIONS (TOP) // ** OPERATIONS (TOP)
addNavItem("Operations", "fa-server", undefined, sub, key++, "operations"); addNavItem("Operations", "$ayiServer", undefined, sub, key++, "operations");
} }
//**** WIDGETS (TOP GROUP) //**** WIDGETS (TOP GROUP)
@@ -749,7 +749,7 @@ function initNavPanel() {
role.InventoryLimited role.InventoryLimited
]) ])
) { ) {
addNavItem("WidgetList", "fa-vial", "/widgets", [], key++, "widgets"); addNavItem("WidgetList", "$ayiVial", "/widgets", [], key++, "widgets");
} }
//*** EVALUATION active trial license should always go to evaluation as home page //*** EVALUATION active trial license should always go to evaluation as home page
@@ -757,7 +757,7 @@ function initNavPanel() {
if ((licenseState == 1) & !isSubcontractorTypeUser) { if ((licenseState == 1) & !isSubcontractorTypeUser) {
addNavItem( addNavItem(
"Evaluate", "Evaluate",
"fa-rocket", "$ayiRocket",
"/ay-evaluate", "/ay-evaluate",
[], [],
key++, key++,

View File

@@ -3,7 +3,7 @@
<div> <div>
<v-btn depressed tile @click="revealedClicked"> <v-btn depressed tile @click="revealedClicked">
{{ $ay.t("Attachments") {{ $ay.t("Attachments")
}}<v-icon v-text="reveal ? 'fa-eye-slash' : 'fa-eye'" right></v-icon }}<v-icon v-text="reveal ? '$ayiEyeSlash' : '$ayiEye'" right></v-icon
></v-btn> ></v-btn>
</div> </div>
@@ -95,7 +95,7 @@
<v-btn depressed tile @click="revealedClicked" class="mt-8"> <v-btn depressed tile @click="revealedClicked" class="mt-8">
{{ $ay.t("Attachments") {{ $ay.t("Attachments")
}}<v-icon }}<v-icon
v-text="reveal ? 'fa-eye-slash' : 'fa-eye'" v-text="reveal ? '$ayiEyeSlash' : '$ayiEye'"
right right
></v-icon ></v-icon
></v-btn> ></v-btn>

View File

@@ -11,7 +11,7 @@
<v-card elevation="24"> <v-card elevation="24">
<v-card-title class="text-h6 text-sm-h5 grey lighten-4"> <v-card-title class="text-h6 text-sm-h5 grey lighten-4">
<template v-if="options.type == 'success'"> <template v-if="options.type == 'success'">
<v-icon large color="success">fa-check-circle</v-icon> <v-icon large color="success">$ayiCheckCircle</v-icon>
</template> </template>
<template v-if="options.type == 'info'"> <template v-if="options.type == 'info'">
<v-icon large color="info">$ayiInfoCircle</v-icon> <v-icon large color="info">$ayiInfoCircle</v-icon>

View File

@@ -2,7 +2,7 @@
<div class="mt-6"> <div class="mt-6">
<div> <div>
<v-btn depressed tile @click="toggleReveal"> <v-btn depressed tile @click="toggleReveal">
Wiki<v-icon v-text="reveal ? 'fa-eye-slash' : 'fa-eye'" right></v-icon Wiki<v-icon v-text="reveal ? '$ayiEyeSlash' : '$ayiEye'" right></v-icon
></v-btn> ></v-btn>
</div> </div>
<template v-if="reveal"> <template v-if="reveal">
@@ -13,7 +13,7 @@
:outlined="currentView == view.WIKI_VIEW" :outlined="currentView == view.WIKI_VIEW"
@click="currentView = view.WIKI_VIEW" @click="currentView = view.WIKI_VIEW"
> >
<v-icon>fa-eye</v-icon> <v-icon>$ayiEye</v-icon>
</v-btn> </v-btn>
<v-btn <v-btn
text text
@@ -316,7 +316,7 @@
</v-col> </v-col>
</v-row> </v-row>
<v-btn depressed tile @click="toggleReveal"> <v-btn depressed tile @click="toggleReveal">
Wiki<v-icon v-text="reveal ? 'fa-eye-slash' : 'fa-eye'" right></v-icon Wiki<v-icon v-text="reveal ? '$ayiEyeSlash' : '$ayiEye'" right></v-icon
></v-btn> ></v-btn>
</v-sheet> </v-sheet>
</template> </template>
@@ -551,22 +551,22 @@ export default {
if (this.readonly) { if (this.readonly) {
if (this.currentView == this.view.HIDDEN_VIEW) { if (this.currentView == this.view.HIDDEN_VIEW) {
return "fa-eye"; return "$ayiEye";
} else { } else {
return "fa-eye-slash"; return "$ayiEyeSlash";
} }
return; return;
} }
switch (this.currentView) { switch (this.currentView) {
case this.view.HIDDEN_VIEW: case this.view.HIDDEN_VIEW:
return "fa-eye"; return "$ayiEye";
case this.view.WIKI_VIEW: case this.view.WIKI_VIEW:
return "fa-columns"; return "fa-columns";
case this.view.SPLIT_VIEW: case this.view.SPLIT_VIEW:
return "fa-feather"; return "fa-feather";
case this.view.DESIGN_VIEW: case this.view.DESIGN_VIEW:
return "fa-eye"; return "$ayiEye";
} }
}, },
showWiki() { showWiki() {
@@ -610,7 +610,7 @@ export default {
} }
}, },
visibleIcon() { visibleIcon() {
return this.wikiVisible ? "fa-eye-slash" : "fa-eye"; return this.wikiVisible ? "$ayiEyeSlash" : "$ayiEye";
}, },
//EDITING //EDITING
editClick(editType, ex) { editClick(editType, ex) {

View File

@@ -16,6 +16,7 @@ import {
faAddressCard, faAddressCard,
faBars, faBars,
faBell, faBell,
faBinoculars,
faBox, faBox,
faBoxes, faBoxes,
faBullhorn, faBullhorn,
@@ -25,17 +26,24 @@ import {
faCalendarCheck, faCalendarCheck,
faCalendarDay, faCalendarDay,
faCaretDown, faCaretDown,
faCheckCircle,
faChevronDown, faChevronDown,
faChild, faChild,
faCogs, faCogs,
faDiceD20, faDiceD20,
faDolly, faDolly,
faDollyFlatbed, faDollyFlatbed,
faDoorOpen,
faEllipsisV, faEllipsisV,
faEye, faEye,
faEyeSlash, faEyeSlash,
faFan, faFan,
faFileArchive,
faFileContract, faFileContract,
faFileImage,
faFileMedicalAlt,
faFilePdf,
faFileWord,
faFolder, faFolder,
faHistory, faHistory,
faHome, faHome,
@@ -48,7 +56,10 @@ import {
faPencilAlt, faPencilAlt,
faPlug, faPlug,
faQuestionCircle, faQuestionCircle,
faRobot,
faRocket,
faSearch, faSearch,
faServer,
faShippingFast, faShippingFast,
faSignInAlt, faSignInAlt,
faSignOutAlt, faSignOutAlt,
@@ -64,7 +75,8 @@ import {
faUser, faUser,
faUserCog, faUserCog,
faUsers, faUsers,
faUserTie faUserTie,
faVial
} from "@fortawesome/free-solid-svg-icons"; } from "@fortawesome/free-solid-svg-icons";
//import { faUserCircle as farUserCircle } from "@fortawesome/free-regular-svg-icons"; //import { faUserCircle as farUserCircle } from "@fortawesome/free-regular-svg-icons";
Vue.component("font-awesome-icon", FontAwesomeIcon); Vue.component("font-awesome-icon", FontAwesomeIcon);
@@ -74,6 +86,7 @@ library.add(
faAddressCard, faAddressCard,
faBars, faBars,
faBell, faBell,
faBinoculars,
faBox, faBox,
faBoxes, faBoxes,
faBullhorn, faBullhorn,
@@ -83,17 +96,24 @@ library.add(
faCalendarCheck, faCalendarCheck,
faCalendarDay, faCalendarDay,
faCaretDown, faCaretDown,
faCheckCircle,
faChevronDown, faChevronDown,
faChild, faChild,
faCogs, faCogs,
faDiceD20, faDiceD20,
faDolly, faDolly,
faDollyFlatbed, faDollyFlatbed,
faDoorOpen,
faEllipsisV, faEllipsisV,
faEye, faEye,
faEyeSlash, faEyeSlash,
faFan, faFan,
faFileArchive,
faFileContract, faFileContract,
faFileImage,
faFileMedicalAlt,
faFilePdf,
faFileWord,
faFolder, faFolder,
faHistory, faHistory,
faHome, faHome,
@@ -106,7 +126,10 @@ library.add(
faPencilAlt, faPencilAlt,
faPlug, faPlug,
faQuestionCircle, faQuestionCircle,
faRobot,
faRocket,
faSearch, faSearch,
faServer,
faShippingFast, faShippingFast,
faSignInAlt, faSignInAlt,
faSignOutAlt, faSignOutAlt,
@@ -122,7 +145,8 @@ library.add(
faUser, faUser,
faUserCog, faUserCog,
faUsers, faUsers,
faUserTie faUserTie,
faVial
); );
const CUSTOM_ICONS = { const CUSTOM_ICONS = {
@@ -144,6 +168,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "bell"] icon: ["fas", "bell"]
} }
}, },
ayiBinoculars: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "binoculars"]
}
},
ayiBox: { ayiBox: {
component: FontAwesomeIcon, component: FontAwesomeIcon,
props: { props: {
@@ -192,6 +222,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "calendar-day"] icon: ["fas", "calendar-day"]
} }
}, },
ayiCheckCircle: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "check-circle"]
}
},
ayiChild: { ayiChild: {
component: FontAwesomeIcon, component: FontAwesomeIcon,
props: { props: {
@@ -228,6 +264,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "dolly-flatbed"] icon: ["fas", "dolly-flatbed"]
} }
}, },
ayiDoorOpen: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "door-open"]
}
},
ayiEye: { ayiEye: {
component: FontAwesomeIcon, component: FontAwesomeIcon,
props: { props: {
@@ -252,12 +294,42 @@ const CUSTOM_ICONS = {
icon: ["fas", "fan"] icon: ["fas", "fan"]
} }
}, },
ayiFileArchive: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "file-archive"]
}
},
ayiFileContract: { ayiFileContract: {
component: FontAwesomeIcon, component: FontAwesomeIcon,
props: { props: {
icon: ["fas", "file-contract"] icon: ["fas", "file-contract"]
} }
}, },
ayiFileImage: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "file-image"]
}
},
ayiFileMedicalAlt: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "file-medical-alt"]
}
},
ayiFilePdf: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "file-pdf"]
}
},
ayiFileWord: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "file-word"]
}
},
ayiFolder: { ayiFolder: {
component: FontAwesomeIcon, component: FontAwesomeIcon,
props: { props: {
@@ -330,12 +402,30 @@ const CUSTOM_ICONS = {
icon: ["fas", "question-circle"] icon: ["fas", "question-circle"]
} }
}, },
ayiRobot: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "robot"]
}
},
ayiRocket: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "rocket"]
}
},
ayiSearch: { ayiSearch: {
component: FontAwesomeIcon, component: FontAwesomeIcon,
props: { props: {
icon: ["fas", "search"] icon: ["fas", "search"]
} }
}, },
ayiServer: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "server"]
}
},
ayiShippingFast: { ayiShippingFast: {
component: FontAwesomeIcon, component: FontAwesomeIcon,
props: { props: {
@@ -426,6 +516,12 @@ const CUSTOM_ICONS = {
icon: ["fas", "user-tie"] icon: ["fas", "user-tie"]
} }
}, },
ayiVial: {
component: FontAwesomeIcon,
props: {
icon: ["fas", "vial"]
}
},
//VUETIFY REQUIRED ONES //VUETIFY REQUIRED ONES
//https://vuetifyjs.com/en/features/icons/#using-custom-icons //https://vuetifyjs.com/en/features/icons/#using-custom-icons
dropdown: { dropdown: {

View File

@@ -312,7 +312,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: "StartAttachmentMaintenanceJob", title: "StartAttachmentMaintenanceJob",
icon: "fa-robot", icon: "$ayiRobot",
surface: false, surface: false,
key: FORM_KEY + ":START_MAINTENANCE_JOB", key: FORM_KEY + ":START_MAINTENANCE_JOB",
vm: vm vm: vm

View File

@@ -150,7 +150,7 @@
id="password" id="password"
v-model="password" v-model="password"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:append-outer-icon="reveal ? 'fa-eye' : 'fa-eye-slash'" :append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
prepend-icon="fa-key" prepend-icon="fa-key"
:label="$ay.t('NewPassword')" :label="$ay.t('NewPassword')"
:type="reveal ? 'text' : 'password'" :type="reveal ? 'text' : 'password'"

View File

@@ -310,7 +310,7 @@ function clickHandler(menuItem) {
function generateMenu(vm) { function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-rocket", icon: "$ayiRocket",
title: "Evaluate", title: "Evaluate",
helpUrl: "ay-evaluate", helpUrl: "ay-evaluate",
menuItems: [] menuItems: []

View File

@@ -154,7 +154,7 @@
id="password" id="password"
v-model="password" v-model="password"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:append-outer-icon="reveal ? 'fa-eye' : 'fa-eye-slash'" :append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
prepend-icon="fa-key" prepend-icon="fa-key"
:label="$ay.t('NewPassword')" :label="$ay.t('NewPassword')"
:type="reveal ? 'text' : 'password'" :type="reveal ? 'text' : 'password'"

View File

@@ -31,7 +31,7 @@
id="password" id="password"
v-model="obj.oldPassword" v-model="obj.oldPassword"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:append-outer-icon="reveal ? 'fa-eye' : 'fa-eye-slash'" :append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
prepend-icon="fa-key" prepend-icon="fa-key"
:label="$ay.t('OldPassword')" :label="$ay.t('OldPassword')"
:type="reveal ? 'text' : 'password'" :type="reveal ? 'text' : 'password'"
@@ -47,7 +47,7 @@
<v-text-field <v-text-field
v-model="obj.newPassword" v-model="obj.newPassword"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:append-outer-icon="reveal ? 'fa-eye' : 'fa-eye-slash'" :append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
prepend-icon="fa-key" prepend-icon="fa-key"
:label="$ay.t('NewPassword')" :label="$ay.t('NewPassword')"
:type="reveal ? 'text' : 'password'" :type="reveal ? 'text' : 'password'"
@@ -63,7 +63,7 @@
<v-text-field <v-text-field
v-model="obj.confirmPassword" v-model="obj.confirmPassword"
:readonly="formState.readOnly" :readonly="formState.readOnly"
:append-outer-icon="reveal ? 'fa-eye' : 'fa-eye-slash'" :append-outer-icon="reveal ? '$ayiEye' : '$ayiEyeSlash'"
prepend-icon="fa-key" prepend-icon="fa-key"
:label="$ay.t('ConfirmPassword')" :label="$ay.t('ConfirmPassword')"
:type="reveal ? 'text' : 'password'" :type="reveal ? 'text' : 'password'"

View File

@@ -371,7 +371,7 @@ async function clickHandler(menuItem) {
function generateMenu(vm) { function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-file-archive", icon: "$ayiFileArchive",
title: "Backup", title: "Backup",
helpUrl: "form-ops-backup", helpUrl: "form-ops-backup",
formData: { formData: {
@@ -392,7 +392,7 @@ function generateMenu(vm) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: "BackupNow", title: "BackupNow",
icon: "fa-file-archive", icon: "$ayiFileArchive",
surface: false, surface: false,
key: FORM_KEY + ":backupnow", key: FORM_KEY + ":backupnow",
vm: vm vm: vm

View File

@@ -174,7 +174,7 @@ export default {
function generateMenu(vm) { function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-robot", icon: "$ayiRobot",
title: "ServerJobs", title: "ServerJobs",
helpUrl: "form-ops-jobs", helpUrl: "form-ops-jobs",
formData: { formData: {
@@ -194,7 +194,7 @@ function generateMenu(vm) {
if (vm.rights.change) { if (vm.rights.change) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: "OpsTestJob", title: "OpsTestJob",
icon: "fa-robot", icon: "$ayiRobot",
surface: false, surface: false,
key: FORM_KEY + ":TEST_JOB", key: FORM_KEY + ":TEST_JOB",
vm: vm vm: vm

View File

@@ -455,7 +455,7 @@ function tabIndexToRoute(tabIndex) {
function generateMenu(vm) { function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-file-medical-alt", icon: "$ayiFileMedicalAlt",
title: "ServerMetrics", title: "ServerMetrics",
helpUrl: "form-ops-metrics", helpUrl: "form-ops-metrics",
formData: { formData: {

View File

@@ -423,7 +423,7 @@ function generateMenu(vm) {
menuOptions.menuItems.push({ menuOptions.menuItems.push({
title: "TestSMTPSettings", title: "TestSMTPSettings",
icon: "fa-vial", icon: "$ayiVial",
surface: false, surface: false,
key: FORM_KEY + ":test", key: FORM_KEY + ":test",
vm: vm vm: vm

View File

@@ -205,7 +205,7 @@ function generateMenu(vm) {
// if (vm.rights.change) { // if (vm.rights.change) {
// menuOptions.menuItems.push({ // menuOptions.menuItems.push({
// title: "OpsTestJob", // title: "OpsTestJob",
// icon: "fa-robot", // icon: "$ayiRobot",
// surface: false, // surface: false,
// key: FORM_KEY + ":TEST_JOB", // key: FORM_KEY + ":TEST_JOB",
// vm: vm // vm: vm

View File

@@ -85,7 +85,7 @@ export default {
function generateMenu(vm) { function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-binoculars", icon: "$ayiBinoculars",
title: "ServerProfiler", title: "ServerProfiler",
helpUrl: "form-ops-profile", helpUrl: "form-ops-profile",
formData: { formData: {

View File

@@ -247,7 +247,7 @@ async function clickHandler(menuItem) {
function generateMenu(vm) { function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-door-open", icon: "$ayiDoorOpen",
title: "ServerState", title: "ServerState",
helpUrl: "form-ops-server-state", helpUrl: "form-ops-server-state",
formData: { formData: {

View File

@@ -113,7 +113,7 @@ async function clickHandler(menuItem) {
function generateMenu(vm) { function generateMenu(vm) {
let menuOptions = { let menuOptions = {
isMain: true, isMain: true,
icon: "fa-vial", icon: "$ayiVial",
title: "WidgetList", title: "WidgetList",
helpUrl: "form-ay-data-list-view", helpUrl: "form-ay-data-list-view",
menuItems: [], menuItems: [],