Browse Source

后台界面调整

tags/6.0.0
tianya 3 years ago
parent
commit
143a007bc5
22 changed files with 74 additions and 55 deletions
  1. BIN
      src/dede/images/alb1.gif
  2. BIN
      src/dede/images/alb1.jpg
  3. BIN
      src/dede/images/alb2.gif
  4. BIN
      src/dede/images/alb2.jpg
  5. BIN
      src/dede/images/alb3.gif
  6. BIN
      src/dede/images/alb3.jpg
  7. BIN
      src/dede/images/g_t1.gif
  8. BIN
      src/dede/images/g_t1.jpg
  9. BIN
      src/dede/images/g_t2.gif
  10. BIN
      src/dede/images/g_t2.jpg
  11. BIN
      src/dede/images/g_t3.gif
  12. BIN
      src/dede/images/g_t3.jpg
  13. BIN
      src/dede/images/g_t4.gif
  14. BIN
      src/dede/images/g_t4.jpg
  15. +1
    -1
      src/dede/js/main.js
  16. +6
    -6
      src/dede/templets/album_add.htm
  17. +7
    -6
      src/dede/templets/album_edit.htm
  18. +4
    -4
      src/dede/templets/catalog_edit.htm
  19. +15
    -8
      src/dede/templets/freelist_add.htm
  20. +40
    -29
      src/dede/templets/mytag_tag_guide.htm
  21. BIN
      src/static/defaultpic.gif
  22. +1
    -1
      src/templets/default/index.htm

BIN
src/dede/images/alb1.gif View File

Before After
Width: 100  |  Height: 83  |  Size: 4.7KB

BIN
src/dede/images/alb1.jpg View File

Before After
Width: 130  |  Height: 130  |  Size: 2.1KB

BIN
src/dede/images/alb2.gif View File

Before After
Width: 100  |  Height: 83  |  Size: 3.5KB

BIN
src/dede/images/alb2.jpg View File

Before After
Width: 130  |  Height: 130  |  Size: 1.5KB

BIN
src/dede/images/alb3.gif View File

Before After
Width: 100  |  Height: 83  |  Size: 3.5KB

BIN
src/dede/images/alb3.jpg View File

Before After
Width: 130  |  Height: 130  |  Size: 3.0KB

BIN
src/dede/images/g_t1.gif View File

Before After
Width: 130  |  Height: 110  |  Size: 3.9KB

BIN
src/dede/images/g_t1.jpg View File

Before After
Width: 130  |  Height: 130  |  Size: 3.8KB

BIN
src/dede/images/g_t2.gif View File

Before After
Width: 130  |  Height: 110  |  Size: 4.0KB

BIN
src/dede/images/g_t2.jpg View File

Before After
Width: 130  |  Height: 130  |  Size: 3.0KB

BIN
src/dede/images/g_t3.gif View File

Before After
Width: 200  |  Height: 146  |  Size: 6.8KB

BIN
src/dede/images/g_t3.jpg View File

Before After
Width: 130  |  Height: 130  |  Size: 2.5KB

BIN
src/dede/images/g_t4.gif View File

Before After
Width: 200  |  Height: 146  |  Size: 5.0KB

BIN
src/dede/images/g_t4.jpg View File

Before After
Width: 130  |  Height: 130  |  Size: 2.8KB

+ 1
- 1
src/dede/js/main.js View File

@@ -759,7 +759,7 @@ $(document).ready(function () {
// 截取缩略图
function SetThumb(srcURL) {
var footer =
"<p><a href='javascript:useDefault(\"~modalID~\");' class='btn btn-outline-primary'>使用原图</a> <a href='?' class='btn btn-outline-primary' data-dismiss='modal' aria-label='Close'>确定</a></p>";
"<p><a href='javascript:useDefault(\"~modalID~\");' class='btn btn-secondary'>使用原图</a> <a href='?' class='btn btn-secondary' data-dismiss='modal' aria-label='Close'>确定</a></p>";
var optButton = `<p><div class="form-group">
<label for="aspectRatio">比例</label>
<select class="form-control" id="aspectRatio" onchange="setAspectRatio(this.selectedIndex)">


+ 6
- 6
src/dede/templets/album_add.htm View File

@@ -254,17 +254,17 @@
<tr>
<td width="90">&nbsp;<b>表现方式:</b></td>
<td>
<input name="pagestyle" class="np" type="radio" id="pagestyle1" onClick="checkMuList()" value="1"
<label><input name="pagestyle" class="np" type="radio" id="pagestyle1" onClick="checkMuList()" value="1"
<?php if($cfg_album_style==1) echo " checked='checked'"; ?> />
<img src='images/alb2.gif' alt='单页多图样式' title='单页多图样式' />
<img src='images/alb2.jpg' alt='单页多图样式' title='单页多图样式' /></label>
&nbsp;&nbsp;
<input name="pagestyle" class="np" type="radio" id="pagestyle2" onClick="checkMuList()" value="2"
<label><input name="pagestyle" class="np" type="radio" id="pagestyle2" onClick="checkMuList()" value="2"
<?php if($cfg_album_style==2) echo " checked='checked'"; ?> />
<img src='images/alb1.gif' alt='幻灯片样式' title='幻灯片样式' />
<img src='images/alb1.jpg' alt='幻灯片样式' title='幻灯片样式' /></label>
&nbsp;&nbsp;
<input name="pagestyle" class="np" type="radio" id="pagestyle3" onClick="checkMuList()" value="3"
<label><input name="pagestyle" class="np" type="radio" id="pagestyle3" onClick="checkMuList()" value="3"
<?php if($cfg_album_style==3) echo " checked='checked'"; ?> />
<img src='images/alb3.gif' alt='多缩略图样式' title='多缩略图样式' />
<img src='images/alb3.jpg' alt='多缩略图样式' title='多缩略图样式' /></label>
</td>
</tr>
</table>


+ 7
- 6
src/dede/templets/album_edit.htm View File

@@ -344,12 +344,13 @@ if($cfg_need_typeid2=='Y') {
<td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="90">&nbsp;表现方式:</td>
<td><input name="pagestyle" class="np" type="radio" id="pagestyle1" onClick="checkMuList()" value="1"<?php if($pagestyle==1) echo " checked='checked'"; ?> />
<img src='images/alb2.gif' alt='单页多图样式' title='单页多图样式' /> &nbsp;&nbsp;
<input name="pagestyle" class="np" type="radio" id="pagestyle2" onClick="checkMuList()" value="2"<?php if($pagestyle==2) echo " checked='checked'"; ?> />
<img src='images/alb1.gif' alt='幻灯片样式' title='幻灯片样式' /> &nbsp;&nbsp;
<input name="pagestyle" class="np" type="radio" id="pagestyle3" onClick="checkMuList()" value="3"<?php if($pagestyle==3) echo " checked='checked'"; ?>/>
<img src='images/alb3.gif' alt='多缩略图样式' title='多缩略图样式' /></td>
<td>
<label><input name="pagestyle" class="np" type="radio" id="pagestyle1" onClick="checkMuList()" value="1"<?php if($pagestyle==1) echo " checked='checked'"; ?> />
<img src='images/alb2.jpg' alt='单页多图样式' title='单页多图样式' /></label>&nbsp;&nbsp;
<label><input name="pagestyle" class="np" type="radio" id="pagestyle2" onClick="checkMuList()" value="2"<?php if($pagestyle==2) echo " checked='checked'"; ?> />
<img src='images/alb1.jpg' alt='幻灯片样式' title='幻灯片样式' /></label> &nbsp;&nbsp;
<label><input name="pagestyle" class="np" type="radio" id="pagestyle3" onClick="checkMuList()" value="3"<?php if($pagestyle==3) echo " checked='checked'"; ?>/>
<img src='images/alb3.jpg' alt='多缩略图样式' title='多缩略图样式' /></label></td>
</tr>
</table></td>
</tr>


+ 4
- 4
src/dede/templets/catalog_edit.htm View File

@@ -364,12 +364,12 @@ $i = 0;
style="border:1px solid #cfcfcf;background:#ffffff;display:none;text-align:left;" id="adset" class="table">
<tr>
<td class='bline' width="150" height="24" style="padding-left:10px;">多站点支持:</td>
<td class='bline'> <input name="moresite" type="radio" class="np" value="0"
<td class='bline'> <label><input name="moresite" type="radio" class="np" value="0"
<?php if($myrow['moresite']==0) echo " checked='1' ";?> />
不启用
<input type="radio" name="moresite" class="np" value="1"
不启用</label>
<label><input type="radio" name="moresite" class="np" value="1"
<?php if($myrow['moresite']==1) echo " checked='1' ";?> />
启用 </td>
启用</label> </td>
</tr>
<tr>
<td height="24" bgcolor="#F9FCEF" style="padding-left:10px;">说明:</td>


+ 15
- 8
src/dede/templets/freelist_add.htm View File

@@ -166,15 +166,22 @@
<td height="72" align="left">
<table width="99%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25%" height="126"><img src="images/g_t2.gif" width="130" height="100">
<input name="liststyle" type="radio" onClick="ChangeListStyle()" value="1">
<td width="25%" height="126">
<label><img src="images/g_t2.jpg" width="130" height="100">
<input name="liststyle" type="radio" onClick="ChangeListStyle()" value="1"></label>
</td>
<td width="25%"><img src="images/g_t1.gif" width="130" height="110">
<input type="radio" onClick="ChangeListStyle()" name="liststyle" value="2"></td>
<td width="25%"><img src="images/g_t3.gif" width="130" height="110">
<input type="radio" onClick="ChangeListStyle()" name="liststyle" value="3"></td>
<td><img src="images/g_t4.gif" width="130" height="110"> <input name="liststyle" type="radio"
onClick="ChangeListStyle()" value="4" checked></td>
<td width="25%">
<label><img src="images/g_t1.jpg" width="130" height="110">
<input type="radio" onClick="ChangeListStyle()" name="liststyle" value="2"></label>
</td>
<td width="25%">
<label><img src="images/g_t3.jpg" width="130" height="110">
<input type="radio" onClick="ChangeListStyle()" name="liststyle" value="3"></label>
</td>
<td>
<label><img src="images/g_t4.jpg" width="130" height="110"> <input name="liststyle" type="radio"
onClick="ChangeListStyle()" value="4" checked></label>
</td>
</tr>
</table>
</td>


+ 40
- 29
src/dede/templets/mytag_tag_guide.htm View File

@@ -8,27 +8,12 @@
<link rel="stylesheet" href="../static/css/bootstrap.min.css">
<link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="css/base.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
function ChangeListStyle() {
var itxt = document.getElementById("myinnertext");
var myems = document.getElementsByName("liststyle");
if (myems[0].checked) itxt.value = document.getElementById("list1").innerHTML;
else if (myems[1].checked) itxt.value = document.getElementById("list2").innerHTML;
else if (myems[2].checked) itxt.value = document.getElementById("list3").innerHTML;
else if (myems[3].checked) itxt.value = document.getElementById("list4").innerHTML;
itxt.value = itxt.value.replace("<BR>", "<BR/>");
itxt.value = itxt.value.toLowerCase();
}
function DoSubmit(j) {
document.form1.dopost.value = j;
document.form1.submit();
}
function SelectArcList(fname) {
var posLeft = 10;
var posTop = 10;
window.open("content_select_list.php?f=" + fname, "selArcList", "scrollbars=yes,resizable=yes,statebar=no,width=700,height=500,left=" + posLeft + ", top=" + posTop);
}
</script>
<link rel="stylesheet" type="text/css" href="css/codemirror.css">
<script type="text/javascript" src="js/codemirror.js"></script>
<script type="text/javascript" src="js/mode/xml/xml.js"></script>
<script type="text/javascript" src="js/mode/javascript/javascript.js"></script>
<script type="text/javascript" src="js/mode/css/css.js"></script>
<script type="text/javascript" src="js/mode/htmlmixed/htmlmixed.js"></script>
</head>
<body background='images/allbg.gif' leftmargin='8' topmargin='8'>
@@ -78,18 +63,18 @@
<table width="99%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25%" height="126">
<img src="images/g_t2.gif" width="130" height="100" />
<label><img src="images/g_t2.jpg" width="130" height="100" />
<input name="liststyle" class="np" type="radio" onClick="ChangeListStyle()" value="1"
checked='1' /> </td>
checked='1' /></label> </td>
<td width="25%">
<img src="images/g_t1.gif" width="130" height="110" />
<input type="radio" class="np" onClick="ChangeListStyle()" name="liststyle" value="2" /> </td>
<label><img src="images/g_t1.jpg" width="130" height="110" />
<input type="radio" class="np" onClick="ChangeListStyle()" name="liststyle" value="2" /></label></td>
<td width="25%">
<img src="images/g_t3.gif" width="130" height="110" />
<input type="radio" class="np" onClick="ChangeListStyle()" name="liststyle" value="3" /> </td>
<label><img src="images/g_t3.jpg" width="130" height="110" />
<input type="radio" class="np" onClick="ChangeListStyle()" name="liststyle" value="3" /></label></td>
<td>
<img src="images/g_t4.gif" width="130" height="110" />
<input type="radio" class="np" onClick="ChangeListStyle()" name="liststyle" value="4" /> </td>
<label><img src="images/g_t4.jpg" width="130" height="110" />
<input type="radio" class="np" onClick="ChangeListStyle()" name="liststyle" value="4" /></label></td>
</tr>
</table>
</td>
@@ -222,6 +207,32 @@
</tr>
</table>
</center>
<script language="JavaScript">
var editor = CodeMirror.fromTextArea(document.getElementById('myinnertext'), {
lineNumbers: true,
lineWrapping: true,
mode: 'text/html'
});
function ChangeListStyle() {
var itxt = document.getElementById("myinnertext");
var myems = document.getElementsByName("liststyle");
if (myems[0].checked) editor.setValue(document.getElementById("list1").innerHTML);
else if (myems[1].checked) editor.setValue(document.getElementById("list2").innerHTML);
else if (myems[2].checked) editor.setValue(document.getElementById("list3").innerHTML);
else if (myems[3].checked) editor.setValue(document.getElementById("list4").innerHTML);
itxt.value = itxt.value.replace("<BR>", "<BR/>");
itxt.value = itxt.value.toLowerCase();
}
function DoSubmit(j) {
document.form1.dopost.value = j;
document.form1.submit();
}
function SelectArcList(fname) {
var posLeft = 10;
var posTop = 10;
window.open("content_select_list.php?f=" + fname, "selArcList", "scrollbars=yes,resizable=yes,statebar=no,width=700,height=500,left=" + posLeft + ", top=" + posTop);
}
</script>
</body>
</html>

BIN
src/static/defaultpic.gif View File

Before After
Width: 125  |  Height: 114  |  Size: 1.6KB Width: 500  |  Height: 500  |  Size: 20KB

+ 1
- 1
src/templets/default/index.htm View File

@@ -103,7 +103,7 @@
</div>
<div class="row">
<div class="col-12 col-lg-9 index-left">
<div class="spec">
<div class="spec row">
<div class="col-md-12">
<div class="dede-title">
<h4 class="dede">图文资讯</h4>


Loading…
Cancel
Save