add link to documentation explaining how to get id and token

This commit is contained in:
Humberto Evans 2024-02-12 16:56:41 -08:00
parent 80bdc455da
commit 10659d07b2
3 changed files with 64 additions and 62 deletions

View file

@ -3,9 +3,7 @@
<label for="heiioncall-apikey" class="form-label">{{ $t("API Key") <label for="heiioncall-apikey" class="form-label">{{ $t("API Key")
}}<span style="color: red"><sup>*</sup></span></label> }}<span style="color: red"><sup>*</sup></span></label>
<HiddenInput <HiddenInput
id="heiioncall-apikey" id="heiioncall-apikey" v-model="$parent.notification.heiiOnCallApiKey" required="true"
v-model="$parent.notification.heiiOnCallApiKey"
required="true"
autocomplete="false" autocomplete="false"
></HiddenInput> ></HiddenInput>
</div> </div>
@ -13,12 +11,15 @@
<label for="heiioncall-trigger-id" class="form-label">{{ $t("Trigger ID") <label for="heiioncall-trigger-id" class="form-label">{{ $t("Trigger ID")
}}<span style="color: red"><sup>*</sup></span></label> }}<span style="color: red"><sup>*</sup></span></label>
<HiddenInput <HiddenInput
id="heiioncall-trigger-id" id="heiioncall-trigger-id" v-model="$parent.notification.heiiOnCallTriggerId" required="true"
v-model="$parent.notification.heiiOnCallTriggerId"
required="true"
autocomplete="false" autocomplete="false"
></HiddenInput> ></HiddenInput>
</div> </div>
<div class="form-text">
<i18n-t tag="p" keypath="wayToGetHeiiOnCallDetails" style="margin-top: 8px;">
<a href="https://heiioncall.com/docs" target="_blank">Heii On-Call Documentation</a>
</i18n-t>
</div>
</template> </template>
<script> <script>

View file

@ -59,61 +59,61 @@ import Splunk from "./Splunk.vue";
* @type { Record<string, any> } * @type { Record<string, any> }
*/ */
const NotificationFormList = { const NotificationFormList = {
alerta: Alerta, "alerta": Alerta,
AlertNow: AlertNow, "AlertNow": AlertNow,
AliyunSMS: AliyunSMS, "AliyunSMS": AliyunSMS,
apprise: Apprise, "apprise": Apprise,
Bark: Bark, "Bark": Bark,
clicksendsms: ClickSendSMS, "clicksendsms": ClickSendSMS,
smsc: SMSC, "smsc": SMSC,
DingDing: DingDing, "DingDing": DingDing,
discord: Discord, "discord": Discord,
Feishu: Feishu, "Feishu": Feishu,
FreeMobile: FreeMobile, "FreeMobile": FreeMobile,
GoogleChat: GoogleChat, "GoogleChat": GoogleChat,
gorush: Gorush, "gorush": Gorush,
gotify: Gotify, "gotify": Gotify,
GrafanaOncall: GrafanaOncall, "GrafanaOncall": GrafanaOncall,
HomeAssistant: HomeAssistant, "HomeAssistant": HomeAssistant,
HeiiOnCall: HeiiOnCall, "HeiiOnCall": HeiiOnCall,
Kook: Kook, "Kook": Kook,
line: Line, "line": Line,
LineNotify: LineNotify, "LineNotify": LineNotify,
lunasea: LunaSea, "lunasea": LunaSea,
matrix: Matrix, "matrix": Matrix,
mattermost: Mattermost, "mattermost": Mattermost,
nostr: Nostr, "nostr": Nostr,
ntfy: Ntfy, "ntfy": Ntfy,
octopush: Octopush, "octopush": Octopush,
OneBot: OneBot, "OneBot": OneBot,
Opsgenie: Opsgenie, "Opsgenie": Opsgenie,
PagerDuty: PagerDuty, "PagerDuty": PagerDuty,
FlashDuty: FlashDuty, "FlashDuty": FlashDuty,
PagerTree: PagerTree, "PagerTree": PagerTree,
promosms: PromoSMS, "promosms": PromoSMS,
pushbullet: Pushbullet, "pushbullet": Pushbullet,
PushByTechulus: TechulusPush, "PushByTechulus": TechulusPush,
PushDeer: PushDeer, "PushDeer": PushDeer,
pushover: Pushover, "pushover": Pushover,
pushy: Pushy, "pushy": Pushy,
"rocket.chat": RocketChat, "rocket.chat": RocketChat,
serwersms: SerwerSMS, "serwersms": SerwerSMS,
signal: Signal, "signal": Signal,
SMSManager: SMSManager, "SMSManager": SMSManager,
slack: Slack, "slack": Slack,
squadcast: Squadcast, "squadcast": Squadcast,
SMSEagle: SMSEagle, "SMSEagle": SMSEagle,
smtp: STMP, "smtp": STMP,
stackfield: Stackfield, "stackfield": Stackfield,
teams: Teams, "teams": Teams,
telegram: Telegram, "telegram": Telegram,
twilio: Twilio, "twilio": Twilio,
Splunk: Splunk, "Splunk": Splunk,
webhook: Webhook, "webhook": Webhook,
WeCom: WeCom, "WeCom": WeCom,
GoAlert: GoAlert, "GoAlert": GoAlert,
ServerChan: ServerChan, "ServerChan": ServerChan,
ZohoCliq: ZohoCliq, "ZohoCliq": ZohoCliq
}; };
export default NotificationFormList; export default NotificationFormList;

View file

@ -884,5 +884,6 @@
"GrafanaOncallUrl": "Grafana Oncall URL", "GrafanaOncallUrl": "Grafana Oncall URL",
"Browser Screenshot": "Browser Screenshot", "Browser Screenshot": "Browser Screenshot",
"What is a Remote Browser?": "What is a Remote Browser?", "What is a Remote Browser?": "What is a Remote Browser?",
"Trigger ID": "Trigger ID" "Trigger ID": "Trigger ID",
} "wayToGetHeiiOnCallDetails": "To get a Heii On-Call Tigger ID and Api Token visit: {0}"
}