|
|
@@ -7,6 +7,8 @@ const CustomBotWithoutSettingsAccordion = () => {
|
|
|
const [currentOpenAccordionIndex, setCurrentOpenAccordionIndex] = useState(0);
|
|
|
|
|
|
return (
|
|
|
+
|
|
|
+
|
|
|
<div className="accordion my-5" id="withoutProxySettingsAccordion">
|
|
|
|
|
|
<div className="card mb-0">
|
|
|
@@ -17,47 +19,18 @@ const CustomBotWithoutSettingsAccordion = () => {
|
|
|
className="btn btn-link btn-block d-flex justify-content-between text-decoration-none"
|
|
|
type="button"
|
|
|
onClick={() => setCurrentOpenAccordionIndex(0)}
|
|
|
+ data-toggle="collapse"
|
|
|
+ data-target="#collapseOne"
|
|
|
>
|
|
|
① Botを作成する
|
|
|
{currentOpenAccordionIndex === 0
|
|
|
- ? <i className="fa fa-chevron-down"></i>
|
|
|
- : <i className="fa fa-chevron-up"></i>}
|
|
|
+ ? <i className="fa fa-chevron-down"></i>
|
|
|
+ : <i className="fa fa-chevron-up"></i>}
|
|
|
</button>
|
|
|
</h2>
|
|
|
</div>
|
|
|
|
|
|
<div id="collapseOne" className={`collapse ${currentOpenAccordionIndex === 0 ? 'show' : ''}`}>
|
|
|
- <div className="card-body">
|
|
|
- <div className="row my-5">
|
|
|
- <div className="mx-auto">
|
|
|
- <button type="button" className="btn btn-primary text-nowrap mx-1" onClick={() => window.open('https://api.slack.com/apps', '_blank')}>
|
|
|
- {t('slack_integration.without_proxy.create_bot')}
|
|
|
- </button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
- </div>
|
|
|
-
|
|
|
- <div className="card mb-0">
|
|
|
-
|
|
|
- <div className="card-header" id="headingTwo">
|
|
|
- <h2 className="mb-0">
|
|
|
- <button
|
|
|
- className="btn btn-link btn-block d-flex justify-content-between text-decoration-none"
|
|
|
- type="button"
|
|
|
- onClick={() => setCurrentOpenAccordionIndex(1)}
|
|
|
- >
|
|
|
- ② BotをSlackにインストールする
|
|
|
- {currentOpenAccordionIndex === 1
|
|
|
- ? <i className="fa fa-chevron-down"></i>
|
|
|
- : <i className="fa fa-chevron-up"></i>}
|
|
|
- </button>
|
|
|
- </h2>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div id="collapseTwo" className={`collapse ${currentOpenAccordionIndex === 1 ? 'show' : ''}`}>
|
|
|
<div className="card-body">
|
|
|
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard
|
|
|
dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla
|
|
|
@@ -71,22 +44,24 @@ const CustomBotWithoutSettingsAccordion = () => {
|
|
|
|
|
|
<div className="card mb-0">
|
|
|
|
|
|
- <div className="card-header" id="headingThree">
|
|
|
+ <div className="card-header" id="headingTwo">
|
|
|
<h2 className="mb-0">
|
|
|
<button
|
|
|
className="btn btn-link btn-block d-flex justify-content-between text-decoration-none"
|
|
|
type="button"
|
|
|
- onClick={() => setCurrentOpenAccordionIndex(2)}
|
|
|
+ // onClick={() => setCurrentOpenAccordionIndex(1)}
|
|
|
+ data-toggle="collapse"
|
|
|
+ data-target="#collapseTwo"
|
|
|
>
|
|
|
- ③ Signing SecretとBot Tokenを登録する
|
|
|
- {currentOpenAccordionIndex === 2
|
|
|
- ? <i className="fa fa-chevron-down"></i>
|
|
|
- : <i className="fa fa-chevron-up"></i>}
|
|
|
+ ② BotをSlackにインストールする
|
|
|
+ {currentOpenAccordionIndex === 1
|
|
|
+ ? <i className="fa fa-chevron-down"></i>
|
|
|
+ : <i className="fa fa-chevron-up"></i>}
|
|
|
</button>
|
|
|
</h2>
|
|
|
</div>
|
|
|
|
|
|
- <div id="collapseThree" className={`collapse ${currentOpenAccordionIndex === 2 ? 'show' : ''}`}>
|
|
|
+ <div id="collapseTwo" className={`collapse ${currentOpenAccordionIndex === 1 ? 'show' : ''}`}>
|
|
|
<div className="card-body">
|
|
|
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard
|
|
|
dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla
|
|
|
@@ -98,35 +73,13 @@ const CustomBotWithoutSettingsAccordion = () => {
|
|
|
|
|
|
</div>
|
|
|
|
|
|
- <div className="card mb-0">
|
|
|
-
|
|
|
- <div className="card-header" id="headingFour">
|
|
|
- <h2 className="mb-0">
|
|
|
- <button
|
|
|
- className="btn btn-link btn-block d-flex justify-content-between text-decoration-none"
|
|
|
- type="button"
|
|
|
- onClick={() => setCurrentOpenAccordionIndex(3)}
|
|
|
- >
|
|
|
- ④ 連携状況のテストをする
|
|
|
- {currentOpenAccordionIndex === 3
|
|
|
- ? <i className="fa fa-chevron-down"></i>
|
|
|
- : <i className="fa fa-chevron-up"></i>}
|
|
|
- </button>
|
|
|
- </h2>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div id="collapseFour" className={`collapse ${currentOpenAccordionIndex === 3 ? 'show' : ''}`}>
|
|
|
- <div className="card-body">
|
|
|
- Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard
|
|
|
- dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla
|
|
|
- assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur
|
|
|
- butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably havent heard of them accusamus
|
|
|
- labore sustainable VHS.
|
|
|
- </div>
|
|
|
+ {/* <div className="row my-5">
|
|
|
+ <div className="mx-auto">
|
|
|
+ <button type="button" className="btn btn-primary text-nowrap mx-1" onClick={() => window.open('https://api.slack.com/apps', '_blank')}>
|
|
|
+ {t('slack_integration.without_proxy.create_bot')}
|
|
|
+ </button>
|
|
|
</div>
|
|
|
-
|
|
|
- </div>
|
|
|
-
|
|
|
+ </div> */}
|
|
|
</div>
|
|
|
|
|
|
);
|