-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第一次按照,按照教程,也按照6.14更新,但是点击公开模板就是500 #22
Comments
@zasl |
root@N1:~# docker logs qiandao 麻烦您看下,N1刷的openwrt |
@zasl |
好的,我尝试一下,我是从b站的教程中知道这里的,看到b站的回复有群晖跟我情况是一样的。我现在重新安装去。 |
小白一个,您看下我这个是可以的吗?如果可以,请问如何防火墙放行? root@N1:~# curl https://gitee.com/qiandao-today/templates <title>qiandao-today/templates</title> <script> // </script> <script src="https://assets.gitee.com/assets/static/sentry-5.1.0-109ee3d8895a239331efcf947ba7f5d8.js"></script> <script src="https://assets.gitee.com/assets/application-8d83c53f15d6975246585d5511eb1300.js"></script> <script src="https://assets.gitee.com/assets/lib/jquery.timeago.zh-CN-9c36ca7c4899a28168320613879d208a.js"></script> <script src="https://assets.gitee.com/assets/projects/app-260a76a1a3758198520d2e861578dc8a.js"></script> <script src="//res.wx.qq.com/open/js/jweixin-1.2.0.js"></script> <script> var title = document.title.replace(/( - Gitee| - 码云)$/, '') imgUrl = ''; document.addEventListener('DOMContentLoaded', function(event) { var imgUrlEl = document.querySelector('.readme-box .markdown-body > img, .readme-box .markdown-body :not(a) > img'); imgUrl = imgUrlEl && imgUrlEl.getAttribute('src'); if (!imgUrl) { imgUrlEl = document.querySelector('meta[itemprop=image]'); imgUrl = imgUrlEl && imgUrlEl.getAttribute('content'); imgUrl = imgUrl || "https://gitee.com/static/images/logo_themecolor.png"; } wx.config({ debug: false, appId: "wxff219d611a159737", timestamp: "1600158934", nonceStr: "ea30a58938b72b6187af6d0704031454", signature: "ac7e59ad1529845fbf6b4fb4c38c1870897371f4", jsApiList: [ 'onMenuShareTimeline', 'onMenuShareAppMessage' ] }); wx.ready(function () { wx.onMenuShareTimeline({ title: title, // 分享标题 link: "https://gitee.com/qiandao-today/templates", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 imgUrl: imgUrl // 分享图标 }); wx.onMenuShareAppMessage({ title: title, // 分享标题 link: "https://gitee.com/qiandao-today/templates", // 分享链接,该链接域名或路径必须与当前页面对应的公众号JS安全域名一致 desc: document.querySelector('meta[name=Description]').getAttribute('content'), imgUrl: imgUrl // 分享图标 }); }); wx.error(function(res){ console.error('err', res) }); }) </script> <script type='text/x-mathjax-config'> MathJax.Hub.Config({ tex2jax: { inlineMath: [['$','$'], ['\\(','\\)']], displayMath: [["$$","$$"],["\\[","\\]"]], processEscapes: true, skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'], ignoreClass: "container|files", processClass: "markdown-body" } }); </script> <script src="https://assets.gitee.com/uploads/resources/MathJax-2.7.2/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> <script> (function () { var messages = { 'zh-CN': { addResult: '增加 {term}', count: '已选择 {count}', maxSelections: '最多 {maxCount} 个选择', noResults: '未找到结果', serverError: '连接服务器时发生错误' }, 'zh-TW': { addResult: '增加 {term}', count: '已選擇 {count}', maxSelections: '最多 {maxCount} 個選擇', noResults: '未找到結果', serverError: '連接服務器時發生錯誤' } } if (messages[gon.locale]) { $.fn.dropdown.settings.message = messages[gon.locale] } }()); </script> <script> var userAgent = navigator.userAgent; var isLessIE11 = userAgent.indexOf('compatible') > -1 && userAgent.indexOf('MSIE') > -1; if(isLessIE11){ var can_access = "" if (can_access != "true"){ window.location.href = "/incompatible.html"; } } </script>登录 ' + '' + '{2}' + ' ';
notify_content = null;
notify_options = {};
alertTip = '';
$error_box = $(".flash_error.flash_error_box");
if (notify_options.type === 'error' && $error_box.length > 0 && !$.isEmptyObject(notify_content.message)) {
if (notify_content.message === 'captcha_fail') {
alertTip = "验证码不正确";
} else if (notify_content.message === 'captcha_expired') {
alertTip = "验证码已过期,请点击刷新";
} else if (notify_content.message === 'not_found_in_database') {
alertTip = "帐号或者密码错误";
} else if (notify_content.message === 'not_found_and_show_captcha') {
alertTip = "帐号或者密码错误";
} else if (notify_content.message === 'phone_captcha_fail') {
alertTip = "手机验证码不通过";
} else {
alertTip = notify_content.message;
}
return $error_box.html(alertTip).show();
} else if (notify_content) {
if ("show" === 'third_party_binding') {
return $('#third_party_binding-message').html(notify_content.message).addClass('ui message red');
}
notify_options.delay = 3000;
notify_options.template = template;
notify_options.offset = {
x: 10,
y: 30
};
notify_options.element = '#messages-container';
return $.notify(notify_content, notify_options);
}
});
}).call(this); }).call(this);
代码拉取完成,页面将自动刷新
$('.metrics-radar').dropdown({ action: 'nothing' }); .git-project-nav .dropdown .menu.hidden:after {
该仓库未指定开源许可证,未经作者的许可,此代码仅用于学习,不能用于其他用途。
项目仓库所选许可证以仓库主分支所使用许可证为准
暂无描述
展开
收起
保存更改
取消
if (false) { $('i.help.circle.icon').popup({ $('#remove-no-license-message').on('click', function(){
<script>
$('.disabled-upload-readonly').popup({
content: "只读目录不允许上传文件",
className: {
popup: 'ui popup',
},
position: 'bottom center',
})
$('.disabled-create-folder').popup({
content: "只读目录不允许创建目录",
className: {
popup: 'ui popup',
},
position: 'bottom center',
})
$('.disabled-create-file').popup({
content: "只读目录不允许创建文件",
className: {
popup: 'ui popup',
},
position: 'bottom center',
})
$('.disabled-upload-readonly').click(() => {
return false
})
$('.disabled-create-folder').click(() => {
return false
})
$('.disabled-create-file').click(() => {
return false
})
</script>
<style>
.disabled-upload-readonly, .disabled-create-file, .disabled-create-folder {
background-color: #dcddde !important;
color: rgba(0, 0, 0, 0.4) !important;
opacity: 0.3 !important;
background-image: none !important;
-webkit-box-shadow: none !important;
box-shadow: none !important; }
</style>
克隆/下载
HTTPS
SSH
SVN
SVN+SSH
复制
下载ZIP
登录提示
该操作需登录码云帐号,请先登录后再操作。
立即登录
没有帐号,去注册
$elm.on('click', function() {
}).call(this);
<style>
.iconfont.icon-shieldlock {
color: #8c92a4;
}
</style>
<script>
$(function () {
Gitee.initTabsInDropdown($('#git-project-branch').dropdown({
fullTextSearch: true,
selectOnKeydown: true,
action: function (text,value,el) {
var oItemOrInitObject = el[0] || el
var isNotSelect = oItemOrInitObject.dataset.tab && oItemOrInitObject.dataset.tab === 'branches'
if(isNotSelect){
console.warn("You didn't choose a branch")
return
}
var path = $('#path').val();
var href = ['/qiandao-today/templates/tree', encodeURIComponent(value), path].join('/');
window.location.href = href;
return true
},
onNoResults: function (searchTerm) {
//未找到结果
return true
},
}));
$('.protected-branch-popup').popup()
})
</script>
' + $('#path-breadcrumb').html() + '
<style>
.team-member-checkbox .ui.radio.checkbox.checked label:after {
top: 7px !important; }
</style>
')
} else {
$('#path-breadcrumb').show();
}
}
window.pathAutoRender = pathAutoRender;
pathAutoRender();
})();
</script>
<script>
var $treeContentHolder = $('#tree-content-holder'),
$recentBuildState = $('#recent-build-state');
if($treeContentHolder.length && $recentBuildState.length){
var buildState = $treeContentHolder.data('build-state');
if(buildState){
$recentBuildState.removeClass('hidden').addClass('icon-ci-' + buildState);
}
}
</script>
提交
取消
提示:
由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
保存
取消
Loading...
README.md
整理qiandao.today可用的har鸣谢呆贼 网站Tips:
toMathMlCode('','markdown-body')
捐赠
}).call(this);
新标签打开
复制
重命名
删除
</script>
<script>
$(function() {
var $createFolderForm = $('.create-folder-form'),
$createFolderSubmitBtn = $('.create-folder-form .js-submit-btn')
$folderPath = $('#new_folder_path'),
$message = $('.create-folder-form .notice'),
folders = [],
folderReg = new RegExp(/\/+/);
var INDEX_BEGIN_WITH_READONLY_DIR = 0
var gitGCModal = new GiteeModalHelper({
approveText: "确认",
cancelText: "取消",
okText: "确认",
})
function checkFolder(folder) {
var i, itemArr;
if (folder == '') {
return false;
}
for (i = 0; i< folders.length; i++) {
itemArr = folders[i].split('/');
if (itemArr[0] == folder){
return true
}
}
return false;
}
function createFolderShow () {
$createFolderForm.show();
$folderPath.focus();
}
$('.create-folder-form .cancel').click(function () {
$createFolderForm.hide();
})
$folderPath.on('input', function (e) {
if($(this).parent().hasClass('error')) {
$message.removeClass('warn').html("提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件");
$(this).parent().removeClass('error');
}
$createFolderSubmitBtn.removeClass('disabled');
})
$createFolderForm.submit(function (e) {
var value = $folderPath.val();
if (!folderReg.test(value) && !checkFolder(value) && value) {
$('#new_file_path').val(value + '/.keep');
} else {
$message.addClass('warn').html("文件夹名不为空,不含有字符(/)且不能与当前目录文件夹同名");
$folderPath.parent().addClass('error');
e.preventDefault();
}
$createFolderSubmitBtn.addClass('disabled');
})
$('#create-folder').click(createFolderShow);
window.createFolderShow = createFolderShow;
window.hasTreeContextMenu = false;
var contextMenuTemplate = $('#tree-item-context-menu-template').html();
if ("true" == "false" || "true" == "false" || "false" == "false") {
return;
}
function createContextMenu($item, x, y) {
if (hasTreeContextMenu) {
$('.tree-context').remove();
hasTreeContextMenu = false;
return;
}
hasTreeContextMenu = true;
var path = $item.parent().find('a').attr('href');
var $menu = $(contextMenuTemplate).appendTo('body');
let readonly = $item.attr('data-readonly') !== undefined
if ($('.btn-readonly')[0]) {
if (readonly) {
$('.btn-readonly')[0].children[0].className = 'icon unlock'
$('.btn-readonly')[0].lastChild.data = "取消只读"
} else {
$('.btn-readonly')[0].lastChild.data = "标记为只读"
}
}
$menu.css({ left: x, top: y });
$menu.find('.btn-open-new-tab').attr({
href: path,
target: '_blank'
});
window.Clipboard && new Clipboard('.btn-copy', {
text: function () {
return $item.find('a').text();
}
});
$menu.find('.btn-rename').on('click', function(event) {
rename($item.parent().attr('file_hex'));
});
$menu.find('.btn-delete').on('click', function(event) {
removeFile($item.parent().next().find('.ui.form').attr('path').replace(/\+/g, '%20'), $item.find('a').text());
})
$menu.find('.btn-readonly').on('click', function(event) {
var obj = $item.parent().next().find('.ui.form').attr('path').replace(/\+/g, '%20')
let readonly = $item.attr('data-readonly') !== undefined
if (readonly) {
removeReadonlyMark(obj, $item)
} else {
addReadonlyMark(obj, $item)
}
})
$menu.find('.btn-readonly-is-uncharged-enterprise').popup({
content: "仅付费企业仓库可开启文件只读功能",
className: {
popup: 'ui popup',
},
position: 'bottom center'
})
$menu.find('.btn-readonly-is-open-svn').popup({
content: "仓库已开启 SVN 支持,无法标记只读文件/目录",
className: {
popup: 'ui popup',
},
position: 'bottom center'
})
}
var editing = false
$(document).on('click',function(event){
if (hasTreeContextMenu && event.button !== 2) {
setTimeout(function () {
$('.tree-context').remove();
hasTreeContextMenu = false;
}, 200);
}
})
$('.tree-item').on('click',function(event){
if (hasTreeContextMenu) {
event.preventDefault();
}
})
function isReadonly(path) {
if (!gon.readonlyItems) {
return false
} else {
let item_path = getItemPath(path, 'folder')
return isTreeItemReadonly(item_path, gon.readonlyItems)
}
}
function isParentsReadonly(path) {
let self_path = path.replace(/\/$/, '')
let parentPathArray = self_path.split('/')
if (parentPathArray.length < 2) {
return false
}
parentPathArray.pop()
let parentPath = parentPathArray.join('/') + '/'
return isReadonly(parentPath)
}
// 删除只读标记
function removeReadonlyMark(path, $item) {
var $icon = $($item.context.children[0])
var $parent = $item.parent('.tree-item')
var type = $parent.data('type')
var branch = $parent.data('branch')
var readonly_item = $item.data('path')
if (type !== 'file') {
readonly_item += "/"
}
var confirmString = `
所属分支: 文件路径: 所属分支: 文件路径: 点评 ( 0 )
正在加载...
}) 你可以在登录后,发表评论
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
举报类型
请选择举报类型
举报原因
<textarea class='appeal-reason' id='appeal-comment-reason' name='msg' placeholder='请说明举报原因' rows='3'></textarea>
取消
发送
function initCommentsTypeList() { " + data[i].name + " ";} $complainCommentType.find('.menu').html(result); } }); $complainCommentType.dropdown({showOnFocus: false}); initedCommentsType = true; } } $complainCommentType.on('click', function() { $complaintCommentsModal.modal({ autofocus: false, onApprove: function() { return false; }, onHidden: function() { restoreCommonentDefault(); } }).modal('show'); }); $complaintCommentsContent.on('change keyup', function(e) { $complainCommentType.dropdown({ function restoreCommonentDefault() { $complaintCommentBtn.on('click',function(e){ function showCommonTips(text, type) { function setCommentSendStatus(value) { function setCommentSendTip(value) { }).call(this);
}).call(this); 1
https://gitee.com/qiandao-today/templates.git
git@gitee.com:qiandao-today/templates.git
qiandao-today
templates
templates
master
深圳市奥思网络科技有限公司版权所有
点此查找更多帮助
搜索帮助
$(function() {
})
分享到
评论
仓库举报
<script>
$('.toolbar-appeal').popup({ position: 'left center' });
</script>
回到顶部
登录提示
该操作需登录码云帐号,请先登录后再操作。
立即登录
没有帐号,去注册
$elm.on('click', function() {
}) |
@zasl |
谢谢您 |
解决了解决了,谢谢您,按照那个方法解决了,我接受转发的选项选错了。 |
我也遇到了同样的问题。点击公共模板就弹500。N1的docker环境,想详细了解你是怎么解决的,我是个小白 |
求助 N1 armbian5.77+docker 签到6.24 下载安装还是好的, 今天重装了下, 安装签到就报错了,已经重装2遍了。 |
第一次按照,按照教程,也按照6.14注册admin,但是点击公开模板就是500
The text was updated successfully, but these errors were encountered: