feat: add LLM (#8) #8
Annotations
1 warning
sync
[2024-11-19 17:48:59] Unknown html: $('.pages-pay-modal').remove()
$('.pages_message').html("<div class=\'pages-form-body padding-0\'>\n<div class=\'ui message info\' id=\'pages-message-tip\'>\n<li>Pages 服务仅供博客 / 门户 / 开源项目网站 / 开源项目静态效果演示用途,请勿用于违规内容,包括但不仅限于:<\/li>\n<li>- 发布诱导分享/诱导关注/诱导下载/诱导跳转内容<\/li>\n<li>- 发布欺诈/谣言/骚扰信息/广告信息/垃圾信息/特殊识别码、口令类信息<\/li>\n<li>- 发布低俗内容/“宗教性捐献”及相关信息<\/li>\n<li>- 发布侵害他人权利/违法经营及可疑服务类内容<\/li>\n<li>- 发布其它违反国家法律法规的内容<\/li>\n平台保留 Gitee Pages 及 Gitee Pages Pro 使用规则最终解释权,如发现上述违规行为,平台将视违规情况严重程度予以 Pages 服务封禁以至账号永久封禁惩罚。\n<\/div>\n<div class=\'ui message yellow\'>\n<li>开启 Pages 后会在部署公钥中添加 pages 服务器的公钥<\/li>\n<\/div>\n<p class=\'start-service-description\'>\n<span>\n已开启 Gitee Pages 服务,网站地址:\n<\/span>\n<a target=\"_blank\" href=\"https://doocs.gitee.io/awesome-ai\">https://doocs.gitee.io/awesome-ai<\/a>\n<\/p>\n<form class=\"ui form\" id=\"pages-branch\" action=\"/doocs/awesome-ai/pages\" accept-charset=\"UTF-8\" method=\"post\"><input name=\"utf8\" type=\"hidden\" value=\"✓\" /><input type=\"hidden\" name=\"_method\" value=\"delete\" /><input type=\"hidden\" name=\"authenticity_token\" value=\"cFM11HcmL2jMrqiECCxHJYIb3OOI6fUHgZ4Fl9p4+j4/fLrkbwNlFXcnEKw4bGPBBYdibo/1bakbg5xau2IuXg==\" /><div class=\'inline field\'>\n<label>部署分支<\/label>\n<\/div>\n<div class=\'inline field\'>\n<div class=\'ui top left pointing dropdown basic button branch-choose-wrap\'>\n<input type=\"hidden\" name=\"branch\" id=\"branch\" value=\"main\" />\n<div class=\'default text\'>main<\/div>\n<i class=\'dropdown icon\'><\/i>\n<div class=\'menu\'>\n<div class=\'ui left icon search input\'>\n<i class=\'search icon\'><\/i>\n<input placeholder=\'搜索分支\' type=\'text\'>\n<\/div>\n<div class=\'header page-header-container\'>分支 (1)<div class=\'pull-right\'>\n<a class=\"ui tiny label basic orange\" href=\"/Doocs/awesome-ai/branches\">管理<\/a><\/div><\/div>\n<div class=\'scrolling menu\'>\n<div class=\'item\' data-value=\'main\'>main<\/div>\n<\/div>\n<\/div>\n<\/div>\n<span class=\'input-right-text\'>选择您要部署的分支<\/span>\n<\/div>\n<div class=\'inline field\'>\n<label>部署目录<\/label>\n<\/div>\n<div class=\'inline field\'>\n<input type=\"text\" name=\"build_directory\" id=\"build_directory\" value=\"\" placeholder=\"如:不填(整个仓库)或 src 或 src/jekyll\" />\n<span class=\'input-right-text\'>填写您要部署的分支上的目录<\/span>\n<\/div>\n<div class=\'inline field\'>\n<div class=\'ui checkbox force-https-checkbox\'>\n<input type=\"checkbox\" name=\"force_https\" id=\"force_https\" value=\"1\" checked=\"checked\" />\n<label>强制使用 HTTPS<\/label>\n<\/div>\n<\/div>\n<div class=\'button disabled orange redeploy-button ui\'>\n更新\n<\/div>\n<input type=\"submit\" name=\"commit\" value=\"关闭\" onclick=\"return confirm('确定关闭 Gitee Pages 服务吗?')\" class=\"ui button gray close_pages\" />\n<span class=\'pages_message_loading hide\'>\n<div class=\'ui active inline loader\'><\/div>\n<\/span>\n<\/form>\n<\/div>\n<script>\n $(\'form#pages-branch input\').on(\'keydown\', function(e){\n if (e.which == 13) {\n e.preventDefault();\n $(\'.redeploy-button\').trigger(\'click\')\n }\n })\n $(\'.force-https-checkbox\').checkbox({fireOnInit: true})\n $(\'.auto-update-checkbox\').checkbox({fireOnInit: true})\n<\/script>\n")
$('.pages_message .ui.dropdown').dropdown();
|