<%@ page contentType="text/html;charset=UTF-8" language="java" %>





<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>





<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>





<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>





<html>





<head>





<title> 文件存储管理系统</title><link type='text/css'  href="<bean:write name="SystemConfigApp" property="appContext"/>/com/goosaa/templete/default.css" rel='stylesheet' />





</head>





<body>





<div class="title_box">







<h1>文件存储管理系统  </h1>





</div>

<div id="content">

<a target="main" href="/store/file/web/admin/action/FileStoreAdminAction.do?method=initAddStorePermission">添加存储设置</a>



<a target="main"  href="/store/file/web/admin/action/FileStoreAdminAction.do?method=AddUploadDirFormInit">添加存储目录</a>

<a target="main"  href="/store/file/web/admin/action/FileStoreAdminAction.do?method=storeDirmanage">存储目录编辑</a>

  

<a target="main"  href="/store/file/web/admin/action/FileStoreAdminAction.do?method=permissionUPlaodAdmin">存储权限编辑</a>

<a target="main"  href="/storeFile/test.jsp">测试</a> 







</div>




<div id="content">存储目录列表</div><table  border='0' cellpadding='0' cellspacing='0' class="ListTable" width="700px" aligen="center">





<tr class="header"><td>ID</td><td>名称</td><td>本地路径</td><td>最大空间</td><td>当前已使用</td><td>可用空间</td><td>硬盘</td><td>系统关键字</td><td>编辑</td></tr>





<logic:iterate indexId="index" id="StoreWebFileBankItem" name="StoreWebFileBankList">











<tr class="ListEntrydataRow<%=index.intValue()%2%>">





<td class="tdColor1"  >





<logic:empty name="StoreWebFileBankItem" property="id">





&nbsp;</logic:empty>











<logic:notEmpty name="StoreWebFileBankItem" property="id">





<bean:write name="StoreWebFileBankItem" property="id"/>





</logic:notEmpty>











</td>





	





<td class="tdColor2" >





<logic:empty name="StoreWebFileBankItem" property="name">





&nbsp;</logic:empty>











<logic:notEmpty name="StoreWebFileBankItem" property="name">





<bean:write name="StoreWebFileBankItem" property="name"/>





</logic:notEmpty>











</td>





	





<td class="tdColor1"  >





<logic:empty name="StoreWebFileBankItem" property="localPath">





&nbsp;</logic:empty>











<logic:notEmpty name="StoreWebFileBankItem" property="localPath">





<bean:write name="StoreWebFileBankItem" property="localPath"/>





</logic:notEmpty>











</td>





	





<td class="tdColor2" >





<logic:empty name="StoreWebFileBankItem" property="maxSize">





&nbsp;</logic:empty>











<logic:notEmpty name="StoreWebFileBankItem" property="maxSize">





<bean:write name="StoreWebFileBankItem" property="maxSize"/>





</logic:notEmpty>











</td>





	





<td class="tdColor1"  >





<logic:empty name="StoreWebFileBankItem" property="currentSize">





&nbsp;</logic:empty>











<logic:notEmpty name="StoreWebFileBankItem" property="currentSize">





<bean:write name="StoreWebFileBankItem" property="currentSize"/>





</logic:notEmpty>











</td>





	





<td class="tdColor2" >





<logic:empty name="StoreWebFileBankItem" property="maxStoreSize">





&nbsp;</logic:empty>











<logic:notEmpty name="StoreWebFileBankItem" property="maxStoreSize">





<bean:write name="StoreWebFileBankItem" property="maxStoreSize"/>





</logic:notEmpty>











</td>





	





<td class="tdColor1"  >





<logic:empty name="StoreWebFileBankItem" property="yinPanName">





&nbsp;</logic:empty>











<logic:notEmpty name="StoreWebFileBankItem" property="yinPanName">





<bean:write name="StoreWebFileBankItem" property="yinPanName"/>





</logic:notEmpty>











</td>





	





<td class="tdColor2" >





<logic:empty name="StoreWebFileBankItem" property="systemKey">





&nbsp;</logic:empty>











<logic:notEmpty name="StoreWebFileBankItem" property="systemKey">





<bean:write name="StoreWebFileBankItem" property="systemKey"/>





</logic:notEmpty>











</td>





	<td class="tdColor1"  >





<a href="<bean:write name="SystemConfigApp" property="appContext"/>/action/daoAction/StoreWebFileBankAction.do?method=readView&forward=update&type=int&objectId=<bean:write name="StoreWebFileBankItem" property="id"/>"/>查看</a>





<a href="<bean:write name="SystemConfigApp" property="appContext"/>/action/daoAction/StoreWebFileBankAction.do?method=delete&type=int&objectId=<bean:write name="StoreWebFileBankItem" property="id"/>" onclick="return deleteStoreWebFileBank()"  >删除</a>





<a href="<bean:write name="SystemConfigApp" property="appContext"/>/action/daoAction/StoreWebFileBankAction.do?method=readUpdate&forward=update&type=int&objectId=<bean:write name="StoreWebFileBankItem" property="id"/>"/>更新</a>





</td>





</tr></logic:iterate>





</table>





<script language="javascript">





function deleteStoreWebFileBank(){





var value=confirm("是否确认删除存储目录");





	 if(value==true){





	 return true;





}	 else {return false;





}





	}











</script>





</body>





</html>