customize.html 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569
  1. {% extends '../layout/admin.html' %}
  2. {% block html_title %}{{ t('Customize') }} {% endblock %}
  3. {% block style_css_block %}
  4. <link rel="stylesheet" href="{{ webpack_asset('style').css }}">
  5. <link rel="stylesheet" id="jssDefault" {# append id for theme selector #} href="{{ webpack_asset('style-theme-' + theme()).css }}">
  6. {% endblock %}
  7. {% block html_additional_headers %}
  8. {% parent %}
  9. <!-- CodeMirror -->
  10. <link rel="stylesheet" href="https://cdn.jsdelivr.net/jquery.ui/1.11.4/jquery-ui.min.css">
  11. <style>
  12. .CodeMirror {
  13. border: 1px solid #eee;
  14. }
  15. </style>
  16. {% endblock %}
  17. {% block content_header %}
  18. <div class="header-wrap">
  19. <header id="page-header">
  20. <h1 class="title" id="">{{ t('Customize') }} </h1>
  21. </header>
  22. </div>
  23. {% endblock %}
  24. {% block content_main %}
  25. <div class="content-main admin-customize">
  26. {% set smessage = req.flash('successMessage') %}
  27. {% if smessage.length %}
  28. <div class="alert alert-success">
  29. {{ smessage }}
  30. </div>
  31. {% endif %}
  32. {% set emessage = req.flash('errorMessage') %}
  33. {% if emessage.length %}
  34. <div class="alert alert-danger">
  35. {{ emessage }}
  36. </div>
  37. {% endif %}
  38. <div class="row">
  39. <div class="col-md-3">
  40. {% include './widget/menu.html' with {current: 'customize'} %}
  41. </div>
  42. <div class="col-md-9">
  43. <form action="/_api/admin/customize/theme" method="post" class="form-horizontal" id="customthemeSettingForm" role="form">
  44. <fieldset>
  45. <legend>{{ t('customize_page.Theme') }}</legend>
  46. <div id="themeOptions" class="d-flex">
  47. <a id="theme-option-default" href="#"
  48. class="default {% if 'default' === settingForm['customize:theme'] %}active{% endif %}"
  49. onclick="selectTheme('default')"
  50. data-theme="{{ webpack_asset('style-theme-default').css }}">
  51. {% include 'widget/theme-colorbox.html' %}
  52. </a>
  53. <a id="theme-option-default-dark" href="#"
  54. class="default-dark {% if 'default-dark' === settingForm['customize:theme'] %}active{% endif %}"
  55. onclick="selectTheme('default-dark')"
  56. data-theme="{{ webpack_asset('style-theme-default-dark').css }}">
  57. {% include 'widget/theme-colorbox.html' %}
  58. </a>
  59. </div>
  60. <div class="form-group">
  61. <div class="col-xs-offset-5 col-xs-6">
  62. <input type="hidden" id="hiddenInputTheme" name="settingForm[customize:theme]" value="{{ settingForm['customize:theme'] }}">
  63. <input type="hidden" name="_csrf" value="{{ csrf() }}">
  64. <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
  65. </div>
  66. </div>
  67. </fieldset>
  68. </form>
  69. <form action="/_api/admin/customize/behavior" method="post" class="form-horizontal" id="cutombehaviorSettingForm" role="form">
  70. <fieldset>
  71. <legend>{{ t('customize_page.Behavior') }}</legend>
  72. {% set isBehaviorGrowi = 'growi' === settingForm['customize:behavior'] || 'crowi-plus' === settingForm['customize:behavior'] %}
  73. <div class="form-group">
  74. <div class="col-xs-6">
  75. <h4>
  76. <input type="radio" name="settingForm[customize:behavior]" value="crowi"
  77. {% if !isBehaviorGrowi %}checked="checked"{% endif %}>
  78. Official Crowi Behavior
  79. </h4>
  80. <ul>
  81. <li><code>/page</code> shows the page</li>
  82. <li><code>/page/</code> shows the list of sub pages</li>
  83. <ul>
  84. <li>If portal is applied to <code>/page/</code> , the portal and the list of sub pages are shown</li>
  85. </ul>
  86. <li><code>/nonexistent_page</code> shows editing form</li>
  87. <li><code>/nonexistent_page/</code> the list of sub pages</li>
  88. </ul>
  89. </div>
  90. <div class="col-xs-6">
  91. <h4>
  92. <input type="radio" name="settingForm[customize:behavior]" value="crowi-plus"
  93. {% if isBehaviorGrowi %}checked="checked"{% endif %}>
  94. crowi-plus Simplified Behavior <small class="text-success">(Recommended)</small>
  95. </h4>
  96. <ul>
  97. <li>Both of <code>/page</code> and <code>/page/</code> shows the same page</li>
  98. <li><code>/nonexistent_page</code> shows editing form</li>
  99. <li>All pages shows the list of sub pages when using <b>crowi-plus Enhanced Layout</b></li>
  100. </ul>
  101. </div>
  102. </div>
  103. <div class="form-group">
  104. <div class="col-xs-offset-5 col-xs-6">
  105. <input type="hidden" name="_csrf" value="{{ csrf() }}">
  106. <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
  107. </div>
  108. </div>
  109. </fieldset>
  110. </form>
  111. <form action="/_api/admin/customize/layout" method="post" class="form-horizontal" id="cutomlayoutSettingForm" role="form">
  112. <fieldset>
  113. <legend>{{ t('customize_page.Layout') }}</legend>
  114. {% set isLayoutGrowi = 'growi' === settingForm['customize:layout'] || 'crowi-plus' === settingForm['customize:layout'] %}
  115. <div class="form-group">
  116. <div class="col-xs-6">
  117. <h4>
  118. <input type="radio" name="settingForm[customize:layout]" value="crowi"
  119. {% if !isLayoutGrowi %}checked="checked"{% endif %}>
  120. Official Crowi Classic Layout
  121. </h4>
  122. <a href="/images/admin/customize/layout-classic.gif" class="ss-container">
  123. <img src="/images/admin/customize/layout-classic-thumb.gif" width="240px">
  124. </a>
  125. <ul>
  126. <li>Functional</li>
  127. <ul>
  128. <li>Collapsible Sidebar</li>
  129. <li>Show and post comments in Sidebar</li>
  130. <li>Collapsible Table-of-contents</li>
  131. </ul>
  132. </ul>
  133. </div>
  134. <div class="col-xs-6">
  135. <h4>
  136. <input type="radio" name="settingForm[customize:layout]" value="crowi-plus"
  137. {% if isLayoutGrowi %}checked="checked"{% endif %}>
  138. crowi-plus Enhanced Layout <small class="text-success">(Recommended)</small>
  139. </h4>
  140. <a href="/images/admin/customize/layout-crowi-plus.gif" class="ss-container">
  141. <img src="/images/admin/customize/layout-crowi-plus-thumb.gif" width="240px">
  142. </a>
  143. <ul>
  144. <li>Simple and Clear</li>
  145. <ul>
  146. <li>Show and post comments from the bottom of the page</li>
  147. <li>Affix Table-of-contents</li>
  148. </ul>
  149. </ul>
  150. </div>
  151. </div>
  152. <div class="form-group">
  153. <div class="col-xs-offset-5 col-xs-6">
  154. <input type="hidden" name="_csrf" value="{{ csrf() }}">
  155. <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
  156. </div>
  157. </div>
  158. </fieldset>
  159. </form>
  160. <form action="/_api/admin/customize/features" method="post" class="form-horizontal" id="customfeaturesSettingForm" role="form">
  161. <fieldset>
  162. <legend>{{ t('customize_page.Function') }}</legend>
  163. <p class="well">{{ t("customize_page.function_choose") }}</p>
  164. <div class="form-group">
  165. <label for="settingForm[customize:isEnabledTimeline]" class="col-xs-3 control-label">{{ t('customize_page.Timeline function') }}</label>
  166. <div class="col-xs-9">
  167. <div class="btn-group btn-toggle" data-toggle="buttons">
  168. <label class="btn btn-default btn-rounded btn-outline {% if settingForm['customize:isEnabledTimeline'] %}active{% endif %}" data-active-class="primary">
  169. <input name="settingForm[customize:isEnabledTimeline]" value="true" type="radio"
  170. {% if true === settingForm['customize:isEnabledTimeline'] %}checked{% endif %}> ON
  171. </label>
  172. <label class="btn btn-default btn-rounded btn-outline {% if !settingForm['customize:isEnabledTimeline'] %}active{% endif %}" data-active-class="default">
  173. <input name="settingForm[customize:isEnabledTimeline]" value="false" type="radio"
  174. {% if !settingForm['customize:isEnabledTimeline'] %}checked{% endif %}> OFF
  175. </label>
  176. </div>
  177. <p class="help-block">
  178. {{ t("customize_page.subpage_display") }}
  179. </p>
  180. <p class="help-block">
  181. {{ t("customize_page.performance_decrease") }}<br>
  182. {{ t("customize_page.list_page_display") }}
  183. </p>
  184. </div>
  185. </div>
  186. <div class="form-group">
  187. <label for="settingForm[customize:isSavedStatesOfTabChanges]" class="col-xs-3 control-label">{{ t("customize_page.tab_switch") }}</label>
  188. <div class="col-xs-9">
  189. <div class="btn-group btn-toggle" data-toggle="buttons">
  190. <label class="btn btn-default btn-rounded btn-outline {% if settingForm['customize:isSavedStatesOfTabChanges'] %}active{% endif %}" data-active-class="primary">
  191. <input name="settingForm[customize:isSavedStatesOfTabChanges]" value="true" type="radio"
  192. {% if true === settingForm['customize:isSavedStatesOfTabChanges'] %}checked{% endif %}> ON
  193. </label>
  194. <label class="btn btn-default btn-rounded btn-outline {% if !settingForm['customize:isSavedStatesOfTabChanges'] %}active{% endif %}" data-active-class="default">
  195. <input name="settingForm[customize:isSavedStatesOfTabChanges]" value="false" type="radio"
  196. {% if !settingForm['customize:isSavedStatesOfTabChanges'] %}checked{% endif %}> OFF
  197. </label>
  198. </div>
  199. <p class="help-block">
  200. {{ t("customize_page.save_edit") }}<br>
  201. {{ t("customize_page.by_invalidating") }}
  202. </p>
  203. </div>
  204. </div>
  205. <div class="form-group">
  206. <div class="col-xs-offset-3 col-xs-6">
  207. <input type="hidden" name="_csrf" value="{{ csrf() }}">
  208. <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
  209. </div>
  210. </div>
  211. </fieldset>
  212. </form>
  213. <form action="/_api/admin/customize/highlightJsStyle" method="post" class="form-horizontal" id="cutomhighlightJsStyleSettingForm" role="form">
  214. <fieldset>
  215. <legend>{{ t('customize_page.Code Highlight') }}</legend>
  216. <div class="form-group">
  217. <label for="settingForm[customize:highlightJsStyle]" class="col-xs-3 control-label">{{ t('customize_page.Theme') }}</label>
  218. <div class="col-xs-9">
  219. <select class="form-control selectpicker" name="settingForm[customize:highlightJsStyle]" onChange="selectHighlightJsStyle(event)">
  220. {% for key in Object.keys(highlightJsCssSelectorOptions) %}
  221. <option value={{key}} {% if key == highlightJsStyle() %} selected {% endif %}>{{highlightJsCssSelectorOptions[key].name}}</option>
  222. {% endfor %}
  223. </select>
  224. </div>
  225. </div>
  226. <div class="form-group">
  227. <label for="settingForm[customize:highlightJsStyleBorder]" class="col-xs-3 control-label">(TBD) Border</label>
  228. <div class="col-xs-9">
  229. <div class="btn-group btn-toggle" data-toggle="buttons">
  230. <label class="btn btn-default btn-rounded btn-outline {% if settingForm['customize:highlightJsStyleBorder'] %}active{% endif %}" data-active-class="primary">
  231. <input name="settingForm[customize:highlightJsStyleBorder]" value="true" type="radio"
  232. {% if true === settingForm['customize:highlightJsStyleBorder'] %}checked{% endif %}> ON
  233. </label>
  234. <label class="btn btn-default btn-rounded btn-outline {% if !settingForm['customize:highlightJsStyleBorder'] %}active{% endif %}" data-active-class="default">
  235. <input name="settingForm[customize:highlightJsStyleBorder]" value="false" type="radio"
  236. {% if !settingForm['customize:highlightJsStyleBorder'] %}checked{% endif %}> OFF
  237. </label>
  238. </div>
  239. </div>
  240. </div>
  241. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/highlight.js@9.12.0/styles/{{ highlightJsStyle() }}.css" class="highlightJsCss">
  242. <p class="help-block">
  243. Examples:
  244. <pre class="hljs"><code class="highlightjs-demo">function $initHighlight(block, cls) {
  245. try {
  246. if (cls.search(/\bno\-highlight\b/) != -1)
  247. return process(block, true, 0x0F) +
  248. ` class="${cls}"`;
  249. } catch (e) {
  250. /* handle exception */
  251. }
  252. for (var i = 0 / 2; i < classes.length; i++) {
  253. if (checkCondition(classes[i]) === undefined)
  254. console.log('undefined');
  255. }
  256. }
  257. export $initHighlight;</code></pre>
  258. </p>
  259. <div class="form-group">
  260. <div class="col-xs-offset-5 col-xs-6">
  261. <input type="hidden" name="_csrf" value="{{ csrf() }}">
  262. <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
  263. </div>
  264. </div>
  265. </fieldset>
  266. </form>
  267. <form action="/_api/admin/customize/header" method="post" class="form-horizontal" id="cutomheaderSettingForm" role="form">
  268. <fieldset>
  269. <legend>カスタムヘッダーHTML</legend>
  270. <p class="well">
  271. システム全体に適用される HTML を記述できます。<code>&lt;header&gt;</code> タグ内の他の <code>&lt;script&gt;</code> タグ読み込み前に展開されます。<br>
  272. 変更の反映はページの更新が必要です。
  273. </p>
  274. <p class="help-block">
  275. Examples:
  276. <pre class="hljs"><code>&lt;script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.12.0/build/languages/yaml.min.js" defer&gt;&lt;/script&gt;</code></pre>
  277. </p>
  278. <div class="form-group">
  279. <div class="col-xs-12">
  280. <div id="custom-header-editor"></div>
  281. <input type="hidden" id="inputCustomHeader" name="settingForm[customize:header]" value="{{ settingForm['customize:header'] }}">
  282. </div>
  283. <div class="col-xs-12">
  284. <p class="help-block text-right">
  285. <i class="fa fa-fw fa-keyboard-o" aria-hidden="true"></i>
  286. Ctrl+Space でコード補完
  287. </p>
  288. </div>
  289. </div>
  290. <div class="form-group">
  291. <div class="col-xs-offset-5 col-xs-6">
  292. <input type="hidden" name="_csrf" value="{{ csrf() }}">
  293. <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
  294. </div>
  295. </div>
  296. </fieldset>
  297. </form>
  298. <form action="/_api/admin/customize/title" method="post" class="form-horizontal" id="customtitleSettingForm" role="form">
  299. <fieldset>
  300. <legend>カスタムヘッダーTitle</legend>
  301. <p class="well">
  302. ヘッダーの&lt;title&gt;タグのコンテンツをカスタムできる。サイト名を入れたい位置に、&#123;&#123;sitename&#125;&#125;
  303. パスを入れたい位置に&#123;&#123;path&#125;&#125;を置くことでそれぞれの値に自動置換されます。それ以外の部分は自由に記述して下さい。<br>
  304. </p>
  305. <p class="help-block">
  306. Examples:
  307. <pre><code>&#123;&#123;sitename&#125;&#125; hoge - &#123;&#123;path&#125;&#125;</code></pre>
  308. </p>
  309. <p class="help-block">
  310. Output:
  311. <pre><code>&lt;title&gt;GROWI hoge - /xxx/yyy/zzz/Sandbox&lt;&#047;title&gt;</code></pre>
  312. </p>
  313. <div class="form-group">
  314. <div class="col-xs-12">
  315. <div id="custom-title-editor"></div>
  316. <input type="hidden" id="inputCustomTitle" name="settingForm[customize:title]" value="{{ settingForm['customize:title'] }}">
  317. </div>
  318. <div class="col-xs-12">
  319. <p class="help-block text-right">
  320. <i class="fa fa-fw fa-keyboard-o" aria-hidden="true"></i>
  321. Ctrl+Space でコード補完
  322. </p>
  323. </div>
  324. </div>
  325. <div class="form-group">
  326. <div class="col-xs-offset-5 col-xs-6">
  327. <input type="hidden" name="_csrf" value="{{ csrf() }}">
  328. <button type="submit" class="btn btn-primary">更新</button>
  329. </div>
  330. </div>
  331. </fieldset>
  332. </form>
  333. <form action="/_api/admin/customize/css" method="post" class="form-horizontal" id="cutomcssSettingForm" role="form">
  334. <fieldset>
  335. <legend>{{ t('customize_page.Custom CSS') }}</legend>
  336. <p class="well">
  337. {{ t("customize_page.write_CSS") }}<br>
  338. {{ t("customize_page.reflect_change") }}
  339. </p>
  340. <div class="form-group">
  341. <div class="col-xs-12">
  342. <div id="custom-css-editor"></div>
  343. <input type="hidden" id="inputCustomCss" name="settingForm[customize:css]" value="{{ settingForm['customize:css'] }}">
  344. </div>
  345. <div class="col-xs-12">
  346. <p class="help-block text-right">
  347. <i class="fa fa-fw fa-keyboard-o" aria-hidden="true"></i>
  348. {{ t("customize_page.ctrl_space") }}
  349. </p>
  350. </div>
  351. </div>
  352. <div class="form-group">
  353. <div class="col-xs-offset-5 col-xs-6">
  354. <input type="hidden" name="_csrf" value="{{ csrf() }}">
  355. <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
  356. </div>
  357. </div>
  358. </fieldset>
  359. </form>
  360. <form action="/_api/admin/customize/script" method="post" class="form-horizontal" id="cutomscriptSettingForm" role="form">
  361. <fieldset>
  362. <legend>{{ t('customize_page.Custom script') }}</legend>
  363. <p class="well">
  364. {{ t("customize_page.write_java") }}<br>
  365. {{ t("customize_page.reflect_change") }}
  366. </p>
  367. <p class="help-block">
  368. Placeholders:<br>
  369. (Available after <code>load</code> event)
  370. <dl class="dl-horizontal">
  371. <dt><code>$</code></dt>
  372. <dd>jQuery instance</dd>
  373. <dt><code>crowi</code></dt>
  374. <dd>Crowi context instance</dd>
  375. <dt><code>Crowi</code></dt>
  376. <dd>Crowi legacy instance (jQuery based)</dd>
  377. <dt><code>crowiRenderer</code></dt>
  378. <dd>Crowi Renderer instance</dd>
  379. <dt><code>crowiPlugin</code></dt>
  380. <dd>GROWI plugin manager instance</dd>
  381. </dl>
  382. </p>
  383. <p class="help-block">
  384. Examples:
  385. <pre class="hljs"><code>console.log($('.main-container'));
  386. window.addEventListener('load', (event) => {
  387. console.log('config: ', crowi.config);
  388. });</code></pre>
  389. </p>
  390. <div class="form-group">
  391. <div class="col-xs-12">
  392. <div id="custom-script-editor"></div>
  393. <input type="hidden" id="inputCustomScript" name="settingForm[customize:script]" value="{{ settingForm['customize:script'] }}">
  394. </div>
  395. <div class="col-xs-12">
  396. <p class="help-block text-right">
  397. <i class="fa fa-fw fa-keyboard-o" aria-hidden="true"></i>
  398. {{ t("customize_page.ctrl_space") }}
  399. </p>
  400. </div>
  401. </div>
  402. <div class="form-group">
  403. <div class="col-xs-offset-5 col-xs-6">
  404. <input type="hidden" name="_csrf" value="{{ csrf() }}">
  405. <button type="submit" class="btn btn-primary">{{ t('Update') }}</button>
  406. </div>
  407. </div>
  408. </fieldset>
  409. </form>
  410. </div>
  411. </div>
  412. {% endblock content_main %}
  413. {% block body_end %}
  414. {% parent %}
  415. <script>
  416. $(`#customthemeSettingForm, #cutomlayoutSettingForm, #cutombehaviorSettingForm, #cutomhighlightJsStyleSettingForm,
  417. #customfeaturesSettingForm, #cutomheaderSettingForm, #cutomcssSettingForm, #cutomscriptSettingForm, #customtitleSettingForm`
  418. ).each(function() {
  419. $(this).submit(function()
  420. {
  421. function showMessage(formId, msg, status) {
  422. $('#' + formId + ' .alert').remove();
  423. if (!status) {
  424. status = 'success';
  425. }
  426. var $message = $('<p class="alert"></p>');
  427. $message.addClass('alert-' + status);
  428. $message.html(msg.replace('\n', '<br>'));
  429. $message.insertAfter('#' + formId + ' legend');
  430. if (status == 'success') {
  431. setTimeout(function()
  432. {
  433. $message.fadeOut({
  434. complete: function() {
  435. $message.remove();
  436. }
  437. });
  438. }, 5000);
  439. }
  440. }
  441. var $form = $(this);
  442. var $id = $form.attr('id');
  443. var $button = $('button', this);
  444. $button.attr('disabled', 'disabled');
  445. var jqxhr = $.post($form.attr('action'), $form.serialize(), function(data)
  446. {
  447. if (data.status) {
  448. showMessage($id, '更新しました');
  449. } else {
  450. showMessage($id, data.message, 'danger');
  451. }
  452. })
  453. .fail(function() {
  454. showMessage($id, 'エラーが発生しました', 'danger');
  455. })
  456. .always(function() {
  457. $button.prop('disabled', false);
  458. });
  459. return false;
  460. });
  461. });
  462. /*
  463. * highlight.js style switcher
  464. */
  465. hljs.initHighlightingOnLoad()
  466. function selectHighlightJsStyle(event) {
  467. var highlightJsCssDOM = $(".highlightJsCss")[0]
  468. // selected value
  469. var val = event.target.value
  470. // replace css url
  471. // see https://regex101.com/r/gBNZYu/4
  472. highlightJsCssDOM.href = highlightJsCssDOM.href.replace(/[^/]+\.css$/, `${val}.css`);
  473. }
  474. /*
  475. * Theme Selector
  476. */
  477. options = {
  478. hasPreview: false,
  479. fullPath: '',
  480. cookie: {
  481. isManagingLoad: false
  482. }
  483. };
  484. $(document).ready(function() {
  485. $('#themeOptions').styleSwitcher(options);
  486. });
  487. function selectTheme(theme) {
  488. // update hidden
  489. $('#hiddenInputTheme').val(theme);
  490. // update .active class
  491. $('#themeOptions .active').removeClass('active');
  492. $(`#themeOptions #theme-option-${theme}`).addClass('active');
  493. }
  494. </script>
  495. </div>
  496. {% endblock %}
  497. {% block content_footer %}
  498. {% endblock content_footer %}