update
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
this.websocket = null
|
this.websocket = null
|
||||||
this.uuid = (new Date().getTime().toString(16) + Math.random().toString(16).substr(2)).substr(2, 16)
|
this.uuid = (new Date().getTime().toString(16) + Math.random().toString(16).substr(2)).substr(2, 16)
|
||||||
this.current_page_num = 1
|
this.current_page_num = 1
|
||||||
this.default_page_size = 12
|
this.default_page_size = 15
|
||||||
}
|
}
|
||||||
|
|
||||||
DefaultView.prototype = {
|
DefaultView.prototype = {
|
||||||
@@ -86,14 +86,14 @@
|
|||||||
results.forEach(function (item) {
|
results.forEach(function (item) {
|
||||||
const uuid = me.get_uu_id()
|
const uuid = me.get_uu_id()
|
||||||
const content = `
|
const content = `
|
||||||
<div class="card col-3" style="margin: 6px;margin-left: 20px;" id='card_${uuid}'>
|
<div class="card col-2" style="margin: 6px;margin-left: 20px;" id='card_${uuid}'>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="card-title" style="margin-bottom: 0px;text-overflow:ellipsis;font-weight:bold;line-height: 1rem">${item.coop_mind_name}</div>
|
<div class="card-title" style="margin-bottom: 0px;font-weight:bold;text-overflow:ellipsis;white-space:nowrap;overflow: hidden;">${item.coop_mind_name}</div>
|
||||||
<hr style="margin: 0">
|
<hr style="margin: 0">
|
||||||
<div style="height: 80px;"></div>
|
<img src="/static/pic/demo_icon.png" class="card-img-top" style="margin-top: 8px;">
|
||||||
<div style="text-align:right;">
|
<div style="text-align:right;font-size: 0.8rem;margin-top: 5px;font-family: inherit;">
|
||||||
<a href="#" class="btn btn-info" onclick="window.open('detail?id=${item.id}')">编辑</a>
|
<a class="" href="javascript:void(0);" onclick="window.open('detail?id=${item.id}')">编辑</a>
|
||||||
<a href="#" class="btn btn-info" onclick="mind.del_mind(${item.id},'card_${uuid}')">删除</a>
|
<a class="" href="javascript:void(0);" onclick="mind.del_mind(${item.id},'card_${uuid}')">删除</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>`
|
</div>`
|
||||||
@@ -329,6 +329,7 @@
|
|||||||
/** modal 显示完毕后事件*/
|
/** modal 显示完毕后事件*/
|
||||||
$('#newMindModal').on('shown.bs.modal', function () {
|
$('#newMindModal').on('shown.bs.modal', function () {
|
||||||
const cookie_checked_ = $.cookie('open_aft_create')
|
const cookie_checked_ = $.cookie('open_aft_create')
|
||||||
|
$('#mindName').val('')
|
||||||
// 从cookie中获得的是字符串
|
// 从cookie中获得的是字符串
|
||||||
if (cookie_checked_ === 'true') {
|
if (cookie_checked_ === 'true') {
|
||||||
$('#exampleCheck1').attr('checked', 'checked')
|
$('#exampleCheck1').attr('checked', 'checked')
|
||||||
@@ -428,7 +429,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- navigation start-->
|
<!-- navigation start-->
|
||||||
<div id="pagination_div"></div>
|
<div id="pagination_div" style="margin-top: 15px;"></div>
|
||||||
<!-- navigation end-->
|
<!-- navigation end-->
|
||||||
</main>
|
</main>
|
||||||
<!-- 右侧内容 end-->
|
<!-- 右侧内容 end-->
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<link rel="stylesheet" type="text/css" href="/static/js/jsmind.css">
|
<link rel="stylesheet" type="text/css" href="/static/js/jsmind.css">
|
||||||
<style>
|
<style>
|
||||||
#jsmind_container {
|
#jsmind_container {
|
||||||
width: calc(100%);
|
width: calc(100rem);
|
||||||
height: calc(100%);
|
height: calc(100%);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -122,11 +122,10 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
|
||||||
<input type="button" value="折叠" onclick="xxObj.collapse_all()">
|
<input type="button" value="折叠" onclick="xxObj.collapse_all()">
|
||||||
<input type="button" value="展开" onclick="xxObj.expand_all()">
|
<input type="button" value="展开" onclick="xxObj.expand_all()">
|
||||||
</div>
|
</div>
|
||||||
<h3 id="h1" style="text-align: center;"></h3>
|
<h3 id="h1" style="text-align: center;"></h3>
|
||||||
<div id="jsmind_container"/>
|
<div id="jsmind_container"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -83,7 +83,7 @@ const modal = `
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--start-->
|
<!--modal-body start-->
|
||||||
<form>
|
<form>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<label for="mindName" class="sr-only"></label>
|
<label for="mindName" class="sr-only"></label>
|
||||||
@@ -97,7 +97,7 @@ const modal = `
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<!--end-->
|
<!--modal-body end-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -1 +0,0 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file-plus"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><polyline points="14 2 14 8 20 8"></polyline><line x1="12" y1="18" x2="12" y2="12"></line><line x1="9" y1="15" x2="15" y2="15"></line></svg>
|
|
||||||
|
Before Width: | Height: | Size: 431 B |
Reference in New Issue
Block a user