mirror of
https://codeberg.org/catask-org/catask.git
synced 2025-04-19 21:33:41 -05:00
some new static files
This commit is contained in:
parent
f0e302b58a
commit
a0870fa8d8
5 changed files with 264 additions and 0 deletions
237
static/icons/catask-theme-store.svg
Normal file
237
static/icons/catask-theme-store.svg
Normal file
|
@ -0,0 +1,237 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
width="380"
|
||||||
|
height="380"
|
||||||
|
viewBox="0 0 380 380"
|
||||||
|
fill="none"
|
||||||
|
version="1.1"
|
||||||
|
id="svg9"
|
||||||
|
sodipodi:docname="catask-theme-store.svg"
|
||||||
|
inkscape:version="1.4 (e7c3feb100, 2024-10-09)"
|
||||||
|
inkscape:export-filename="catask-theme-store.png"
|
||||||
|
inkscape:export-xdpi="258.69473"
|
||||||
|
inkscape:export-ydpi="258.69473"
|
||||||
|
xml:space="preserve"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"><sodipodi:namedview
|
||||||
|
id="namedview9"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#000000"
|
||||||
|
borderopacity="0.25"
|
||||||
|
inkscape:showpageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:deskcolor="#d1d1d1"
|
||||||
|
inkscape:zoom="0.48026316"
|
||||||
|
inkscape:cx="660.05479"
|
||||||
|
inkscape:cy="533.04109"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="1022"
|
||||||
|
inkscape:window-x="0"
|
||||||
|
inkscape:window-y="0"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg9"
|
||||||
|
showgrid="false" /><rect
|
||||||
|
width="380"
|
||||||
|
height="380"
|
||||||
|
rx="70"
|
||||||
|
fill="url(#paint0_linear_603_9)"
|
||||||
|
id="rect1"
|
||||||
|
style="fill-opacity:1;fill:url(#linearGradient17)" /><path
|
||||||
|
fill-rule="evenodd"
|
||||||
|
clip-rule="evenodd"
|
||||||
|
d="M372.86 340.836C361.458 364.034 337.594 380 310 380H69.9999C42.4057 380 18.5407 364.033 7.13956 340.835C0.0540733 303.832 2.43122 265.23 21.5492 228.243C22.3857 226.625 24.2343 225.797 25.9907 226.281C61.5026 236.067 97.5669 264.887 131.247 340.717C131.983 342.374 133.752 343.367 135.546 343.105C160.424 339.463 177.96 339.001 190 339.001C202.04 339.001 219.576 339.463 244.454 343.105C246.248 343.367 248.017 342.375 248.753 340.717C282.433 264.887 318.497 236.067 354.009 226.281C355.765 225.797 357.614 226.625 358.45 228.243C377.568 265.23 379.945 303.833 372.86 340.836Z"
|
||||||
|
fill="#DA75FF"
|
||||||
|
id="path1"
|
||||||
|
style="fill:#ffffff;fill-opacity:0.55120105" /><mask
|
||||||
|
id="path-3-inside-1_603_9"
|
||||||
|
fill="white"><path
|
||||||
|
fill-rule="evenodd"
|
||||||
|
clip-rule="evenodd"
|
||||||
|
d="M158 221C158 234.256 168.744 245 182 245C195.256 245 206 234.256 206 221V210.336C212.376 209.056 219.496 207.168 226.696 204.36C259.784 191.504 278 166.16 278 133C278 92.856 254 45 190 45C146.64 45 110 77.976 110 117C110 130.256 120.744 141 134 141C147.256 141 158 130.256 158 117C158 109 170.472 93 190 93C214 93 230 109 230 125C230 157 186.824 164.952 182 165C168.744 165 158 175.744 158 189V221ZM206 285C206 298.255 195.255 309 182 309C168.745 309 158 298.255 158 285C158 271.745 168.745 261 182 261C195.255 261 206 271.745 206 285Z"
|
||||||
|
id="path2" /></mask><path
|
||||||
|
fill-rule="evenodd"
|
||||||
|
clip-rule="evenodd"
|
||||||
|
d="m 154,234 c 0,13.256 10.744,24 24,24 13.256,0 24,-10.744 24,-24 v -10.664 c 6.376,-1.28 13.496,-3.168 20.696,-5.976 C 255.784,204.504 274,179.16 274,146 c 0,-40.144 -24,-87.999999 -88,-87.999999 -43.36,0 -80,32.976 -80,71.999999 0,13.256 10.744,24 24,24 13.256,0 24,-10.744 24,-24 0,-8 12.472,-24 32,-24 24,0 40,16 40,32 0,32 -43.176,39.952 -48,40 -13.256,0 -24,10.744 -24,24 z m 48,64 c 0,13.255 -10.745,24 -24,24 -13.255,0 -24,-10.745 -24,-24 0,-13.255 10.745,-24 24,-24 13.255,0 24,10.745 24,24 z"
|
||||||
|
fill="url(#paint1_linear_603_9)"
|
||||||
|
id="path3"
|
||||||
|
style="fill:none" /><path
|
||||||
|
d="M206 210.336L205.606 208.375L204 208.698V210.336H206ZM226.696 204.36L225.972 202.496L225.969 202.497L226.696 204.36ZM182 165V167H182.01L182.02 167L182 165ZM182 243C169.849 243 160 233.151 160 221H156C156 235.361 167.639 247 182 247V243ZM204 221C204 233.151 194.151 243 182 243V247C196.361 247 208 235.361 208 221H204ZM204 210.336V221H208V210.336H204ZM225.969 202.497C218.9 205.254 211.895 207.113 205.606 208.375L206.394 212.297C212.857 210.999 220.092 209.082 227.423 206.223L225.969 202.497ZM276 133C276 165.261 258.362 189.911 225.972 202.496L227.42 206.224C261.206 193.097 280 167.059 280 133H276ZM190 47C221.445 47 242.863 58.7285 256.457 75.2182C270.103 91.7706 276 113.29 276 133H280C280 112.566 273.897 90.0854 259.543 72.6738C245.137 55.1995 222.555 43 190 43V47ZM112 117C112 79.2736 147.541 47 190 47V43C145.739 43 108 76.6784 108 117H112ZM134 139C121.849 139 112 129.151 112 117H108C108 131.361 119.639 143 134 143V139ZM156 117C156 129.151 146.151 139 134 139V143C148.361 143 160 131.361 160 117H156ZM190 91C179.667 91 171.206 95.2364 165.34 100.513C162.408 103.15 160.098 106.069 158.51 108.896C156.941 111.69 156 114.534 156 117H160C160 115.466 160.618 113.31 161.998 110.854C163.359 108.431 165.387 105.85 168.014 103.487C173.266 98.7636 180.805 95 190 95V91ZM232 125C232 107.617 214.804 91 190 91V95C213.196 95 228 110.383 228 125H232ZM182.02 167C183.477 166.985 187.271 166.429 192.047 165.163C196.878 163.883 202.876 161.836 208.74 158.752C220.422 152.608 232 142.085 232 125H228C228 139.915 217.99 149.368 206.878 155.212C201.345 158.122 195.645 160.072 191.023 161.296C186.347 162.535 182.935 162.991 181.98 163L182.02 167ZM160 189C160 176.849 169.849 167 182 167V163C167.639 163 156 174.639 156 189H160ZM160 221V189H156V221H160ZM182 311C196.359 311 208 299.359 208 285H204C204 297.15 194.15 307 182 307V311ZM156 285C156 299.359 167.641 311 182 311V307C169.85 307 160 297.15 160 285H156ZM182 259C167.641 259 156 270.641 156 285H160C160 272.85 169.85 263 182 263V259ZM208 285C208 270.641 196.359 259 182 259V263C194.15 263 204 272.85 204 285H208Z"
|
||||||
|
fill="url(#paint2_linear_603_9)"
|
||||||
|
fill-opacity="0.58"
|
||||||
|
mask="url(#path-3-inside-1_603_9)"
|
||||||
|
id="path4"
|
||||||
|
style="fill:none" /><defs
|
||||||
|
id="defs9"><linearGradient
|
||||||
|
id="linearGradient25"
|
||||||
|
inkscape:collect="always"><stop
|
||||||
|
style="stop-color:#ffffff;stop-opacity:0.40011275;"
|
||||||
|
offset="0"
|
||||||
|
id="stop24" /><stop
|
||||||
|
style="stop-color:#ffffff;stop-opacity:1;"
|
||||||
|
offset="1"
|
||||||
|
id="stop25" /></linearGradient><linearGradient
|
||||||
|
id="linearGradient22"
|
||||||
|
inkscape:collect="always"><stop
|
||||||
|
style="stop-color:#ffffff;stop-opacity:0.39976645;"
|
||||||
|
offset="0"
|
||||||
|
id="stop21" /><stop
|
||||||
|
style="stop-color:#ffffff;stop-opacity:1;"
|
||||||
|
offset="1"
|
||||||
|
id="stop22" /></linearGradient><linearGradient
|
||||||
|
id="linearGradient16"
|
||||||
|
inkscape:collect="always"><stop
|
||||||
|
style="stop-color:#e000ff;stop-opacity:1;"
|
||||||
|
offset="0"
|
||||||
|
id="stop16" /><stop
|
||||||
|
style="stop-color:#00e3ff;stop-opacity:1;"
|
||||||
|
offset="1"
|
||||||
|
id="stop17" /></linearGradient><linearGradient
|
||||||
|
id="paint0_linear_603_9"
|
||||||
|
x1="190"
|
||||||
|
y1="0"
|
||||||
|
x2="190"
|
||||||
|
y2="380"
|
||||||
|
gradientUnits="userSpaceOnUse"><stop
|
||||||
|
stop-color="#CE95FF"
|
||||||
|
id="stop4"
|
||||||
|
offset="0"
|
||||||
|
style="stop-color:#9a69ce;stop-opacity:1;" /><stop
|
||||||
|
offset="1"
|
||||||
|
stop-color="#8B52BC"
|
||||||
|
id="stop5"
|
||||||
|
style="stop-color:#6f42c1;stop-opacity:1;" /></linearGradient><linearGradient
|
||||||
|
id="paint1_linear_603_9"
|
||||||
|
x1="182"
|
||||||
|
y1="45"
|
||||||
|
x2="182"
|
||||||
|
y2="309"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
gradientTransform="translate(-3.9999965,13.000001)"><stop
|
||||||
|
stop-color="#CE5AFF"
|
||||||
|
id="stop6"
|
||||||
|
offset="0.2899459"
|
||||||
|
style="stop-color:#ffffff;stop-opacity:1;" /><stop
|
||||||
|
offset="1"
|
||||||
|
stop-color="#C12FFF"
|
||||||
|
id="stop7"
|
||||||
|
style="stop-color:#ffffff;stop-opacity:0.54639173;" /></linearGradient><linearGradient
|
||||||
|
id="paint2_linear_603_9"
|
||||||
|
x1="194"
|
||||||
|
y1="45"
|
||||||
|
x2="194"
|
||||||
|
y2="309"
|
||||||
|
gradientUnits="userSpaceOnUse"><stop
|
||||||
|
stop-color="#B34999"
|
||||||
|
id="stop8"
|
||||||
|
offset="0"
|
||||||
|
style="stop-color:#ffffff;stop-opacity:1;" /><stop
|
||||||
|
offset="1"
|
||||||
|
stop-color="#B14CD5"
|
||||||
|
id="stop9"
|
||||||
|
style="stop-color:#e7c5f0;stop-opacity:1;" /></linearGradient><radialGradient
|
||||||
|
id="a"
|
||||||
|
cx="0"
|
||||||
|
cy="800"
|
||||||
|
r="800"
|
||||||
|
gradientUnits="userSpaceOnUse"><stop
|
||||||
|
offset="0"
|
||||||
|
stop-color="#ff8000"
|
||||||
|
id="stop1-0" /><stop
|
||||||
|
offset="1"
|
||||||
|
stop-color="#ff8000"
|
||||||
|
stop-opacity="0"
|
||||||
|
id="stop2-9" /></radialGradient><radialGradient
|
||||||
|
id="b"
|
||||||
|
cx="1200"
|
||||||
|
cy="800"
|
||||||
|
r="800"
|
||||||
|
gradientUnits="userSpaceOnUse"><stop
|
||||||
|
offset="0"
|
||||||
|
stop-color="#00ff19"
|
||||||
|
id="stop3-3" /><stop
|
||||||
|
offset="1"
|
||||||
|
stop-color="#00ff19"
|
||||||
|
stop-opacity="0"
|
||||||
|
id="stop4-6" /></radialGradient><radialGradient
|
||||||
|
id="c"
|
||||||
|
cx="600"
|
||||||
|
cy="0"
|
||||||
|
r="600"
|
||||||
|
gradientUnits="userSpaceOnUse"><stop
|
||||||
|
offset="0"
|
||||||
|
stop-color="#9900ff"
|
||||||
|
id="stop5-0" /><stop
|
||||||
|
offset="1"
|
||||||
|
stop-color="#9900ff"
|
||||||
|
stop-opacity="0"
|
||||||
|
id="stop6-6" /></radialGradient><radialGradient
|
||||||
|
id="d"
|
||||||
|
cx="600"
|
||||||
|
cy="800"
|
||||||
|
r="600"
|
||||||
|
gradientUnits="userSpaceOnUse"><stop
|
||||||
|
offset="0"
|
||||||
|
stop-color="#ffff00"
|
||||||
|
id="stop7-2" /><stop
|
||||||
|
offset="1"
|
||||||
|
stop-color="#ffff00"
|
||||||
|
stop-opacity="0"
|
||||||
|
id="stop8-6" /></radialGradient><radialGradient
|
||||||
|
id="e"
|
||||||
|
cx="0"
|
||||||
|
cy="0"
|
||||||
|
r="800"
|
||||||
|
gradientUnits="userSpaceOnUse"><stop
|
||||||
|
offset="0"
|
||||||
|
stop-color="#FF0000"
|
||||||
|
id="stop9-1" /><stop
|
||||||
|
offset="1"
|
||||||
|
stop-color="#FF0000"
|
||||||
|
stop-opacity="0"
|
||||||
|
id="stop10-8" /></radialGradient><radialGradient
|
||||||
|
id="f"
|
||||||
|
cx="1200"
|
||||||
|
cy="0"
|
||||||
|
r="800"
|
||||||
|
gradientUnits="userSpaceOnUse"><stop
|
||||||
|
offset="0"
|
||||||
|
stop-color="#0CF"
|
||||||
|
id="stop11" /><stop
|
||||||
|
offset="1"
|
||||||
|
stop-color="#0CF"
|
||||||
|
stop-opacity="0"
|
||||||
|
id="stop12" /></radialGradient><linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient16"
|
||||||
|
id="linearGradient17"
|
||||||
|
x1="229.50328"
|
||||||
|
y1="375.84778"
|
||||||
|
x2="150.49687"
|
||||||
|
y2="4.151907"
|
||||||
|
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient25"
|
||||||
|
id="linearGradient23"
|
||||||
|
x1="8.0187082"
|
||||||
|
y1="131.98808"
|
||||||
|
x2="239.99017"
|
||||||
|
y2="131.98808"
|
||||||
|
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||||
|
inkscape:collect="always"
|
||||||
|
xlink:href="#linearGradient22"
|
||||||
|
id="linearGradient24"
|
||||||
|
gradientUnits="userSpaceOnUse"
|
||||||
|
x1="8.0187082"
|
||||||
|
y1="131.98807"
|
||||||
|
x2="239.99019"
|
||||||
|
y2="131.98807" /></defs><g
|
||||||
|
style="fill:url(#linearGradient23)"
|
||||||
|
id="g19"
|
||||||
|
transform="matrix(1.0490726,0,0,1.0490726,59.910333,51.534941)"><path
|
||||||
|
d="m 230.64,25.36 a 32,32 0 0 0 -45.26,0 q -0.21,0.21 -0.42,0.45 L 131.55,88.22 121,77.64 a 24,24 0 0 0 -33.95,0 l -76.69,76.7 a 8,8 0 0 0 0,11.31 l 80,80 a 8,8 0 0 0 11.31,0 L 178.36,169 a 24,24 0 0 0 0,-33.95 L 167.78,124.48 230.19,71 c 0.15,-0.14 0.31,-0.28 0.45,-0.43 a 32,32 0 0 0 0,-45.21 z M 96,228.69 79.32,212 101.66,189.65 A 8,8 0 0 0 90.35,178.34 L 68,200.68 55.32,188 77.66,165.65 A 8,8 0 0 0 66.35,154.34 L 44,176.68 27.31,160 l 50.35,-50.34 68.69,68.69 z"
|
||||||
|
id="path1-9"
|
||||||
|
style="fill:url(#linearGradient24)" /></g></svg>
|
After Width: | Height: | Size: 11 KiB |
1
static/js/codemirror-css.min.js
vendored
Normal file
1
static/js/codemirror-css.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
static/js/emoji-mart.js
Normal file
2
static/js/emoji-mart.js
Normal file
File diff suppressed because one or more lines are too long
8
templates/snippets/admin/saveBtn.html
Normal file
8
templates/snippets/admin/saveBtn.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<div class="form-group sticky-bottom bg-body py-3 mt-2 d-flex flex-column flex-lg-row z-1">
|
||||||
|
<button type="submit" class="btn btn-primary" id="saveConfig">
|
||||||
|
<span class="spinner-border spinner-border-sm htmx-indicator" aria-hidden="true"></span>
|
||||||
|
<span class="visually-hidden" role="status">{{ _('Loading...') }}</span>
|
||||||
|
<i class="bi bi-floppy me-1"></i>
|
||||||
|
{{ _('Save') }}
|
||||||
|
</button>
|
||||||
|
</div>
|
16
templates/snippets/layout/load_more_questions.html
Normal file
16
templates/snippets/layout/load_more_questions.html
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{% for item in combined %}
|
||||||
|
{% with question=item.question, answers=item.answers, showViewQuestionBtn=True, multipleAnswers=True %}
|
||||||
|
{% include 'snippets/layout/question_card.html' %}
|
||||||
|
{% endwith %}
|
||||||
|
{% endfor %}
|
||||||
|
|
||||||
|
{% if combined|length == per_page %}
|
||||||
|
<div class="spinner spinner-border mx-auto d-block my-2"
|
||||||
|
hx-trigger="intersect"
|
||||||
|
hx-get="{{ url_for('api.load_more_questions', page=page+1) }}"
|
||||||
|
hx-target="#question-list"
|
||||||
|
hx-swap="beforeend"
|
||||||
|
hx-on::after-request="this.remove(); initTooltips()">
|
||||||
|
<span class="visually-hidden">Loading...</span>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
Loading…
Add table
Reference in a new issue