|
@@ -15,50 +15,56 @@ class CustomizeLayoutOptions extends React.Component {
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
<React.Fragment>
|
|
<React.Fragment>
|
|
|
- <CustomizeLayoutOption
|
|
|
|
|
- layoutType="crowi-plus"
|
|
|
|
|
- isSelected={adminCustomizeContainer.state.currentLayout === 'growi'}
|
|
|
|
|
- onSelected={() => adminCustomizeContainer.switchLayoutType('growi')}
|
|
|
|
|
- labelHtml={'GROWI Enhanced Layout <small class="text-success">(Recommended)</small>'}
|
|
|
|
|
- >
|
|
|
|
|
- {/* TODO i18n */}
|
|
|
|
|
- <h4>Simple and Clear</h4>
|
|
|
|
|
- <ul>
|
|
|
|
|
- <li>Full screen layout and thin margins/paddings</li>
|
|
|
|
|
- <li>Show and post comments at the bottom of the page</li>
|
|
|
|
|
- <li>Affix Table-of-contents</li>
|
|
|
|
|
- </ul>
|
|
|
|
|
- </CustomizeLayoutOption>
|
|
|
|
|
|
|
+ <div className="col-sm-4">
|
|
|
|
|
+ <CustomizeLayoutOption
|
|
|
|
|
+ layoutType="crowi-plus"
|
|
|
|
|
+ isSelected={adminCustomizeContainer.state.currentLayout === 'growi'}
|
|
|
|
|
+ onSelected={() => adminCustomizeContainer.switchLayoutType('growi')}
|
|
|
|
|
+ labelHtml={'GROWI Enhanced Layout <small class="text-success">(Recommended)</small>'}
|
|
|
|
|
+ >
|
|
|
|
|
+ {/* TODO i18n */}
|
|
|
|
|
+ <h4>Simple and Clear</h4>
|
|
|
|
|
+ <ul>
|
|
|
|
|
+ <li>Full screen layout and thin margins/paddings</li>
|
|
|
|
|
+ <li>Show and post comments at the bottom of the page</li>
|
|
|
|
|
+ <li>Affix Table-of-contents</li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </CustomizeLayoutOption>
|
|
|
|
|
+ </div>
|
|
|
|
|
|
|
|
- <CustomizeLayoutOption
|
|
|
|
|
- layoutType="kibela"
|
|
|
|
|
- isSelected={adminCustomizeContainer.state.currentLayout === 'kibela'}
|
|
|
|
|
- onSelected={() => adminCustomizeContainer.switchLayoutType('kibela')}
|
|
|
|
|
- labelHtml="Kibela Like Layout"
|
|
|
|
|
- >
|
|
|
|
|
- {/* TODO i18n */}
|
|
|
|
|
- <h4>Easy Viewing Structure</h4>
|
|
|
|
|
- <ul>
|
|
|
|
|
- <li>Center aligned contents</li>
|
|
|
|
|
- <li>Show and post comments at the bottom of the page</li>
|
|
|
|
|
- <li>Affix Table-of-contents</li>
|
|
|
|
|
- </ul>
|
|
|
|
|
- </CustomizeLayoutOption>
|
|
|
|
|
|
|
+ <div className="col-sm-4">
|
|
|
|
|
+ <CustomizeLayoutOption
|
|
|
|
|
+ layoutType="kibela"
|
|
|
|
|
+ isSelected={adminCustomizeContainer.state.currentLayout === 'kibela'}
|
|
|
|
|
+ onSelected={() => adminCustomizeContainer.switchLayoutType('kibela')}
|
|
|
|
|
+ labelHtml="Kibela Like Layout"
|
|
|
|
|
+ >
|
|
|
|
|
+ {/* TODO i18n */}
|
|
|
|
|
+ <h4>Easy Viewing Structure</h4>
|
|
|
|
|
+ <ul>
|
|
|
|
|
+ <li>Center aligned contents</li>
|
|
|
|
|
+ <li>Show and post comments at the bottom of the page</li>
|
|
|
|
|
+ <li>Affix Table-of-contents</li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </CustomizeLayoutOption>
|
|
|
|
|
+ </div>
|
|
|
|
|
|
|
|
- <CustomizeLayoutOption
|
|
|
|
|
- layoutType="classic"
|
|
|
|
|
- isSelected={adminCustomizeContainer.state.currentLayout === 'crowi'}
|
|
|
|
|
- onSelected={() => adminCustomizeContainer.switchLayoutType('crowi')}
|
|
|
|
|
- labelHtml="Crowi Classic Layout"
|
|
|
|
|
- >
|
|
|
|
|
- {/* TODO i18n */}
|
|
|
|
|
- <h4>Separated Functions</h4>
|
|
|
|
|
- <ul>
|
|
|
|
|
- <li>Collapsible Sidebar</li>
|
|
|
|
|
- <li>Show and post comments in Sidebar</li>
|
|
|
|
|
- <li>Collapsible Table-of-contents</li>
|
|
|
|
|
- </ul>
|
|
|
|
|
- </CustomizeLayoutOption>
|
|
|
|
|
|
|
+ <div className="col-sm-4">
|
|
|
|
|
+ <CustomizeLayoutOption
|
|
|
|
|
+ layoutType="classic"
|
|
|
|
|
+ isSelected={adminCustomizeContainer.state.currentLayout === 'crowi'}
|
|
|
|
|
+ onSelected={() => adminCustomizeContainer.switchLayoutType('crowi')}
|
|
|
|
|
+ labelHtml="Crowi Classic Layout"
|
|
|
|
|
+ >
|
|
|
|
|
+ {/* TODO i18n */}
|
|
|
|
|
+ <h4>Separated Functions</h4>
|
|
|
|
|
+ <ul>
|
|
|
|
|
+ <li>Collapsible Sidebar</li>
|
|
|
|
|
+ <li>Show and post comments in Sidebar</li>
|
|
|
|
|
+ <li>Collapsible Table-of-contents</li>
|
|
|
|
|
+ </ul>
|
|
|
|
|
+ </CustomizeLayoutOption>
|
|
|
|
|
+ </div>
|
|
|
</React.Fragment>
|
|
</React.Fragment>
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|