CustomizeLayoutSetting.jsx 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. import React from 'react';
  2. class CustomizeLayoutSetting extends React.Component {
  3. render() {
  4. return (
  5. <form>
  6. <div className="col-sm-4">
  7. <h4>
  8. <div className="radio radio-primary">
  9. <input type="radio" id="radioLayoutGrowi" name="settingForm[customize:layout]" value="growi" onClick="selectableTheme(event)" />
  10. <label htmlFor="radioLayoutGrowi">
  11. GROWI Enhanced Layout <small className="text-success">(Recommended)</small>
  12. </label>
  13. </div>
  14. </h4>
  15. <a href="/images/admin/customize/layout-crowi-plus.gif" className="ss-container">
  16. <img src="/images/admin/customize/layout-crowi-plus-thumb.gif" width="240px" />
  17. </a>
  18. <h4>Simple and Clear</h4>
  19. <ul>
  20. {/* TODO i18n */}
  21. <li>Full screen layout and thin margins/paddings</li>
  22. <li>Show and post comments at the bottom of the page</li>
  23. <li>Affix Table-of-contents</li>
  24. </ul>
  25. </div>
  26. <div className="col-sm-4">
  27. <h4>
  28. <div className="radio radio-primary">
  29. <input type="radio" id="radioLayoutKibela" name="settingForm[customize:layout]" value="kibela" onClick="selectableTheme(event)" />
  30. <label htmlFor="radioLayoutKibela">
  31. Kibela Like Layout
  32. </label>
  33. </div>
  34. </h4>
  35. <a href="/images/admin/customize/layout-kibela.gif" className="ss-container">
  36. <img src="/images/admin/customize/layout-kibela-thumb.gif" width="240px" />
  37. </a>
  38. <h4>Easy Viewing Structure</h4>
  39. <ul>
  40. {/* TODO i18n */}
  41. <li>Center aligned contents</li>
  42. <li>Show and post comments at the bottom of the page</li>
  43. <li>Affix Table-of-contents</li>
  44. </ul>
  45. </div>
  46. <div className="col-sm-4">
  47. <h4>
  48. <div className="radio radio-primary">
  49. <input type="radio" id="radioLayoutCrowi" name="settingForm[customize:layout]" value="crowi" onClick="selectableTheme(event)" />
  50. <label htmlFor="radioLayoutCrowi">
  51. Crowi Classic Layout
  52. </label>
  53. </div>
  54. </h4>
  55. <a href="/images/admin/customize/layout-classic.gif" className="ss-container">
  56. <img src="/images/admin/customize/layout-classic-thumb.gif" width="240px" />
  57. </a>
  58. <h4>Separated Functions</h4>
  59. <ul>
  60. {/* TODO i18n */}
  61. <li>Collapsible Sidebar</li>
  62. <li>Show and post comments in Sidebar</li>
  63. <li>Collapsible Table-of-contents</li>
  64. </ul>
  65. </div>
  66. </form>
  67. );
  68. }
  69. }
  70. export default CustomizeLayoutSetting;