|
@@ -1,6 +1,7 @@
|
|
|
import React from 'react';
|
|
import React from 'react';
|
|
|
import { useTranslation } from 'react-i18next';
|
|
import { useTranslation } from 'react-i18next';
|
|
|
import Accordion from '../Common/Accordion';
|
|
import Accordion from '../Common/Accordion';
|
|
|
|
|
+import AdminUpdateButtonRow from '../Common/AdminUpdateButtonRow';
|
|
|
|
|
|
|
|
const OfficialBotSettingsAccordion = () => {
|
|
const OfficialBotSettingsAccordion = () => {
|
|
|
const { t } = useTranslation();
|
|
const { t } = useTranslation();
|
|
@@ -22,8 +23,23 @@ const OfficialBotSettingsAccordion = () => {
|
|
|
<Accordion
|
|
<Accordion
|
|
|
title={<><span className="mr-2">③</span>{t('admin:slack_integration.accordion.register_proxy_url')}</>}
|
|
title={<><span className="mr-2">③</span>{t('admin:slack_integration.accordion.register_proxy_url')}</>}
|
|
|
>
|
|
>
|
|
|
- {/* TODO: GW-5824 add accordion contents */}
|
|
|
|
|
- hoge
|
|
|
|
|
|
|
+ <div className="p-4">
|
|
|
|
|
+ <p className="text-center">Slack上に通知された<b>Proxy URL</b>を入力し、更新してください。</p>
|
|
|
|
|
+ <div className="form-group row my-4">
|
|
|
|
|
+ <label className="text-left text-md-right col-md-3 col-form-label">Proxy URL</label>
|
|
|
|
|
+ <div className="col-md-6">
|
|
|
|
|
+ <input
|
|
|
|
|
+ className="form-control"
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <AdminUpdateButtonRow
|
|
|
|
|
+ disabled={false}
|
|
|
|
|
+ // TODO: Add Proxy URL submit logic
|
|
|
|
|
+ onClick={() => console.log('Update')}
|
|
|
|
|
+ />
|
|
|
|
|
+ </div>
|
|
|
</Accordion>
|
|
</Accordion>
|
|
|
<Accordion
|
|
<Accordion
|
|
|
title={<><span className="mr-2">④</span>{t('admin:slack_integration.accordion.test_connection')}</>}
|
|
title={<><span className="mr-2">④</span>{t('admin:slack_integration.accordion.test_connection')}</>}
|