Files
visa/static/brand/lannadesk-logo-mono.svg
T
grabowski eafe918bcc
CI / secret scan (push) Successful in 5s
CI / fmt, clippy, tests (push) Successful in 44s
CI / release (push) Skipped
Lanna Desk: logo, a public page at /, the back office at /desk, full sign-out
Logo: a Lanna gable whose crossed kalae horns stand over a desk, gold on
navy, with "Lanna Desk" and "Visas · stays · contracts" in Sarabun drawn
as outlines. static/brand/ has the mark, the logo for light and for dark
backgrounds and a one-color version; scripts/gen_logo.py makes them, the
favicon and the header's mark from forms/fonts/Sarabun-Bold/SemiBold
(SIL Open Font License, next to the Regular already there).

`/` is now lannadesk.com's public page (templates/landing.html,
static/landing.css): what Lanna Desk takes care of, how a client starts
(write, open the link, sign first, we keep the dates), how the data is
kept, contact@lannadesk.com and "Staff sign-in". It needs no session and
shows no records. The back office's first page, the deadlines, moves to
`/desk` (web::HOME): the header, the nav, the filter, the login's default
target and the messages' links follow.

Signing out now ends the session at id.cnx.network too. Kanidm names no
end_session_endpoint, but its GET /ui/logout ends the session and clears
its cookies (SameSite=Lax, so they come along on a top-level navigation).
The logout form may only lead to this site (CSP form-action 'self'), so
/signed-out sends the browser on with a refresh and offers the link as
well; providers that are not Kanidm keep the old page.

Checks: fmt, clippy, 109 unit and 57 integration tests (the public page
open and free of records, /desk behind the sign-in, the sign-out page
leading to the provider); the page at 1280 and 390 px; the header's mark
in both themes; the style check on the README, PLAN and the page.
2026-11-21 19:57:20 +07:00

2 lines
17 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 324.2 64" width="324.2" height="64" role="img" aria-label="Lanna Desk"><title>Lanna Desk</title><g fill="none" stroke="#071323" stroke-width="4.6" stroke-linecap="round" stroke-linejoin="round"><path d="M7.5 39 L32 20 C35 17.7 37 15.2 38.6 11.4 C39.1 10.2 40.2 9.6 41.6 9.8"/><path d="M56.5 39 L32 20 C29 17.7 27 15.2 25.4 11.4 C24.9 10.2 23.8 9.6 22.4 9.8"/></g><g fill="none" stroke="#071323" stroke-width="4.6" stroke-linecap="round"><path d="M17 47 H47"/><path d="M22.5 47 V54.5 M41.5 47 V54.5"/></g><path fill="#071323" d="M85.128 9.799999999999997H91.752V36.71H106.932V42.0H85.128ZM109.57 35.146Q109.57 31.604 112.376 29.718Q115.182 27.832 120.38 27.832H123.968V26.866Q123.968 25.026 122.887 24.037Q121.806 23.048000000000002 119.828 23.048000000000002Q117.758 23.048000000000002 115.872 23.784Q113.986 24.52 112.78999999999999 25.808L110.214 22.404Q112.1 20.61 114.67599999999999 19.575Q117.252 18.54 120.012 18.54Q124.612 18.54 127.234 20.701999999999998Q129.856 22.864 129.856 26.682000000000002V37.17Q129.856 38.228 130.017 39.653999999999996Q130.178 41.08 130.408 42.0H125.21Q124.934 41.402 124.79599999999999 40.827Q124.658 40.252 124.566 39.24H124.47399999999999Q121.852 42.46 117.43599999999999 42.46Q115.182 42.46 113.388 41.516999999999996Q111.594 40.574 110.582 38.894999999999996Q109.57 37.216 109.57 35.146ZM123.968 34.042V31.742H120.196Q117.85 31.742 116.585 32.616Q115.32 33.49 115.32 35.146Q115.32 36.525999999999996 116.263 37.285Q117.206 38.044 118.862 38.044Q121.07 38.044 122.519 36.917Q123.968 35.79 123.968 34.042ZM134.886 25.072Q134.886 20.886 134.702 19.0H140.22199999999998Q140.452 20.932 140.452 23.002H140.58999999999997Q141.41799999999998 20.978 143.51099999999997 19.759Q145.60399999999998 18.54 148.17999999999998 18.54Q152.136 18.54 154.16 21.208Q156.184 23.876 156.184 29.073999999999998V42.0H150.34199999999998V29.028Q150.34199999999998 26.038 149.37599999999998 24.658Q148.41 23.278 146.29399999999998 23.278Q143.856 23.278 142.315 25.003Q140.774 26.728 140.774 29.442V42.0H134.886ZM160.984 25.072Q160.984 20.886 160.8 19.0H166.32Q166.55 20.932 166.55 23.002H166.688Q167.516 20.978 169.60899999999998 19.759Q171.702 18.54 174.278 18.54Q178.234 18.54 180.258 21.208Q182.282 23.876 182.282 29.073999999999998V42.0H176.44V29.028Q176.44 26.038 175.474 24.658Q174.508 23.278 172.392 23.278Q169.954 23.278 168.413 25.003Q166.872 26.728 166.872 29.442V42.0H160.984ZM186.3 35.146Q186.3 31.604 189.106 29.718Q191.912 27.832 197.11 27.832H200.698V26.866Q200.698 25.026 199.61700000000002 24.037Q198.536 23.048000000000002 196.55800000000002 23.048000000000002Q194.48800000000003 23.048000000000002 192.60200000000003 23.784Q190.716 24.52 189.52 25.808L186.94400000000002 22.404Q188.83 20.61 191.406 19.575Q193.98200000000003 18.54 196.74200000000002 18.54Q201.342 18.54 203.964 20.701999999999998Q206.586 22.864 206.586 26.682000000000002V37.17Q206.586 38.228 206.747 39.653999999999996Q206.90800000000002 41.08 207.138 42.0H201.94000000000003Q201.66400000000002 41.402 201.526 40.827Q201.388 40.252 201.29600000000002 39.24H201.204Q198.58200000000002 42.46 194.16600000000003 42.46Q191.912 42.46 190.118 41.516999999999996Q188.324 40.574 187.312 38.894999999999996Q186.3 37.216 186.3 35.146ZM200.698 34.042V31.742H196.92600000000002Q194.58 31.742 193.315 32.616Q192.05 33.49 192.05 35.146Q192.05 36.525999999999996 192.993 37.285Q193.936 38.044 195.592 38.044Q197.8 38.044 199.24900000000002 36.917Q200.698 35.79 200.698 34.042ZM223.5 9.799999999999997H235.0Q248.202 9.799999999999997 248.202 25.302Q248.202 31.282 246.73000000000002 34.939Q245.258 38.596000000000004 242.10700000000003 40.298Q238.95600000000002 42.0 233.758 42.0H223.5ZM234.448 36.71Q237.07000000000002 36.71 238.63400000000001 35.56Q240.198 34.41 240.911 31.926Q241.62400000000002 29.442 241.62400000000002 25.302Q241.62400000000002 19.828 240.06 17.459Q238.496 15.09 234.86200000000002 15.09H230.12400000000002V36.71ZM273.61 32.662H257.60200000000003Q258.338 37.538 263.26 37.538Q265.284 37.538 266.779 36.848Q268.274 36.158 269.7 34.548L272.874 37.584Q271.54 39.792 268.84900000000005 41.126000000000005Q266.158 42.46 262.938 42.46Q257.55600000000004 42.46 254.56600000000003 39.309Q251.57600000000002 36.158 251.57600000000002 30.592Q251.57600000000002 24.98 254.58900000000003 21.759999999999998Q257.60200000000003 18.54 262.892 18.54Q267.952 18.54 270.781 21.714Q273.61 24.888 273.61 30.546ZM267.86 28.384Q267.86 26.038 266.50300000000004 24.681Q265.146 23.324 262.754 23.324Q260.592 23.324 259.25800000000004 24.727000000000004Q257.92400000000004 26.130000000000003 257.55600000000004 28.66H267.86ZM276.478 38.09 280.11199999999997 35.56Q280.94 36.71 282.22799999999995 37.400000000000006Q283.51599999999996 38.09 284.84999999999997 38.09Q286.414 38.09 287.426 37.285000000000004Q288.438 36.480000000000004 288.438 35.284Q288.438 34.318 287.702 33.742999999999995Q286.966 33.168 284.574 32.248Q280.388 30.637999999999998 278.686 28.982Q276.984 27.326 276.984 24.888Q276.984 22.036 279.307 20.288Q281.63 18.54 285.49399999999997 18.54Q288.07 18.54 290.14 19.529Q292.21 20.518 293.498 22.358L290.094 24.888Q288.484 22.91 285.724 22.91Q284.344 22.91 283.585 23.393Q282.82599999999996 23.876 282.82599999999996 24.796Q282.82599999999996 25.44 283.14799999999997 25.854Q283.46999999999997 26.268 284.39 26.728Q285.31 27.188000000000002 287.334 27.97Q290.048 29.028 291.543 30.017Q293.038 31.006 293.659 32.179Q294.28 33.352000000000004 294.28 35.008Q294.28 37.216 293.10699999999997 38.894999999999996Q291.93399999999997 40.574 289.818 41.516999999999996Q287.702 42.46 284.942 42.46Q281.952 42.46 279.67499999999995 41.263999999999996Q277.39799999999997 40.068 276.478 38.09ZM313.47799999999995 42.0 306.66999999999996 31.282 303.90999999999997 33.996V42.0H298.022V7.868000000000002H303.90999999999997V26.958L312.006 19.0H319.22799999999995L310.71799999999996 27.326L320.102 42.0Z"/><path fill="#071323" d="M89.9104 52.16 87.2 60.0H85.8896L83.1792 52.16H84.6688L86.5504 58.1744L88.4208 52.16ZM93.02 52.16H94.44239999999999V60.0H93.02ZM97.7312 58.7792 98.5712 57.9728Q98.9296 58.4096 99.4504 58.6896Q99.9712 58.9696 100.4528 58.9696Q101.024 58.9696 101.3656 58.7008Q101.7072 58.432 101.7072 57.9952Q101.7072 57.6816 101.5952 57.4744Q101.4832 57.2672 101.1808 57.06Q100.8784 56.8528 100.2512 56.5392Q99.4224 56.136 98.9408 55.77760000000001Q98.4592 55.419200000000004 98.23519999999999 55.016000000000005Q98.0112 54.6128 98.0112 54.0864Q98.0112 53.4816 98.3304 53.0168Q98.6496 52.552 99.2208 52.3Q99.792 52.048 100.5424 52.048Q101.36 52.048 102.00399999999999 52.3728Q102.648 52.6976 102.9504 53.2576L102.0432 53.9296Q101.7744 53.5824 101.39920000000001 53.386399999999995Q101.024 53.1904 100.5984 53.1904Q100.0496 53.1904 99.7416 53.42Q99.4336 53.6496 99.4336 54.064Q99.4336 54.321600000000004 99.5736 54.5064Q99.7136 54.6912 100.07759999999999 54.9152Q100.4416 55.1392 101.19200000000001 55.4976Q102.256 56.001599999999996 102.68719999999999 56.544799999999995Q103.1184 57.088 103.1184 57.9056Q103.1184 58.5664 102.7824 59.064800000000005Q102.4464 59.5632 101.8304 59.8376Q101.2144 60.112 100.408 60.112Q99.568 60.112 98.868 59.7648Q98.168 59.4176 97.7312 58.7792ZM110.2936 58.5664H107.4824L107.04560000000001 60.0H105.556L108.2552 52.16H109.52080000000001L112.22 60.0H110.7304ZM109.9464 57.4352 108.8936 54.008 107.8296 57.4352ZM114.6352 58.7792 115.4752 57.9728Q115.83359999999999 58.4096 116.3544 58.6896Q116.87519999999999 58.9696 117.35679999999999 58.9696Q117.928 58.9696 118.2696 58.7008Q118.6112 58.432 118.6112 57.9952Q118.6112 57.6816 118.4992 57.4744Q118.38719999999999 57.2672 118.0848 57.06Q117.7824 56.8528 117.1552 56.5392Q116.32639999999999 56.136 115.84479999999999 55.77760000000001Q115.36319999999999 55.419200000000004 115.13919999999999 55.016000000000005Q114.9152 54.6128 114.9152 54.0864Q114.9152 53.4816 115.2344 53.0168Q115.5536 52.552 116.1248 52.3Q116.696 52.048 117.4464 52.048Q118.264 52.048 118.90799999999999 52.3728Q119.55199999999999 52.6976 119.8544 53.2576L118.9472 53.9296Q118.6784 53.5824 118.3032 53.386399999999995Q117.928 53.1904 117.5024 53.1904Q116.9536 53.1904 116.6456 53.42Q116.3376 53.6496 116.3376 54.064Q116.3376 54.321600000000004 116.4776 54.5064Q116.6176 54.6912 116.98159999999999 54.9152Q117.34559999999999 55.1392 118.096 55.4976Q119.16 56.001599999999996 119.59119999999999 56.544799999999995Q120.02239999999999 57.088 120.02239999999999 57.9056Q120.02239999999999 58.5664 119.68639999999999 59.064800000000005Q119.3504 59.5632 118.7344 59.8376Q118.1184 60.112 117.312 60.112Q116.472 60.112 115.77199999999999 59.7648Q115.072 59.4176 114.6352 58.7792ZM127.5296 57.0656Q127.5296 56.6736 127.7704 56.4272Q128.0112 56.1808 128.392 56.1808Q128.7728 56.1808 129.0136 56.4272Q129.2544 56.6736 129.2544 57.0656Q129.2544 57.4576 129.0136 57.704Q128.7728 57.9504 128.392 57.9504Q128.0112 57.9504 127.7704 57.704Q127.5296 57.4576 127.5296 57.0656ZM136.75039999999998 58.7792 137.5904 57.9728Q137.9488 58.4096 138.4696 58.6896Q138.9904 58.9696 139.472 58.9696Q140.04319999999998 58.9696 140.38479999999998 58.7008Q140.7264 58.432 140.7264 57.9952Q140.7264 57.6816 140.6144 57.4744Q140.5024 57.2672 140.2 57.06Q139.8976 56.8528 139.2704 56.5392Q138.4416 56.136 137.95999999999998 55.77760000000001Q137.4784 55.419200000000004 137.25439999999998 55.016000000000005Q137.0304 54.6128 137.0304 54.0864Q137.0304 53.4816 137.3496 53.0168Q137.6688 52.552 138.24 52.3Q138.81119999999999 52.048 139.5616 52.048Q140.3792 52.048 141.0232 52.3728Q141.6672 52.6976 141.96959999999999 53.2576L141.0624 53.9296Q140.7936 53.5824 140.4184 53.386399999999995Q140.04319999999998 53.1904 139.6176 53.1904Q139.0688 53.1904 138.76080000000002 53.42Q138.4528 53.6496 138.4528 54.064Q138.4528 54.321600000000004 138.5928 54.5064Q138.7328 54.6912 139.0968 54.9152Q139.4608 55.1392 140.2112 55.4976Q141.27519999999998 56.001599999999996 141.70639999999997 56.544799999999995Q142.1376 57.088 142.1376 57.9056Q142.1376 58.5664 141.8016 59.064800000000005Q141.4656 59.5632 140.8496 59.8376Q140.2336 60.112 139.4272 60.112Q138.5872 60.112 137.8872 59.7648Q137.1872 59.4176 136.75039999999998 58.7792ZM146.9384 53.2128H144.57520000000002V52.16H150.71280000000002V53.2128H148.3496V60.0H146.9384ZM157.7088 58.5664H154.8976L154.4608 60.0H152.9712L155.6704 52.16H156.936L159.6352 60.0H158.1456ZM157.3616 57.4352 156.3088 54.008 155.2448 57.4352ZM164.41359999999997 56.8752 161.8824 52.16H163.42799999999997L165.11919999999998 55.576L166.8104 52.16H168.356L165.83599999999998 56.8752V60.0H164.41359999999997ZM170.7824 58.7792 171.6224 57.9728Q171.98080000000002 58.4096 172.5016 58.6896Q173.0224 58.9696 173.50400000000002 58.9696Q174.0752 58.9696 174.4168 58.7008Q174.7584 58.432 174.7584 57.9952Q174.7584 57.6816 174.6464 57.4744Q174.5344 57.2672 174.23200000000003 57.06Q173.92960000000002 56.8528 173.3024 56.5392Q172.4736 56.136 171.99200000000002 55.77760000000001Q171.5104 55.419200000000004 171.28640000000001 55.016000000000005Q171.0624 54.6128 171.0624 54.0864Q171.0624 53.4816 171.3816 53.0168Q171.70080000000002 52.552 172.272 52.3Q172.8432 52.048 173.5936 52.048Q174.4112 52.048 175.0552 52.3728Q175.69920000000002 52.6976 176.0016 53.2576L175.0944 53.9296Q174.8256 53.5824 174.4504 53.386399999999995Q174.0752 53.1904 173.64960000000002 53.1904Q173.10080000000002 53.1904 172.7928 53.42Q172.4848 53.6496 172.4848 54.064Q172.4848 54.321600000000004 172.6248 54.5064Q172.7648 54.6912 173.1288 54.9152Q173.49280000000002 55.1392 174.2432 55.4976Q175.30720000000002 56.001599999999996 175.7384 56.544799999999995Q176.1696 57.088 176.1696 57.9056Q176.1696 58.5664 175.8336 59.064800000000005Q175.4976 59.5632 174.8816 59.8376Q174.2656 60.112 173.4592 60.112Q172.6192 60.112 171.9192 59.7648Q171.2192 59.4176 170.7824 58.7792ZM183.6768 57.0656Q183.6768 56.6736 183.9176 56.4272Q184.15839999999997 56.1808 184.5392 56.1808Q184.92 56.1808 185.1608 56.4272Q185.40159999999997 56.6736 185.40159999999997 57.0656Q185.40159999999997 57.4576 185.1608 57.704Q184.92 57.9504 184.5392 57.9504Q184.15839999999997 57.9504 183.9176 57.704Q183.6768 57.4576 183.6768 57.0656ZM192.90879999999999 56.08Q192.90879999999999 54.848 193.3456 53.940799999999996Q193.7824 53.0336 194.5888 52.540800000000004Q195.3952 52.048 196.4816 52.048Q197.3888 52.048 198.072 52.3952Q198.7552 52.7424 199.07999999999998 53.3696L198.2736 54.0976Q197.6688 53.1904 196.4928 53.1904Q195.4512 53.1904 194.8912 53.935199999999995Q194.3312 54.68 194.3312 56.08Q194.3312 57.4688 194.88 58.2192Q195.4288 58.9696 196.448 58.9696Q197.6912 58.9696 198.2736 58.0512L199.07999999999998 58.7792Q198.7552 59.4176 198.072 59.7648Q197.3888 60.112 196.4592 60.112Q195.384 60.112 194.58319999999998 59.6192Q193.7824 59.1264 193.3456 58.2136Q192.90879999999999 57.3008 192.90879999999999 56.08ZM201.61839999999998 56.08Q201.61839999999998 54.8368 202.03279999999998 53.92959999999999Q202.44719999999998 53.0224 203.2312 52.5352Q204.0152 52.048 205.0792 52.048Q206.14319999999998 52.048 206.92159999999998 52.5352Q207.7 53.0224 208.1144 53.92959999999999Q208.5288 54.8368 208.5288 56.08Q208.5288 57.3232 208.1144 58.2304Q207.7 59.1376 206.92159999999998 59.6248Q206.14319999999998 60.112 205.0792 60.112Q204.0152 60.112 203.2312 59.6248Q202.44719999999998 59.1376 202.03279999999998 58.2304Q201.61839999999998 57.3232 201.61839999999998 56.08ZM207.10639999999998 56.08Q207.10639999999998 54.7248 206.5632 53.9464Q206.01999999999998 53.168 205.0792 53.168Q204.1272 53.168 203.584 53.9464Q203.0408 54.7248 203.0408 56.08Q203.0408 57.4352 203.584 58.208Q204.1272 58.9808 205.0792 58.9808Q206.01999999999998 58.9808 206.5632 58.208Q207.10639999999998 57.4352 207.10639999999998 56.08ZM217.74239999999998 52.16V60.0H216.42079999999999L213.0048 54.5008V60.0H211.59359999999998V52.16H212.9936L216.3312 57.5696V52.16ZM222.99119999999996 53.2128H220.628V52.16H226.76559999999998V53.2128H224.40239999999997V60.0H222.99119999999996ZM229.66239999999996 52.16H232.30559999999997Q233.61599999999996 52.16 234.26559999999995 52.692Q234.91519999999997 53.224000000000004 234.91519999999997 54.3104Q234.91519999999997 55.0832 234.56799999999998 55.632Q234.22079999999997 56.1808 233.58239999999995 56.4048V56.4272Q233.79519999999997 56.5728 233.92399999999998 56.729600000000005Q234.05279999999996 56.8864 234.14239999999995 57.088L235.29599999999996 60.0H233.79519999999997L232.86559999999997 57.5584Q232.70879999999997 57.1664 232.47359999999998 57.0264Q232.23839999999996 56.8864 231.70079999999996 56.8864H231.07359999999997V60.0H229.66239999999996ZM232.17119999999997 55.7552Q232.84319999999997 55.7552 233.19599999999997 55.430400000000006Q233.54879999999997 55.1056 233.54879999999997 54.4672Q233.54879999999997 53.3024 232.14879999999997 53.3024H231.07359999999997V55.7552ZM242.28079999999997 58.5664H239.46959999999999L239.03279999999998 60.0H237.54319999999998L240.24239999999998 52.16H241.50799999999998L244.20719999999997 60.0H242.71759999999998ZM241.93359999999998 57.4352 240.88079999999997 54.008 239.81679999999997 57.4352ZM246.63359999999997 56.08Q246.63359999999997 54.848 247.07039999999998 53.940799999999996Q247.50719999999998 53.0336 248.31359999999998 52.540800000000004Q249.11999999999998 52.048 250.20639999999997 52.048Q251.1136 52.048 251.7968 52.3952Q252.48 52.7424 252.80479999999997 53.3696L251.99839999999998 54.0976Q251.3936 53.1904 250.21759999999998 53.1904Q249.176 53.1904 248.61599999999999 53.935199999999995Q248.05599999999998 54.68 248.05599999999998 56.08Q248.05599999999998 57.4688 248.60479999999998 58.2192Q249.15359999999998 58.9696 250.1728 58.9696Q251.416 58.9696 251.99839999999998 58.0512L252.80479999999997 58.7792Q252.48 59.4176 251.7968 59.7648Q251.1136 60.112 250.184 60.112Q249.10879999999997 60.112 248.308 59.6192Q247.50719999999998 59.1264 247.07039999999998 58.2136Q246.63359999999997 57.3008 246.63359999999997 56.08ZM257.5272 53.2128H255.164V52.16H261.30159999999995V53.2128H258.9384V60.0H257.5272ZM263.72799999999995 58.7792 264.568 57.9728Q264.92639999999994 58.4096 265.44719999999995 58.6896Q265.96799999999996 58.9696 266.4496 58.9696Q267.02079999999995 58.9696 267.3624 58.7008Q267.70399999999995 58.432 267.70399999999995 57.9952Q267.70399999999995 57.6816 267.592 57.4744Q267.47999999999996 57.2672 267.1776 57.06Q266.87519999999995 56.8528 266.248 56.5392Q265.4192 56.136 264.9376 55.77760000000001Q264.45599999999996 55.419200000000004 264.23199999999997 55.016000000000005Q264.008 54.6128 264.008 54.0864Q264.008 53.4816 264.32719999999995 53.0168Q264.64639999999997 52.552 265.21759999999995 52.3Q265.7888 52.048 266.53919999999994 52.048Q267.35679999999996 52.048 268.00079999999997 52.3728Q268.6448 52.6976 268.94719999999995 53.2576L268.03999999999996 53.9296Q267.77119999999996 53.5824 267.39599999999996 53.386399999999995Q267.02079999999995 53.1904 266.5952 53.1904Q266.04639999999995 53.1904 265.73839999999996 53.42Q265.43039999999996 53.6496 265.43039999999996 54.064Q265.43039999999996 54.321600000000004 265.57039999999995 54.5064Q265.7104 54.6912 266.07439999999997 54.9152Q266.43839999999994 55.1392 267.18879999999996 55.4976Q268.2528 56.001599999999996 268.68399999999997 56.544799999999995Q269.11519999999996 57.088 269.11519999999996 57.9056Q269.11519999999996 58.5664 268.77919999999995 59.064800000000005Q268.4432 59.5632 267.82719999999995 59.8376Q267.21119999999996 60.112 266.40479999999997 60.112Q265.5648 60.112 264.86479999999995 59.7648Q264.16479999999996 59.4176 263.72799999999995 58.7792Z"/></svg>