Toggle navigation
Toggle navigation
This project
Loading...
Sign in
runsa
/
crm
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Anthony
2016-09-08 11:04:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
beb9b25a326785555fcc318cf71beb35ef6f7e20
beb9b25a
1 parent
8180f7c7
brand 模块化
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
66 additions
and
66 deletions
portal/portal.web/src/main/webapp/WEB-INF/views/brand/index.jsp
portal/portal.web/src/main/webapp/WEB-INF/views/brand/index.jsp
View file @
beb9b25
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored ="false" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<script type="text/javascript">
var sessionId = "<%=request.getSession().getId()%>";
var rootUrl ="<%=basePath%>";
</script>
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored ="false" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<script type="text/javascript">
var sessionId = "<%=request.getSession().getId()%>";
var rootUrl ="<%=basePath%>";
</script>
<style>
.importButton {
background: rgba(0, 0, 0, 0) url("css/default/images/portal/import.png") repeat-x scroll 0 0 / auto 100% !important;
height: 30px;
min-width: 70px;
padding: 0 5px;
}
<style>
.importButton {
background: rgba(0, 0, 0, 0) url("css/default/images/portal/import.png") repeat-x scroll 0 0 / auto 100% !important;
height: 30px;
min-width: 70px;
padding: 0 5px;
}
#btn-brand-import{
float: left;
}
#btn-brand-import .uploadify-queue{
display: inline-block;
}
</style>
#btn-brand-import{
float: left;
}
#btn-brand-import .uploadify-queue{
display: inline-block;
}
</style>
<!-- 页面都为div 页面不要使用id 使用class选择 class命名规范:crm(系统名)-accountset(模块名)-XXX(功能名) -->
<div class="data-brand">
<div class="north rs-navi" data-options="region:'north',border:false">
<a href="javascript:void(0);" class="rs-navi-a">RUNSA PORTAL</a><i>┃</i><a href="javascript:void(0);" class="rs-navi-a">主数据 </a><i>┃</i><a href="javascript:void(0);" class="rs-navi-a">商品 </a><i>┃</i><a href="javascript:void(0);" class="rs-navi-a">经营品牌</a>
</div>
<div class="center" data-options="region:'center',border:false">
<div class="data-brand-table"></div>
</div>
<div class="data-brand-dialog hide public">
<form class="addForm fm form" method="post">
<div class="report clearfix">
<div class="labels"><span class="base-red">*</span><span class="name"></span></div>
<div class="split">:</div>
<div class="input fl">
<input name="name" class="textbox-prompt" maxlength="20"/>
<input type="hidden" name="id"/>
</div>
</div>
<div class="report clearfix">
<div class="labels desc"></div>
<div class="split">:</div>
<div class="input fl"><input name="desc" maxlength="200"/></div>
</div>
<div class="report clearfix">
<div class="labels"><span class="base-red">*</span><span class="code"></span></div>
<div class="split">:</div>
<div class="input fl"><input name="code"/></div>
</div>
<div class="report clearfix">
<div class="labels valid"></div>
<div class="split">:</div>
<div class="input fl"><select name="valid"></select></div>
</div>
</form>
</div>
</div>
<script type="text/javascript">
require(["brand/index"],function(fn){
fn(sessionId,rootUrl);});
</script>
\ No newline at end of file
<!-- 页面都为div 页面不要使用id 使用class选择 class命名规范:crm(系统名)-accountset(模块名)-XXX(功能名) -->
<div class="data-brand">
<div class="north rs-navi" data-options="region:'north',border:false">
<a href="javascript:void(0);" class="rs-navi-a">RUNSA PORTAL</a><i>┃</i><a href="javascript:void(0);" class="rs-navi-a">主数据 </a><i>┃</i><a href="javascript:void(0);" class="rs-navi-a">商品 </a><i>┃</i><a href="javascript:void(0);" class="rs-navi-a">经营品牌</a>
</div>
<div class="center" data-options="region:'center',border:false">
<div class="data-brand-table"></div>
</div>
<div class="data-brand-dialog hide public">
<form class="addForm fm form" method="post">
<div class="report clearfix">
<div class="labels"><span class="base-red">*</span><span class="name"></span></div>
<div class="split">:</div>
<div class="input fl">
<input name="name" class="textbox-prompt" maxlength="20"/>
<input type="hidden" name="id"/>
</div>
</div>
<div class="report clearfix">
<div class="labels desc"></div>
<div class="split">:</div>
<div class="input fl"><input name="desc" maxlength="200"/></div>
</div>
<div class="report clearfix">
<div class="labels"><span class="base-red">*</span><span class="code"></span></div>
<div class="split">:</div>
<div class="input fl"><input name="code"/></div>
</div>
<div class="report clearfix">
<div class="labels valid"></div>
<div class="split">:</div>
<div class="input fl"><select name="valid"></select></div>
</div>
</form>
</div>
</div>
<script type="text/javascript">
require(["brand/index"],function(fn){
fn.init(sessionId,rootUrl);});
</script>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment