[NEW] Home button on sidebar (#17052)

pull/17075/head
gabriellsh 5 years ago committed by GitHub
parent c213684abc
commit c7623476ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/lib/server/startup/settings.js
  2. 7
      app/ui-master/public/icons.svg
  3. 4
      app/ui-master/public/icons/game.svg
  4. 6
      app/ui-master/public/icons/group.svg
  5. 3
      app/ui-master/public/icons/home.svg
  6. 8
      app/ui-sidenav/client/sidebarHeader.js
  7. 1
      packages/rocketchat-i18n/i18n/en.i18n.json
  8. 7
      private/public/icons.svg

@ -1295,6 +1295,10 @@ settings.addGroup('Layout', function() {
type: 'string',
public: true,
});
this.add('Layout_Show_Home_Button', true, {
type: 'boolean',
public: true,
});
this.add('Layout_Home_Body', '<p>Welcome to Rocket.Chat!</p>\n<p>The Rocket.Chat desktops apps for Windows, macOS and Linux are available to download <a title="Rocket.Chat desktop apps" href="https://rocket.chat/download" target="_blank" rel="noopener">here</a>.</p><p>The native mobile app, Rocket.Chat,\n for Android and iOS is available from <a title="Rocket.Chat on Google Play" href="https://play.google.com/store/apps/details?id=chat.rocket.android" target="_blank" rel="noopener">Google Play</a> and the <a title="Rocket.Chat on the App Store" href="https://itunes.apple.com/app/rocket-chat/id1148741252" target="_blank" rel="noopener">App Store</a>.</p>\n<p>For further help, please consult the <a title="Rocket.Chat Documentation" href="https://rocket.chat/docs/" target="_blank" rel="noopener">documentation</a>.</p>\n<p>If you\'re an admin, feel free to change this content via <strong>Administration</strong> &rarr; <strong>Layout</strong> &rarr; <strong>Home Body</strong>. Or clicking <a title="Home Body Layout" href="/admin/Layout">here</a>.</p>', {
type: 'code',
code: 'text/html',

@ -146,8 +146,8 @@
<symbol id="icon-folder" viewBox="0 0 20 20" fill="currentColor">
<path d="M7.325376,4.5 L4,4.5 C3.72385763,4.5 3.5,4.72385763 3.5,5 L3.5,15 C3.5,15.2761424 3.72385763,15.5 4,15.5 L16,15.5 C16.2761424,15.5 16.5,15.2761424 16.5,15 L16.5,7 C16.5,6.72385763 16.2761424,6.5 16,6.5 L9.316214,6.5 L7.700244,4.66913179 C7.60533058,4.56159644 7.46880685,4.5 7.325376,4.5 Z M9.992979,5 L17,5 C17.5522847,5 18,5.44771525 18,6 L18,16 C18,16.5522847 17.5522847,17 17,17 L3,17 C2.44771525,17 2,16.5522847 2,16 L2,4 C2,3.44771525 2.44771525,3 3,3 L7.776552,3 C8.0634137,3 8.33646216,3.12319287 8.526289,3.33826358 L9.992979,5 Z"/>
</symbol>
<symbol id="icon-game" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M10 20C15.5229 20 20 15.5228 20 10C20 4.47715 15.5229 0 10 0C4.47716 0 7.62939e-06 4.47715 7.62939e-06 10C7.62939e-06 15.5228 4.47716 20 10 20ZM16.3276 14.8957C17.203 13.7658 17.7825 12.3952 17.9499 10.9H14.9439C15.0872 12.3612 15.5759 13.7203 16.3276 14.8957ZM15.042 16.2115C13.8851 17.1517 12.4604 17.7752 10.9 17.9499V10.9H13.1367C13.2973 12.8635 13.9787 14.6807 15.042 16.2115ZM14.9439 9.1H17.9499C17.7825 7.60479 17.203 6.23416 16.3276 5.10434C15.5759 6.27969 15.0872 7.63879 14.9439 9.1ZM15.042 3.7885C13.9787 5.31935 13.2973 7.13646 13.1367 9.1H10.9V2.05006C12.4604 2.22475 13.8851 2.84826 15.042 3.7885ZM9.10001 17.9499C7.53945 17.7752 6.1146 17.1516 4.9576 16.2111C6.02095 14.6803 6.70261 12.8633 6.86331 10.9H9.10001V17.9499ZM5.05607 10.9C4.91267 12.3612 4.42373 13.72 3.67202 14.8952C2.79682 13.7654 2.21744 12.395 2.05007 10.9H5.05607ZM9.10001 9.1H6.86333C6.70272 7.13674 6.02142 5.31947 4.95804 3.7885C6.11496 2.84826 7.53965 2.22475 9.10001 2.05006V9.1ZM5.0561 9.1C4.91278 7.63858 4.42402 6.2796 3.67238 5.10437C2.79698 6.23418 2.21747 7.6048 2.05007 9.1H5.0561Z"/>
<symbol id="icon-game" viewBox="0 0 24 24" fill="currentColor">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.75 19.463C14.2643 19.3126 15.6461 18.7119 16.7595 17.7966C15.6994 16.3648 15.0217 14.6317 14.8784 12.75H12.75V19.463ZM19.463 12.75C19.3145 14.2453 18.7269 15.6114 17.8309 16.7175C17.0317 15.5731 16.5157 14.2173 16.3836 12.75H19.463ZM16.7595 6.20342C15.6994 7.63521 15.0217 9.36838 14.8784 11.25H12.75V4.53703C14.2643 4.68738 15.6461 5.28813 16.7595 6.20342ZM16.3836 11.25C16.5157 9.78269 17.0317 8.42685 17.8309 7.28252C18.7269 8.38861 19.3145 9.75471 19.463 11.25H16.3836ZM11.25 19.463V12.75H9.12675C8.99677 14.6397 8.32797 16.3822 7.27341 17.8235C8.3811 18.7236 9.7506 19.3141 11.25 19.463ZM6.19597 16.7504C5.28487 15.6386 4.68697 14.2602 4.53703 12.75H7.62254C7.50234 14.2283 6.99272 15.5956 6.19597 16.7504ZM7.60964 11.25H4.53703C4.684 9.76971 5.26138 8.41604 6.14224 7.3159C6.94359 8.44966 7.46579 9.79388 7.60964 11.25ZM9.11584 11.25C8.9594 9.37658 8.27295 7.65289 7.20746 6.23073C8.32654 5.30008 9.7207 4.68887 11.25 4.53703V11.25H9.11584ZM12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z"/>
</symbol>
<symbol id="icon-github" viewBox="0 0 20 20" fill="currentColor">
<path d="M7.26894971,14.8834111 C7.26894971,14.9490684 7.19284523,15.001959 7.09565157,15.001959 C6.98562101,15.0119899 6.90951653,14.9590994 6.90951653,14.8834111 C6.90951653,14.816842 6.98653793,14.7648633 7.08281467,14.7648633 C7.1827591,14.7539205 7.26894971,14.806811 7.26894971,14.8834111 Z M6.23466241,14.7347704 C6.21082245,14.8004277 6.27775771,14.8770278 6.37770214,14.8961778 C6.46389275,14.9299184 6.56383718,14.8961778 6.58400945,14.8305206 C6.6032648,14.7639514 6.53999722,14.6882632 6.44096971,14.6581703 C6.35386218,14.6353727 6.25758544,14.6682013 6.23466241,14.7347704 Z M7.70448736,14.6782322 C7.60821061,14.7010299 7.54219228,14.7639514 7.55136149,14.8405516 C7.56144762,14.9062088 7.64855515,14.9499803 7.74758266,14.9262707 C7.84477633,14.9034731 7.91079467,14.8405516 7.90070853,14.7739824 C7.89153932,14.7110609 7.80168102,14.6682013 7.70448736,14.6782322 Z M9.89409558,2 C5.27923034,2 1.75,5.48348178 1.75,10.0731058 C1.75,13.7417045 4.0716449,16.8813977 7.38906641,17.986628 C7.81451792,18.0623162 7.9639761,17.8015111 7.9639761,17.5863012 C7.9639761,17.3811223 7.95480689,16.2494467 7.95480689,15.5545741 C7.95480689,15.5545741 5.62582662,16.051563 5.13619061,14.5697154 C5.13619061,14.5697154 4.75750208,13.6058305 4.21193387,13.357792 C4.21193387,13.357792 3.44997221,12.8380055 4.26511531,12.8489484 C4.26511531,12.8489484 5.0930953,12.9146056 5.54880522,13.7024926 C6.27775771,14.9791613 7.49818005,14.6116631 7.97406224,14.3937175 C8.05108363,13.8648119 8.26747708,13.4973137 8.50587663,13.2784562 C6.64727702,13.0732773 4.77033898,12.8051769 4.77033898,9.62262413 C4.77033898,8.71254172 5.02340928,8.25658861 5.55614059,7.67388053 C5.46903306,7.45867066 5.18662128,6.57229781 5.6423312,5.4278555 C6.3373576,5.21264563 7.93738538,6.3215236 7.93738538,6.3215236 C8.61789979,6.13383695 9.32085186,6.03874118 10.0270492,6.03883267 C10.7329655,6.0384409 11.4356553,6.13354292 12.1157961,6.3215236 C12.1157961,6.3215236 13.7158238,5.208998 14.4117672,5.4278555 C14.8674771,6.57594544 14.5841484,7.45867066 14.4979578,7.67388053 C15.0297722,8.25932433 15.3561962,8.71618935 15.3561962,9.62262413 C15.3561962,12.8152078 13.3967352,13.0696297 11.5372187,13.2793681 C11.8434704,13.5401733 12.1029592,14.0362503 12.1029592,14.8141063 C12.1029592,15.9284557 12.092873,17.3081698 12.092873,17.5799178 C12.092873,17.7951277 12.2459989,18.0559329 12.6677827,17.9802447 C15.9952904,16.8813977 18.25,13.7417045 18.25,10.0731058 C18.25,5.48348178 14.5080439,2 9.89409558,2 Z M4.98398166,13.4106826 C4.93996944,13.4444231 4.95005557,13.5201113 5.0069047,13.5830329 C5.06008614,13.6359234 5.13619061,13.6587211 5.18020283,13.6158615 C5.22329814,13.5830329 5.213212,13.5064327 5.15636288,13.4444231 C5.10318144,13.3915326 5.02707697,13.367823 4.98398166,13.4106826 Z M4.62454849,13.1425822 C4.60070853,13.1863537 4.6337177,13.2392442 4.70065296,13.2720728 C4.7538344,13.3049015 4.81985274,13.2948705 4.84369269,13.2492752 C4.86753265,13.2055037 4.83452348,13.1526131 4.76758822,13.1197845 C4.70065296,13.0997226 4.64838844,13.1106654 4.62454849,13.1425822 Z M5.70193109,14.320765 C5.64874965,14.3636246 5.66892192,14.4630224 5.7450264,14.5259439 C5.82204779,14.6016321 5.91832453,14.6116631 5.96141984,14.5587725 C6.00451514,14.5159129 5.98525979,14.4165152 5.91832453,14.3535936 C5.84497083,14.2779054 5.7450264,14.2678744 5.70193109,14.320765 Z M5.32324257,13.834719 C5.27006113,13.8675476 5.27006113,13.9532668 5.32324257,14.0298669 C5.37642401,14.1055551 5.4662823,14.1392957 5.5093776,14.1055551 C5.56255904,14.0626955 5.56255904,13.9769764 5.5093776,13.9003762 C5.46261462,13.824688 5.37642401,13.7909475 5.32324257,13.834719 Z"/>
@ -173,6 +173,9 @@
<symbol id="icon-help" viewBox="0 0 20 20" fill="currentColor">
<path d="M10.6195556,16.728 L10.6195556,14.2462222 C11.68,14.0924444 12.6062222,13.5546667 13.2702222,12.7742222 L15.3715556,14.0871111 C14.2533333,15.5528889 12.5564444,16.5511111 10.6195556,16.728 M3.25955556,10.3848889 L5.73688889,10.4711111 C5.86666667,11.6444444 6.46044444,12.6684444 7.34133333,13.3653333 L6.10133333,15.512 C4.472,14.3564444 3.37866667,12.5004444 3.25955556,10.3848889 M9.37955556,3.27111111 L9.37955556,5.75288889 C8.31911111,5.90755556 7.39288889,6.44444444 6.72888889,7.22488889 L4.62844444,5.91288889 C5.74666667,4.44711111 7.44355556,3.44888889 9.37955556,3.27111111 M16.7377778,9.57066667 L14.2586667,9.48355556 C14.1182222,8.32888889 13.5271111,7.32088889 12.6586667,6.63377778 L13.8977778,4.48711111 C15.5164444,5.63466667 16.6044444,7.47288889 16.7377778,9.57066667 M14.2284444,10.8115556 L16.6924444,10.8977778 C16.5911111,11.6586667 16.3635556,12.3777778 16.0302222,13.0373333 L13.9404444,11.7315556 C14.0693333,11.44 14.1662222,11.1324444 14.2284444,10.8115556 M10.6195556,5.75288889 L10.6195556,3.27111111 C11.4017778,3.34222222 12.1431111,3.55111111 12.8248889,3.86666667 L11.592,6.00266667 C11.2844444,5.88 10.9573333,5.80177778 10.6195556,5.75288889 M5.76711111,9.23111111 L3.30044444,9.14488889 C3.39911111,8.36888889 3.62933333,7.63466667 3.96977778,6.96266667 L6.05866667,8.26755556 C5.92444444,8.57244444 5.82755556,8.89511111 5.76711111,9.23111111 M10,13.0693333 C8.30577778,13.0693333 6.92977778,11.6924444 6.92977778,10 C6.92977778,8.30666667 8.30577778,6.92977778 10,6.92977778 C11.6933333,6.92977778 13.0702222,8.30666667 13.0702222,10 C13.0702222,11.6924444 11.6933333,13.0693333 10,13.0693333 M9.37955556,14.2462222 L9.37955556,16.728 C8.59822222,16.6568889 7.85688889,16.4488889 7.17422222,16.1324444 L8.408,13.9964444 C8.71466667,14.1191111 9.04266667,14.1973333 9.37955556,14.2462222 M10,2 C5.58933333,2 2,5.58844444 2,10 C2,14.4106667 5.58933333,18 10,18 C14.4106667,18 18,14.4106667 18,10 C18,5.58844444 14.4106667,2 10,2"/>
</symbol>
<symbol id="icon-home" viewBox="0 0 24 24" fill="currentColor">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.1887 4.58677C12.089 4.47108 11.9097 4.47108 11.81 4.58677L6.56305 10.6734V19.251C6.56305 19.3891 6.67498 19.501 6.81305 19.501H10V16C10 15.4477 10.4477 15 11 15H13C13.5523 15 14 15.4477 14 16V19.501H17.187C17.3251 19.501 17.437 19.3891 17.437 19.251V10.675L12.1887 4.58677ZM3.75001 13.5379H5.06305V19.251C5.06305 20.2175 5.84655 21.001 6.81305 21.001H17.187C18.1535 21.001 18.937 20.2175 18.937 19.251V13.5379H20.2487C20.542 13.5379 20.8083 13.367 20.9305 13.1004C21.0527 12.8338 21.0082 12.5204 20.8167 12.2982L13.3248 3.60737C12.6267 2.79754 11.372 2.79754 10.6739 3.60737L3.18195 12.2982C2.99046 12.5204 2.94601 12.8338 3.06819 13.1004C3.19036 13.367 3.45673 13.5379 3.75001 13.5379Z"/>
</symbol>
<symbol id="icon-hubot" viewBox="0 0 20 20" fill="currentColor">
<path d="M5.42895234,7.66636423 C4.79816416,7.66835922 4.28743215,8.19014656 4.28596823,8.83408944 L4.28596823,11.1677252 C4.28792007,11.8113138 4.7985099,12.3325505 5.42895234,12.3345431 L14.5710477,12.3345431 C15.2021819,12.332546 15.7130563,11.8102077 15.7140318,11.1659106 L15.7140318,8.83318211 C15.7120799,8.18959354 15.2014901,7.66835677 14.5710477,7.66636423 L5.42895234,7.66636423 Z M14.5710477,9.70784187 L13.1427619,11.1668179 L11.4282857,11.1668179 L10,9.70874919 L8.57171425,11.1659106 L6.85634929,11.1659106 L5.42984113,9.70874919 L5.42984113,8.83318211 L6.28663482,8.83318211 L7.71492056,10.2912508 L9.14231752,8.83408944 L10.8576825,8.83408944 L12.2859682,10.2921581 L13.714254,8.83408944 L14.5710477,8.83408944 L14.5710477,9.70965651 L14.5710477,9.70784187 Z M7.71403177,13.5004537 L12.2859682,13.5004537 L12.2859682,14.6663642 L7.71403177,14.6663642 L7.71403177,13.5004537 Z M10,3 C5.58893456,3 2,6.39520415 2,10.5834089 L2,15.8331821 C2.00195185,16.4767707 2.51254167,16.9980075 3.14298411,17 L16.8570159,17 C17.4874583,16.9980075 17.9980482,16.4767707 18,15.8331821 L18,10.5834089 C18,6.39520415 14.4110654,3 9.99911121,3 L10,3 Z M16.8570159,15.8331821 L3.14298411,15.8331821 L3.14298411,10.5834089 C3.14298411,6.97861309 6.15953783,4.06156837 9.99911121,4.06156837 C13.8386846,4.06156837 16.8561271,6.97861309 16.8561271,10.5834089 L16.8561271,15.8331821 L16.8570159,15.8331821 Z"/>
</symbol>

Before

Width:  |  Height:  |  Size: 211 KiB

After

Width:  |  Height:  |  Size: 212 KiB

@ -1,3 +1,3 @@
<svg id="game" viewBox="0 0 20 20">
<path fill-rule="evenodd" d="M10 20C15.5229 20 20 15.5228 20 10C20 4.47715 15.5229 0 10 0C4.47716 0 7.62939e-06 4.47715 7.62939e-06 10C7.62939e-06 15.5228 4.47716 20 10 20ZM16.3276 14.8957C17.203 13.7658 17.7825 12.3952 17.9499 10.9H14.9439C15.0872 12.3612 15.5759 13.7203 16.3276 14.8957ZM15.042 16.2115C13.8851 17.1517 12.4604 17.7752 10.9 17.9499V10.9H13.1367C13.2973 12.8635 13.9787 14.6807 15.042 16.2115ZM14.9439 9.1H17.9499C17.7825 7.60479 17.203 6.23416 16.3276 5.10434C15.5759 6.27969 15.0872 7.63879 14.9439 9.1ZM15.042 3.7885C13.9787 5.31935 13.2973 7.13646 13.1367 9.1H10.9V2.05006C12.4604 2.22475 13.8851 2.84826 15.042 3.7885ZM9.10001 17.9499C7.53945 17.7752 6.1146 17.1516 4.9576 16.2111C6.02095 14.6803 6.70261 12.8633 6.86331 10.9H9.10001V17.9499ZM5.05607 10.9C4.91267 12.3612 4.42373 13.72 3.67202 14.8952C2.79682 13.7654 2.21744 12.395 2.05007 10.9H5.05607ZM9.10001 9.1H6.86333C6.70272 7.13674 6.02142 5.31947 4.95804 3.7885C6.11496 2.84826 7.53965 2.22475 9.10001 2.05006V9.1ZM5.0561 9.1C4.91278 7.63858 4.42402 6.2796 3.67238 5.10437C2.79698 6.23418 2.21747 7.6048 2.05007 9.1H5.0561Z"/>
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.75 19.463C14.2643 19.3126 15.6461 18.7119 16.7595 17.7966C15.6994 16.3648 15.0217 14.6317 14.8784 12.75H12.75V19.463ZM19.463 12.75C19.3145 14.2453 18.7269 15.6114 17.8309 16.7175C17.0317 15.5731 16.5157 14.2173 16.3836 12.75H19.463ZM16.7595 6.20342C15.6994 7.63521 15.0217 9.36838 14.8784 11.25H12.75V4.53703C14.2643 4.68738 15.6461 5.28813 16.7595 6.20342ZM16.3836 11.25C16.5157 9.78269 17.0317 8.42685 17.8309 7.28252C18.7269 8.38861 19.3145 9.75471 19.463 11.25H16.3836ZM11.25 19.463V12.75H9.12675C8.99677 14.6397 8.32797 16.3822 7.27341 17.8235C8.3811 18.7236 9.7506 19.3141 11.25 19.463ZM6.19597 16.7504C5.28487 15.6386 4.68697 14.2602 4.53703 12.75H7.62254C7.50234 14.2283 6.99272 15.5956 6.19597 16.7504ZM7.60964 11.25H4.53703C4.684 9.76971 5.26138 8.41604 6.14224 7.3159C6.94359 8.44966 7.46579 9.79388 7.60964 11.25ZM9.11584 11.25C8.9594 9.37658 8.27295 7.65289 7.20746 6.23073C8.32654 5.30008 9.7207 4.68887 11.25 4.53703V11.25H9.11584ZM12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

@ -1,6 +0,0 @@
<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.66669 0.666687C6.0474 0.666687 7.16669 1.78598 7.16669 3.16669C7.16669 4.5474 6.0474 5.66669 4.66669 5.66669C3.28598 5.66669 2.16669 4.5474 2.16669 3.16669C2.16669 1.78597 3.28598 0.666687 4.66669 0.666687ZM5.83336 3.16669C5.83336 2.52235 5.31102 2.00002 4.66669 2.00002C4.02236 2.00002 3.50002 2.52235 3.50002 3.16669C3.50002 3.81102 4.02236 4.33335 4.66669 4.33335C5.31102 4.33335 5.83336 3.81102 5.83336 3.16669Z" />
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.90093 6.27198C7.38054 5.96655 9.00002 7.0074 9.00002 8.6586V10.1111C9.00002 10.7862 8.45281 11.3334 7.7778 11.3334H1.55558C0.880562 11.3334 0.333353 10.7862 0.333353 10.1111V8.6586C0.333353 7.0074 1.95283 5.96655 3.43244 6.27198C3.88712 6.36583 4.3178 6.42504 4.66669 6.42504C5.01558 6.42504 5.44625 6.36583 5.90093 6.27198ZM7.66669 8.6586C7.66669 7.98969 6.96307 7.41417 6.17048 7.57778C5.67613 7.67982 5.14527 7.75837 4.66669 7.75837C4.1881 7.75837 3.65725 7.67982 3.1629 7.57778C2.37031 7.41417 1.66669 7.98969 1.66669 8.6586V10H7.66669V8.6586Z" />
<path fill-rule="evenodd" clip-rule="evenodd" d="M12 3.33335C12 2.22878 11.1046 1.33335 10 1.33335C8.89545 1.33335 8.00002 2.22878 8.00002 3.33335C8.00002 4.43792 8.89545 5.33335 10 5.33335C11.1046 5.33335 12 4.43792 12 3.33335ZM10 2.66669C10.3682 2.66669 10.6667 2.96516 10.6667 3.33335C10.6667 3.70154 10.3682 4.00002 10 4.00002C9.63183 4.00002 9.33335 3.70154 9.33335 3.33335C9.33335 2.96516 9.63183 2.66669 10 2.66669Z" />
<path d="M10.8376 7.22276C11.6565 7.10237 12.3334 7.68142 12.3334 8.33107V8.66669H9.70217C9.72965 9.11069 9.72307 9.56509 9.70856 10H12.4445C13.1195 10 13.6667 9.45281 13.6667 8.7778V8.33107C13.6667 6.69484 12.0864 5.69151 10.6437 5.9036C10.4039 5.93885 10.1852 5.95835 10 5.95835C9.81486 5.95835 9.59617 5.93885 9.35637 5.9036C9.02127 5.85434 8.67876 5.87065 8.35034 5.94523C8.90819 6.22492 9.24568 6.69464 9.44613 7.25916C9.6332 7.27941 9.82019 7.29169 10 7.29169C10.271 7.29169 10.5583 7.26381 10.8376 7.22276Z" />
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

@ -0,0 +1,3 @@
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.1887 4.58677C12.089 4.47108 11.9097 4.47108 11.81 4.58677L6.56305 10.6734V19.251C6.56305 19.3891 6.67498 19.501 6.81305 19.501H10V16C10 15.4477 10.4477 15 11 15H13C13.5523 15 14 15.4477 14 16V19.501H17.187C17.3251 19.501 17.437 19.3891 17.437 19.251V10.675L12.1887 4.58677ZM3.75001 13.5379H5.06305V19.251C5.06305 20.2175 5.84655 21.001 6.81305 21.001H17.187C18.1535 21.001 18.937 20.2175 18.937 19.251V13.5379H20.2487C20.542 13.5379 20.8083 13.367 20.9305 13.1004C21.0527 12.8338 21.0082 12.5204 20.8167 12.2982L13.3248 3.60737C12.6267 2.79754 11.372 2.79754 10.6739 3.60737L3.18195 12.2982C2.99046 12.5204 2.94601 12.8338 3.06819 13.1004C3.19036 13.367 3.45673 13.5379 3.75001 13.5379Z"/>
</svg>

After

Width:  |  Height:  |  Size: 834 B

@ -58,6 +58,14 @@ export const toolbarSearch = {
};
const toolbarButtons = (user) => [{
name: t('Home'),
icon: 'home',
condition: () => settings.get('Layout_Show_Home_Button'),
action: () => {
FlowRouter.go('home');
},
},
{
name: t('Search'),
icon: 'magnifier',
action: () => {

@ -3029,6 +3029,7 @@
"Should_exists_a_user_with_this_username": "The user must already exist.",
"Show_Setup_Wizard": "Show Setup Wizard",
"UI_Show_top_navbar_embedded_layout": "Show top navbar in embedded layout",
"Layout_Show_Home_Button": "Show \"Home Button\"",
"Show_agent_email": "Show agent email",
"Show_agent_info": "Show agent information",
"Show_all": "Show All",

@ -146,8 +146,8 @@
<symbol id="icon-folder" viewBox="0 0 20 20" fill="currentColor">
<path d="M7.325376,4.5 L4,4.5 C3.72385763,4.5 3.5,4.72385763 3.5,5 L3.5,15 C3.5,15.2761424 3.72385763,15.5 4,15.5 L16,15.5 C16.2761424,15.5 16.5,15.2761424 16.5,15 L16.5,7 C16.5,6.72385763 16.2761424,6.5 16,6.5 L9.316214,6.5 L7.700244,4.66913179 C7.60533058,4.56159644 7.46880685,4.5 7.325376,4.5 Z M9.992979,5 L17,5 C17.5522847,5 18,5.44771525 18,6 L18,16 C18,16.5522847 17.5522847,17 17,17 L3,17 C2.44771525,17 2,16.5522847 2,16 L2,4 C2,3.44771525 2.44771525,3 3,3 L7.776552,3 C8.0634137,3 8.33646216,3.12319287 8.526289,3.33826358 L9.992979,5 Z"/>
</symbol>
<symbol id="icon-game" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M10 20C15.5229 20 20 15.5228 20 10C20 4.47715 15.5229 0 10 0C4.47716 0 7.62939e-06 4.47715 7.62939e-06 10C7.62939e-06 15.5228 4.47716 20 10 20ZM16.3276 14.8957C17.203 13.7658 17.7825 12.3952 17.9499 10.9H14.9439C15.0872 12.3612 15.5759 13.7203 16.3276 14.8957ZM15.042 16.2115C13.8851 17.1517 12.4604 17.7752 10.9 17.9499V10.9H13.1367C13.2973 12.8635 13.9787 14.6807 15.042 16.2115ZM14.9439 9.1H17.9499C17.7825 7.60479 17.203 6.23416 16.3276 5.10434C15.5759 6.27969 15.0872 7.63879 14.9439 9.1ZM15.042 3.7885C13.9787 5.31935 13.2973 7.13646 13.1367 9.1H10.9V2.05006C12.4604 2.22475 13.8851 2.84826 15.042 3.7885ZM9.10001 17.9499C7.53945 17.7752 6.1146 17.1516 4.9576 16.2111C6.02095 14.6803 6.70261 12.8633 6.86331 10.9H9.10001V17.9499ZM5.05607 10.9C4.91267 12.3612 4.42373 13.72 3.67202 14.8952C2.79682 13.7654 2.21744 12.395 2.05007 10.9H5.05607ZM9.10001 9.1H6.86333C6.70272 7.13674 6.02142 5.31947 4.95804 3.7885C6.11496 2.84826 7.53965 2.22475 9.10001 2.05006V9.1ZM5.0561 9.1C4.91278 7.63858 4.42402 6.2796 3.67238 5.10437C2.79698 6.23418 2.21747 7.6048 2.05007 9.1H5.0561Z"/>
<symbol id="icon-game" viewBox="0 0 24 24" fill="currentColor">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.75 19.463C14.2643 19.3126 15.6461 18.7119 16.7595 17.7966C15.6994 16.3648 15.0217 14.6317 14.8784 12.75H12.75V19.463ZM19.463 12.75C19.3145 14.2453 18.7269 15.6114 17.8309 16.7175C17.0317 15.5731 16.5157 14.2173 16.3836 12.75H19.463ZM16.7595 6.20342C15.6994 7.63521 15.0217 9.36838 14.8784 11.25H12.75V4.53703C14.2643 4.68738 15.6461 5.28813 16.7595 6.20342ZM16.3836 11.25C16.5157 9.78269 17.0317 8.42685 17.8309 7.28252C18.7269 8.38861 19.3145 9.75471 19.463 11.25H16.3836ZM11.25 19.463V12.75H9.12675C8.99677 14.6397 8.32797 16.3822 7.27341 17.8235C8.3811 18.7236 9.7506 19.3141 11.25 19.463ZM6.19597 16.7504C5.28487 15.6386 4.68697 14.2602 4.53703 12.75H7.62254C7.50234 14.2283 6.99272 15.5956 6.19597 16.7504ZM7.60964 11.25H4.53703C4.684 9.76971 5.26138 8.41604 6.14224 7.3159C6.94359 8.44966 7.46579 9.79388 7.60964 11.25ZM9.11584 11.25C8.9594 9.37658 8.27295 7.65289 7.20746 6.23073C8.32654 5.30008 9.7207 4.68887 11.25 4.53703V11.25H9.11584ZM12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z"/>
</symbol>
<symbol id="icon-github" viewBox="0 0 20 20" fill="currentColor">
<path d="M7.26894971,14.8834111 C7.26894971,14.9490684 7.19284523,15.001959 7.09565157,15.001959 C6.98562101,15.0119899 6.90951653,14.9590994 6.90951653,14.8834111 C6.90951653,14.816842 6.98653793,14.7648633 7.08281467,14.7648633 C7.1827591,14.7539205 7.26894971,14.806811 7.26894971,14.8834111 Z M6.23466241,14.7347704 C6.21082245,14.8004277 6.27775771,14.8770278 6.37770214,14.8961778 C6.46389275,14.9299184 6.56383718,14.8961778 6.58400945,14.8305206 C6.6032648,14.7639514 6.53999722,14.6882632 6.44096971,14.6581703 C6.35386218,14.6353727 6.25758544,14.6682013 6.23466241,14.7347704 Z M7.70448736,14.6782322 C7.60821061,14.7010299 7.54219228,14.7639514 7.55136149,14.8405516 C7.56144762,14.9062088 7.64855515,14.9499803 7.74758266,14.9262707 C7.84477633,14.9034731 7.91079467,14.8405516 7.90070853,14.7739824 C7.89153932,14.7110609 7.80168102,14.6682013 7.70448736,14.6782322 Z M9.89409558,2 C5.27923034,2 1.75,5.48348178 1.75,10.0731058 C1.75,13.7417045 4.0716449,16.8813977 7.38906641,17.986628 C7.81451792,18.0623162 7.9639761,17.8015111 7.9639761,17.5863012 C7.9639761,17.3811223 7.95480689,16.2494467 7.95480689,15.5545741 C7.95480689,15.5545741 5.62582662,16.051563 5.13619061,14.5697154 C5.13619061,14.5697154 4.75750208,13.6058305 4.21193387,13.357792 C4.21193387,13.357792 3.44997221,12.8380055 4.26511531,12.8489484 C4.26511531,12.8489484 5.0930953,12.9146056 5.54880522,13.7024926 C6.27775771,14.9791613 7.49818005,14.6116631 7.97406224,14.3937175 C8.05108363,13.8648119 8.26747708,13.4973137 8.50587663,13.2784562 C6.64727702,13.0732773 4.77033898,12.8051769 4.77033898,9.62262413 C4.77033898,8.71254172 5.02340928,8.25658861 5.55614059,7.67388053 C5.46903306,7.45867066 5.18662128,6.57229781 5.6423312,5.4278555 C6.3373576,5.21264563 7.93738538,6.3215236 7.93738538,6.3215236 C8.61789979,6.13383695 9.32085186,6.03874118 10.0270492,6.03883267 C10.7329655,6.0384409 11.4356553,6.13354292 12.1157961,6.3215236 C12.1157961,6.3215236 13.7158238,5.208998 14.4117672,5.4278555 C14.8674771,6.57594544 14.5841484,7.45867066 14.4979578,7.67388053 C15.0297722,8.25932433 15.3561962,8.71618935 15.3561962,9.62262413 C15.3561962,12.8152078 13.3967352,13.0696297 11.5372187,13.2793681 C11.8434704,13.5401733 12.1029592,14.0362503 12.1029592,14.8141063 C12.1029592,15.9284557 12.092873,17.3081698 12.092873,17.5799178 C12.092873,17.7951277 12.2459989,18.0559329 12.6677827,17.9802447 C15.9952904,16.8813977 18.25,13.7417045 18.25,10.0731058 C18.25,5.48348178 14.5080439,2 9.89409558,2 Z M4.98398166,13.4106826 C4.93996944,13.4444231 4.95005557,13.5201113 5.0069047,13.5830329 C5.06008614,13.6359234 5.13619061,13.6587211 5.18020283,13.6158615 C5.22329814,13.5830329 5.213212,13.5064327 5.15636288,13.4444231 C5.10318144,13.3915326 5.02707697,13.367823 4.98398166,13.4106826 Z M4.62454849,13.1425822 C4.60070853,13.1863537 4.6337177,13.2392442 4.70065296,13.2720728 C4.7538344,13.3049015 4.81985274,13.2948705 4.84369269,13.2492752 C4.86753265,13.2055037 4.83452348,13.1526131 4.76758822,13.1197845 C4.70065296,13.0997226 4.64838844,13.1106654 4.62454849,13.1425822 Z M5.70193109,14.320765 C5.64874965,14.3636246 5.66892192,14.4630224 5.7450264,14.5259439 C5.82204779,14.6016321 5.91832453,14.6116631 5.96141984,14.5587725 C6.00451514,14.5159129 5.98525979,14.4165152 5.91832453,14.3535936 C5.84497083,14.2779054 5.7450264,14.2678744 5.70193109,14.320765 Z M5.32324257,13.834719 C5.27006113,13.8675476 5.27006113,13.9532668 5.32324257,14.0298669 C5.37642401,14.1055551 5.4662823,14.1392957 5.5093776,14.1055551 C5.56255904,14.0626955 5.56255904,13.9769764 5.5093776,13.9003762 C5.46261462,13.824688 5.37642401,13.7909475 5.32324257,13.834719 Z"/>
@ -173,6 +173,9 @@
<symbol id="icon-help" viewBox="0 0 20 20" fill="currentColor">
<path d="M10.6195556,16.728 L10.6195556,14.2462222 C11.68,14.0924444 12.6062222,13.5546667 13.2702222,12.7742222 L15.3715556,14.0871111 C14.2533333,15.5528889 12.5564444,16.5511111 10.6195556,16.728 M3.25955556,10.3848889 L5.73688889,10.4711111 C5.86666667,11.6444444 6.46044444,12.6684444 7.34133333,13.3653333 L6.10133333,15.512 C4.472,14.3564444 3.37866667,12.5004444 3.25955556,10.3848889 M9.37955556,3.27111111 L9.37955556,5.75288889 C8.31911111,5.90755556 7.39288889,6.44444444 6.72888889,7.22488889 L4.62844444,5.91288889 C5.74666667,4.44711111 7.44355556,3.44888889 9.37955556,3.27111111 M16.7377778,9.57066667 L14.2586667,9.48355556 C14.1182222,8.32888889 13.5271111,7.32088889 12.6586667,6.63377778 L13.8977778,4.48711111 C15.5164444,5.63466667 16.6044444,7.47288889 16.7377778,9.57066667 M14.2284444,10.8115556 L16.6924444,10.8977778 C16.5911111,11.6586667 16.3635556,12.3777778 16.0302222,13.0373333 L13.9404444,11.7315556 C14.0693333,11.44 14.1662222,11.1324444 14.2284444,10.8115556 M10.6195556,5.75288889 L10.6195556,3.27111111 C11.4017778,3.34222222 12.1431111,3.55111111 12.8248889,3.86666667 L11.592,6.00266667 C11.2844444,5.88 10.9573333,5.80177778 10.6195556,5.75288889 M5.76711111,9.23111111 L3.30044444,9.14488889 C3.39911111,8.36888889 3.62933333,7.63466667 3.96977778,6.96266667 L6.05866667,8.26755556 C5.92444444,8.57244444 5.82755556,8.89511111 5.76711111,9.23111111 M10,13.0693333 C8.30577778,13.0693333 6.92977778,11.6924444 6.92977778,10 C6.92977778,8.30666667 8.30577778,6.92977778 10,6.92977778 C11.6933333,6.92977778 13.0702222,8.30666667 13.0702222,10 C13.0702222,11.6924444 11.6933333,13.0693333 10,13.0693333 M9.37955556,14.2462222 L9.37955556,16.728 C8.59822222,16.6568889 7.85688889,16.4488889 7.17422222,16.1324444 L8.408,13.9964444 C8.71466667,14.1191111 9.04266667,14.1973333 9.37955556,14.2462222 M10,2 C5.58933333,2 2,5.58844444 2,10 C2,14.4106667 5.58933333,18 10,18 C14.4106667,18 18,14.4106667 18,10 C18,5.58844444 14.4106667,2 10,2"/>
</symbol>
<symbol id="icon-home" viewBox="0 0 24 24" fill="currentColor">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.1887 4.58677C12.089 4.47108 11.9097 4.47108 11.81 4.58677L6.56305 10.6734V19.251C6.56305 19.3891 6.67498 19.501 6.81305 19.501H10V16C10 15.4477 10.4477 15 11 15H13C13.5523 15 14 15.4477 14 16V19.501H17.187C17.3251 19.501 17.437 19.3891 17.437 19.251V10.675L12.1887 4.58677ZM3.75001 13.5379H5.06305V19.251C5.06305 20.2175 5.84655 21.001 6.81305 21.001H17.187C18.1535 21.001 18.937 20.2175 18.937 19.251V13.5379H20.2487C20.542 13.5379 20.8083 13.367 20.9305 13.1004C21.0527 12.8338 21.0082 12.5204 20.8167 12.2982L13.3248 3.60737C12.6267 2.79754 11.372 2.79754 10.6739 3.60737L3.18195 12.2982C2.99046 12.5204 2.94601 12.8338 3.06819 13.1004C3.19036 13.367 3.45673 13.5379 3.75001 13.5379Z"/>
</symbol>
<symbol id="icon-hubot" viewBox="0 0 20 20" fill="currentColor">
<path d="M5.42895234,7.66636423 C4.79816416,7.66835922 4.28743215,8.19014656 4.28596823,8.83408944 L4.28596823,11.1677252 C4.28792007,11.8113138 4.7985099,12.3325505 5.42895234,12.3345431 L14.5710477,12.3345431 C15.2021819,12.332546 15.7130563,11.8102077 15.7140318,11.1659106 L15.7140318,8.83318211 C15.7120799,8.18959354 15.2014901,7.66835677 14.5710477,7.66636423 L5.42895234,7.66636423 Z M14.5710477,9.70784187 L13.1427619,11.1668179 L11.4282857,11.1668179 L10,9.70874919 L8.57171425,11.1659106 L6.85634929,11.1659106 L5.42984113,9.70874919 L5.42984113,8.83318211 L6.28663482,8.83318211 L7.71492056,10.2912508 L9.14231752,8.83408944 L10.8576825,8.83408944 L12.2859682,10.2921581 L13.714254,8.83408944 L14.5710477,8.83408944 L14.5710477,9.70965651 L14.5710477,9.70784187 Z M7.71403177,13.5004537 L12.2859682,13.5004537 L12.2859682,14.6663642 L7.71403177,14.6663642 L7.71403177,13.5004537 Z M10,3 C5.58893456,3 2,6.39520415 2,10.5834089 L2,15.8331821 C2.00195185,16.4767707 2.51254167,16.9980075 3.14298411,17 L16.8570159,17 C17.4874583,16.9980075 17.9980482,16.4767707 18,15.8331821 L18,10.5834089 C18,6.39520415 14.4110654,3 9.99911121,3 L10,3 Z M16.8570159,15.8331821 L3.14298411,15.8331821 L3.14298411,10.5834089 C3.14298411,6.97861309 6.15953783,4.06156837 9.99911121,4.06156837 C13.8386846,4.06156837 16.8561271,6.97861309 16.8561271,10.5834089 L16.8561271,15.8331821 L16.8570159,15.8331821 Z"/>
</symbol>

Before

Width:  |  Height:  |  Size: 211 KiB

After

Width:  |  Height:  |  Size: 212 KiB

Loading…
Cancel
Save