aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-02-24 21:12:17 +0800
committerGitHub <noreply@github.com>2024-02-24 13:12:17 +0000
commit29a26d9d8c573c9fb7e79a66ac3d578e8b20dcae (patch)
tree2d51372c6d14b0f1c96c35d1a2cf4ff8f6fb050b /web_src
parentc42083a33950be6ee9f822c6d0de3c3a79d1f51b (diff)
downloadgitea-29a26d9d8c573c9fb7e79a66ac3d578e8b20dcae.tar.gz
gitea-29a26d9d8c573c9fb7e79a66ac3d578e8b20dcae.zip
Customizable "Open with" applications for repository clone (#29320)
Users could customize the "clone" menu with their own application URLs on the admin panel. Replace #22378 Close #21121 Close #22149
Diffstat (limited to 'web_src')
-rw-r--r--web_src/svg/gitea-open-with-jetbrains.svg62
-rw-r--r--web_src/svg/gitea-open-with-vscode.svg (renamed from web_src/svg/gitea-vscode.svg)0
-rw-r--r--web_src/svg/gitea-open-with-vscodium.svg1
3 files changed, 63 insertions, 0 deletions
diff --git a/web_src/svg/gitea-open-with-jetbrains.svg b/web_src/svg/gitea-open-with-jetbrains.svg
new file mode 100644
index 0000000000..a7884c4289
--- /dev/null
+++ b/web_src/svg/gitea-open-with-jetbrains.svg
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 70 70" style="enable-background:new 0 0 70 70;" xml:space="preserve">
+<g>
+ <g>
+ <linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="0.7898" y1="40.0893" x2="33.3172" y2="40.0893">
+ <stop offset="0.2581" style="stop-color:#F97A12"/>
+ <stop offset="0.4591" style="stop-color:#B07B58"/>
+ <stop offset="0.7241" style="stop-color:#577BAE"/>
+ <stop offset="0.9105" style="stop-color:#1E7CE5"/>
+ <stop offset="1" style="stop-color:#087CFA"/>
+ </linearGradient>
+ <polygon style="fill:url(#SVGID_1_);" points="17.7,54.6 0.8,41.2 9.2,25.6 33.3,35 "/>
+ <linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="25.7674" y1="24.88" x2="79.424" y2="54.57">
+ <stop offset="0" style="stop-color:#F97A12"/>
+ <stop offset="7.179946e-002" style="stop-color:#CB7A3E"/>
+ <stop offset="0.1541" style="stop-color:#9E7B6A"/>
+ <stop offset="0.242" style="stop-color:#757B91"/>
+ <stop offset="0.3344" style="stop-color:#537BB1"/>
+ <stop offset="0.4324" style="stop-color:#387CCC"/>
+ <stop offset="0.5381" style="stop-color:#237CE0"/>
+ <stop offset="0.6552" style="stop-color:#147CEF"/>
+ <stop offset="0.7925" style="stop-color:#0B7CF7"/>
+ <stop offset="1" style="stop-color:#087CFA"/>
+ </linearGradient>
+ <polygon style="fill:url(#SVGID_2_);" points="70,18.7 68.7,59.2 41.8,70 25.6,59.6 49.3,35 38.9,12.3 48.2,1.1 "/>
+ <linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="63.2277" y1="42.9153" x2="48.2903" y2="-1.7191">
+ <stop offset="0" style="stop-color:#FE315D"/>
+ <stop offset="7.840246e-002" style="stop-color:#CB417E"/>
+ <stop offset="0.1601" style="stop-color:#9E4E9B"/>
+ <stop offset="0.2474" style="stop-color:#755BB4"/>
+ <stop offset="0.3392" style="stop-color:#5365CA"/>
+ <stop offset="0.4365" style="stop-color:#386DDB"/>
+ <stop offset="0.5414" style="stop-color:#2374E9"/>
+ <stop offset="0.6576" style="stop-color:#1478F3"/>
+ <stop offset="0.794" style="stop-color:#0B7BF8"/>
+ <stop offset="1" style="stop-color:#087CFA"/>
+ </linearGradient>
+ <polygon style="fill:url(#SVGID_3_);" points="70,18.7 48.7,43.9 38.9,12.3 48.2,1.1 "/>
+ <linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="10.7204" y1="16.473" x2="55.5237" y2="90.58">
+ <stop offset="0" style="stop-color:#FE315D"/>
+ <stop offset="4.023279e-002" style="stop-color:#F63462"/>
+ <stop offset="0.1037" style="stop-color:#DF3A71"/>
+ <stop offset="0.1667" style="stop-color:#C24383"/>
+ <stop offset="0.2912" style="stop-color:#AD4A91"/>
+ <stop offset="0.5498" style="stop-color:#755BB4"/>
+ <stop offset="0.9175" style="stop-color:#1D76ED"/>
+ <stop offset="1" style="stop-color:#087CFA"/>
+ </linearGradient>
+ <polygon style="fill:url(#SVGID_4_);" points="33.7,58.1 5.6,68.3 10.1,52.5 16,33.1 0,27.7 10.1,0 32.1,2.7 53.7,27.4 "/>
+ </g>
+ <g>
+ <rect x="13.7" y="13.5" style="fill:#000000;" width="43.2" height="43.2"/>
+ <rect x="17.7" y="48.6" style="fill:#FFFFFF;" width="16.2" height="2.7"/>
+ <polygon style="fill:#FFFFFF;" points="29.4,22.4 29.4,19.1 20.4,19.1 20.4,22.4 23,22.4 23,33.7 20.4,33.7 20.4,37 29.4,37
+ 29.4,33.7 26.9,33.7 26.9,22.4 "/>
+ <path style="fill:#FFFFFF;" d="M38,37.3c-1.4,0-2.6-0.3-3.5-0.8c-0.9-0.5-1.7-1.2-2.3-1.9l2.5-2.8c0.5,0.6,1,1,1.5,1.3
+ c0.5,0.3,1.1,0.5,1.7,0.5c0.7,0,1.3-0.2,1.8-0.7c0.4-0.5,0.6-1.2,0.6-2.3V19.1h4v11.7c0,1.1-0.1,2-0.4,2.8c-0.3,0.8-0.7,1.4-1.3,2
+ c-0.5,0.5-1.2,1-2,1.2C39.8,37.1,39,37.3,38,37.3"/>
+ </g>
+</g>
+</svg> \ No newline at end of file
diff --git a/web_src/svg/gitea-vscode.svg b/web_src/svg/gitea-open-with-vscode.svg
index 62cd1a3b73..62cd1a3b73 100644
--- a/web_src/svg/gitea-vscode.svg
+++ b/web_src/svg/gitea-open-with-vscode.svg
diff --git a/web_src/svg/gitea-open-with-vscodium.svg b/web_src/svg/gitea-open-with-vscodium.svg
new file mode 100644
index 0000000000..483676fe71
--- /dev/null
+++ b/web_src/svg/gitea-open-with-vscodium.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" width="100%" height="100%" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" clip-rule="evenodd" version="1.1" viewBox="0 0 16 16"><path fill-rule="nonzero" d="m10.2.2.5-.3c.3 0 .5.2.7.4l.2.8-.2 1-.8 2.4c-.3 1-.4 2 0 2.9a1046.4 1046.4 0 0 0 .8-2c.2 0 .4.1.4.3l-.3 1L9.2 13l3.1-2.9c.3-.2.7-.5.8-1a2 2 0 0 0-.3-1c-.2-.5-.5-.9-.6-1.4l.1-.7c.1-.1.3-.2.5-.1.2 0 .3.2.4.4.3.5.4 1.2.5 1.8l.6-1.2c0-.2.2-.4.4-.6l.4-.2c.2 0 .4.3.4.4v.6l-.8 1.6-1.4 1.8 1-.4c.2 0 .6.2.7.5 0 .2 0 .4-.2.5-.3.2-.6.2-1 .2-1 0-2.2.6-2.9 1.4L9.6 15c-.4.4-.9 1-1.4.8-.8-.1-.8-1.3-1-1.8 0-.3-.2-.6-.4-.7-.3-.2-.5-.3-.8-.3-.6-.1-1.2 0-1.8-.2l-.8-.4-.4-.7c-.3-.6-.3-1.2-.5-1.8A4 4 0 0 0 1 8l-.4-.4v-.4c.2-.2.5-.2.7 0 .5.2.5.8 1 1.1V6.2s.3-.1.4 0l.2.5L3 9c.4-.4.6-1 .5-1.5L3.4 7l.3-.2c.2 0 .3.2.4.3v.7c0 .6-.3 1.1-.4 1.7-.2.4-.3 1-.1 1.4.1.5.5.9.9 1 .5.3 1.1.4 1.7.4-.4-.6-.7-1.2-.7-2 0-.7.4-1.3.6-2C6.3 7 5.7 5.8 4.8 5l-1.5-.7c-.4-.2-.7-.7-.7-1.2.3-.1.7 0 1 .1L5 4.5l.6.1c.2-.3 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