mirror of
https://github.com/haiwen/seahub.git
synced 2025-10-22 11:43:33 +00:00
[history]modified 'back' btn
This commit is contained in:
@@ -835,8 +835,8 @@ ul.with-bg li {
|
|||||||
margin-top:8px;
|
margin-top:8px;
|
||||||
}
|
}
|
||||||
/* repo-history */
|
/* repo-history */
|
||||||
#history-back-to-repo {
|
#back {
|
||||||
margin-top:5px;
|
margin-top:3px;
|
||||||
}
|
}
|
||||||
.commit-list {
|
.commit-list {
|
||||||
margin:0 0 20px;
|
margin:0 0 20px;
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
{% block main_panel %}
|
{% block main_panel %}
|
||||||
<div class="w100 ovhd">
|
<div class="w100 ovhd">
|
||||||
<h2 class="fleft">{{repo.props.name}} 镜像查看</h2>
|
<h2 class="fleft">{{repo.props.name}} 镜像查看</h2>
|
||||||
<button data="{{ SITE_ROOT }}repo/history/{{ repo.props.id }}/" class="fright" id="history-back-to-repo">返回修改历史</button>
|
<button data="{{ SITE_ROOT }}repo/history/{{ repo.props.id }}/" class="fright" id="back">返回修改历史</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="commit-list-outer-container">
|
<div class="commit-list-outer-container">
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
{% block extra_script %}
|
{% block extra_script %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
{% include 'snippets/list_commit_detail.html' %}
|
{% include 'snippets/list_commit_detail.html' %}
|
||||||
$('#history-back-to-repo').click(function() {
|
$('#back').click(function() {
|
||||||
location.href = $(this).attr('data');
|
location.href = $(this).attr('data');
|
||||||
});
|
});
|
||||||
addConfirmTo($(".repo-revert"), '确定要还原该目录?');
|
addConfirmTo($(".repo-revert"), '确定要还原该目录?');
|
||||||
|
Reference in New Issue
Block a user