Dedecms有自定义表单功能,方便我们收集用户信息。但是如果使用过这个功能的朋友就会知道,织梦这个自定义表单后台列表样式真的不好看。
我们修改后的样式如下,看起来是不是更简洁清爽了呢!
下面修改/你的网站后台(默认dede)/templets/diy_list.htm文件,全部代码如下:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=">
<title>php echo $diy->name;?>title>
<link rel="nofollow" href="css/base.css" rel="stylesheet" type="text/css" />
head>
<body background='images/allbg.gif' leftmargin='8' topmargin='8'>
<div class="bodytitle">
<div class="bodytitleleft">div>
<div class="bodytitletxt" style="padding-left:10px;">php echo $diy->name;?>内容列表div>
div>
<form action="diy_list.php" method="post">
<input type="hidden" name="diyid" value="" />
<table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#CFCFCF;">
<tr>
<td colspan="3" height="28" background='images/tbg.gif'>
<div style='float:left'> <a rel="nofollow" href='diy_main.php'><b>自定义表单管理b>a> > <b>内容列表b>div>
<div style='float:right;padding-right:8px;'>
<a rel="nofollow" href="../plus/diy.php?action=list&diyid=diyid; ?>" target="_blank"><img src='images/gtk-tmp.png' align='left' title="预览" alt="预览" /><u>前台预览u>a>
div>
td>
tr>
<tr><td colspan="3" bgcolor="#ffffff">
<table