|
@@ -1,6 +1,5 @@
|
|
|
import React, { useState } from 'react';
|
|
import React, { useState } from 'react';
|
|
|
import { useTranslation } from 'react-i18next';
|
|
import { useTranslation } from 'react-i18next';
|
|
|
-import AdminUpdateButtonRow from '../Common/AdminUpdateButtonRow';
|
|
|
|
|
import Accordion from '../Common/Accordion';
|
|
import Accordion from '../Common/Accordion';
|
|
|
|
|
|
|
|
const CustomBotWithProxySettingsAccordion = () => {
|
|
const CustomBotWithProxySettingsAccordion = () => {
|
|
@@ -143,27 +142,18 @@ const CustomBotWithProxySettingsAccordion = () => {
|
|
|
<Accordion
|
|
<Accordion
|
|
|
title={<><span className="mr-2">④</span>{t('admin:slack_integration.accordion.set_proxy_url_on_growi')}</>}
|
|
title={<><span className="mr-2">④</span>{t('admin:slack_integration.accordion.set_proxy_url_on_growi')}</>}
|
|
|
>
|
|
>
|
|
|
- <div className="p-4">
|
|
|
|
|
- <p
|
|
|
|
|
- className="text-center"
|
|
|
|
|
- // eslint-disable-next-line react/no-danger
|
|
|
|
|
- dangerouslySetInnerHTML={{ __html: t('admin:slack_integration.accordion.enter_proxy_url_and_update') }}
|
|
|
|
|
- />
|
|
|
|
|
- <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 className="p-4 d-flex flex-column align-items-center">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <span
|
|
|
|
|
+ // eslint-disable-next-line react/no-danger
|
|
|
|
|
+ dangerouslySetInnerHTML={{ __html: t('admin:slack_integration.accordion.enter_proxy_url_and_update') }}
|
|
|
|
|
+ />
|
|
|
|
|
+ <p className="text-danger">{t('admin:slack_integration.accordion.dont_need_update')}</p>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ {/* TODO: Insert photo */}
|
|
|
|
|
+ <div className="rounded border w-50 d-flex justify-content-center align-items-center" style={{ height: '15rem' }}>
|
|
|
|
|
+ <h1 className="text-muted">参考画像</h1>
|
|
|
</div>
|
|
</div>
|
|
|
- <AdminUpdateButtonRow
|
|
|
|
|
- disabled={false}
|
|
|
|
|
- // TODO: Add Proxy URL submit logic
|
|
|
|
|
- // eslint-disable-next-line no-console
|
|
|
|
|
- onClick={() => console.log('Update')}
|
|
|
|
|
- />
|
|
|
|
|
</div>
|
|
</div>
|
|
|
</Accordion>
|
|
</Accordion>
|
|
|
<Accordion
|
|
<Accordion
|