第一个前台页面----xflow的页面
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib tagdir="/WEB-INF/tags" prefix="ispr"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<ispr:page title="">
<jsp:attribute name="resources">
<ispr:i18n bundle="xflow"></ispr:i18n>
<script type="text/javascript">
var ctx = "${pageContext.request.contextPath}";
</script>
<style>
html body {
height: 100%;
width: 100%;
padding-top: 5px;
font-size: 12px;
line-height: 16px;
font-family: "Arial", "å®ä½", "Tahoma", "Verdana", "SimSun";
color: #000;
min-width: 900px;
overflow: hidden;
}
.errorMsg_leon {
background: center no-repeat white;
background-position: 5px 50%;
text-align: left;
padding: 2px 20px 2px 25px;
border: 1px solid #F9CBCB;
display: none;
width: 230px;
margin-left: 0px;
position: fixed;
border-radius: 4px;
font-family: Arail;
font-size: 12px;
font-family: color:"#E03689";
}
</style>
<ispr:link folder="/css/momgt" resources="validate_inspur.css" />
<ispr:link folder="/lib/searchField/css" resources="searchField.css" />
<ispr:link folder="/js/xflow" resources="appMapping.js" />
<script type="text/javascript"
src="${pageContext.request.contextPath}/lib/jquery.json-2.4.js"></script>
<script type="text/javascript"
src="${pageContext.request.contextPath}/lib/jquery.form.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/xflow/appMapping_import_result.js"></script>
</jsp:attribute>
<jsp:body>
<div id="center-panel">
<div class="m_tit_operate">
<span class="pr20"><a id="createAppMappingBtn"></a></span>
<span class="pr20"><a id="modifyAppMappingBtn"></a></span>
<span class="pr20"><a id="deleteAppMappingBtn"></a></span>
<span class="pr20"><a id="importAppMappingBtn"></a></span>
<span class="pr20"><a id="exportAppMappingBtn"></a></span>
<span class="pr20"><a id="downloadAppMappingBtn"></a></span>
<span id="rightArea" style="float: right;">
<input value=" " id="search" name="search"></input>
</span>
<div style="clear: both"></div>
</div>
<div id="appMappingGrid_container">
<table id="appMappingGrid"></table>
</div>
</div>
<%-- import and export --%>
<div id="import-window" style="display: none;">
<form id="importForm" name="importForm"
action="${pageContext.request.contextPath}/xflow/importAppMappingXFlow.do"
method="post" enctype="multipart/form-data">
<table id="information" cellspacing="15">
<tr>
<td><label><spring:message
code="xflow.importbtn.template" />:</label></td>
<td><a id='templatehref' href='#'><spring:message
code="xflow.importbtn.filenametemplate" /></a></td>
</tr>
<tr>
<td><label> <spring:message code="xflow.exportbtn.excelFileType" />:</label></td>
<td><label></label>
<input type="file" name="appMappingfileupload"
id="appMappingfileupload" class="fileuploadWidth"
style="position: absolute; filter: alpha(opacity = 0);opacity:0; width: 202px; height: 25px;"
onChange="document.importForm.importpath.value=this.value"
hidefocus="hidefocus" />
<span class="errorMsg_leon"></span>
<input id="importpath" name="importpath"
readonly="readonly" />
<input type="button" value="Browse"
onclick="document.expRuleImpForm.rulefileupload.click()" />
</td>
</tr>
</table>
<div id="import_btn_container" class="bottomBtnBar">
<div id="operateImportBtn" align="center">
<span class="pr10"><input id="importBtn" class="save"
type="submit" /></span>
<span class="pr10"><input id="importCancelBtn"
class="cancel" /></span>
</div>
</div>
</form>
</div>
<div id="import-result" style="display: none;">
<div id="resultContainer">
<table id="resultGrid"></table>
</div>
</div>
<div id="appMapping_export_window" style="display: none;">
<form id="exportForm" name="exportForm"
action="${pageContext.request.contextPath}/xflow/downloadXFlow.do"
method="post" enctype="multipart/form-data">
<div id="excelTypeDiv"
style="margin-left: 20px; margin-top: 20px;float:center;">
<label><spring:message code="xflow.exportbtn.excelFileType" />:</label>
<input id="excelTypeCombo" name="excelTypeCombo"
style="width: 120px; margin-left: 5px;" readOnly>
</div>
<div id="export_btn_container" class="bottomBtnBar" style="margin-top:20px;">
<div id="operateExportBtn" align="center">
<span class="pr10"><input id="exportBtn" class="save" /></span>
<span class="pr10"><input id="exportCancelBtn"
class="cancel" /></span>
</div>
</div>
</form>
</div>
<%-- import and export end --%>
<div id="dialog-form" style="display: none">
<form id="create_form" name="create_form">
<table id="appmapping_table" cellspacing="10">
<tr>
<td><label><spring:message code="xflow.create.port" />:</label></td>
<td>
<input name="port" id="port" class="editStyle" />
<span class="errorMsg_leon"></span><label class="redflag"
style="color: red">*</label>
</td>
<td><label><spring:message code="xflow.create.transportLayerProtocol" />:</label>
<div id="TLPList"></div>
</td>
<td>
<%-- <select id="TLPType" name="TLPType"></select> --%>
<input name="TLPType" id="TLPType" class="editStyle" />
<span class="errorMsg_leon"></span>
<label class="redflag" style="color: red">*</label>
</td>
</tr>
<%-- second row --%>
<tr>
<td>
<div id="IPAddressType" class="item">
<label class="text">
<spring:message code="xflow.IPaddress" /> :</label>
</div>
</td>
<td colspan="3">
<div id="IPRadio">
<input type="radio" id="IPType1" name="IPType" value="1"
checked="checked" style="heigh: 23px; border: 0px;">
<spring:message code="xflow.IPAddress.all" />
<input type="radio" id="IPType2" name="IPType" value="2"
style="margin-left: 30px; heigh: 23px; border: 0px;">
<spring:message code="xflow.IPAddress.IPv4" />
<input type="radio" id="IPType3" name="IPType" value="3"
style="margin-left: 30px; heigh: 23px; border: 0px;">
<spring:message code="xflow.IPAddress.IPv6" />
</div>
</td>
</tr>
<%-- ALL IP --%>
<tr id="IPAddressAll" style="display: none">
<td>
<span id="ALLIP" class="item">
<label class="text">
<spring:message code="xflow.IPAddress.all" /> :</label>
</span>
</td>
<td colspan="3">
<input type="text" id="ALLIP" name="ALLIP"
style="height: 20px; width: 500px;" value="0.0.0.0">
<span class="errorMsg_leon"></span><span
style="padding-left: 2px;"><font color="red">*</font></span>
</td>
</tr>
<tr id="IPAddressv4" style="display: none">
<td>
<span id="IPv4" class="item">
<label class="text">
<spring:message code="xflow.IPAddress.IPv4" /> :</label>
</span>
</td>
<td colspan="3">
<table>
<tr>
<td>
<input type="text" id="IPv41" name="IPv41" style="height: 20px; width: 100px;">
<span class="errorMsg_leon"></span>
<span style="padding-left: 2px;">.</span>
</td>
<td>
<input type="text" id="IPv42" name="IPv42" style="height: 20px; width: 100px;">
<span class="errorMsg_leon"></span>
<span style="padding-left: 2px;">.</span>
</td>
<td>
<input type="text" id="IPv43" name="IPv43" style="height: 20px; width: 100px;">
<span class="errorMsg_leon"></span>
<span style="padding-left: 2px;">.</span>
</td>
<td>
<input type="text" id="IPv44" name="IPv44" style="height: 20px; width: 100px;">
<span class="errorMsg_leon"></span>
<span style="padding-left: 2px;"><font color="red">*</font></span>
</td>
</tr>
</table>
</td>
</tr>
<tr id="IPAddressv6" style="display: none">
<td>
<span id="IPv6" class="item">
<label class="text">
<spring:message code="xflow.IPAddress.IPv6" /> :</label>
</span>
</td>
<td colspan="3">
<table>
<tr>
<td>
<input type="text" id="IPv61" name="IPv61"style="height: 20px; width: 45px;">
<span class="errorMsg_leon"></span>
<span style="padding-left: 2px;">:</span>
</td>
<td>
<input type="text" id="IPv62" name="IPv62" style="height: 20px; width: 45px;">
<span class="errorMsg_leon"></span>
<span style="padding-left: 2px;">:</span>
</td>
<td>
<input type="text" id="IPv63" name="IPv63" style="height: 20px; width: 45px;">
<span class="errorMsg_leon"></span>
<span style="padding-left: 2px;">:</span>
</td>
<td>
<input type="text" id="IPv64" name="IPv64" style="height: 20px; width: 45px;">
<span class="errorMsg_leon"></span>
<span style="padding-left: 2px;">:</span>
</td>
<td>
<input type="text" id="IPv65" name="IPv65" style="height: 20px; width: 45px;" />
<span class="errorMsg_leon"></span>
<span style="padding-left: 2px;">:</span>
</td>
<td>
<input type="text" id="IPv66" name="IPv66" style="height: 20px; width: 45px;" />
<span class="errorMsg_leon"></span>
<span style="padding-left: 2px;">:</span>
</td>
<td>
<input type="text" id="IPv67" name="IPv67" style="height: 20px; width: 45px;" />
<span class="errorMsg_leon"></span>
<span style="padding-left: 2px;">:</span>
</td>
<td>
<input type="text" id="IPv68" name="IPv68" style="height: 20px; width: 45px;">
<span class="errorMsg_leon"></span>
<span style="padding-left: 2px;"><font color="red">*</font></span>
</td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
</td>
</tr>
<%-- third row --%>
<tr>
<td><label><spring:message code="xflow.appName" /> :</label></td>
<td colspan="3">
<input type="text" id="appName" name="appName"
style="height: 20px; width: 500px;">
<span class="errorMsg_leon"></span><span
style="padding-left: 2px;"><font color="red">*</font></span>
</td>
</tr>
<%-- fourth row --%>
<tr>
<td><label><spring:message code="xflow.description" /> :</label></td>
<td colspan="3">
<textarea name="description" id="description" cols="80"
rows="3"> </textarea>
<span class="errorMsg_leon"></span>
</td>
</tr>
</table>
<%-- button --%>
<div id="operate-buttons" class="bottomBtnBar"
style="text-align: center; margin-top: 40px">
<span class="pr10"><input
type="button" id="save" class='save' /></span>
<span class="pr10"><input
type="button" id="cancel" class="cancel" /></span>
</div>
</form>
</div>
</jsp:body>
</ispr:page>
第一个前台页面----xflow的页面的更多相关文章
- C# 打印PDF文件之使用不同打印机打印所有页面或部分页面
C# 打印PDF文件之使用不同打印机打印所有页面或部分页面 最近在逛国外各大编程社区论坛的时候,发现很多人都在问一个关于PDF文件打印的问题:打印时如何选择非默认打印机并设置打印页面的范围.而一般情况 ...
- WinPhone学习笔记(一)——页面导航与页面相关
最近学一下Windows Phone(接下来简称“WinPhone”)的开发,在很久很久前稍探究一下WinPhone中对一些传感器的开发,那么现在就从头来学学WinPhone的开发.先从WinPhon ...
- JQuery操作iframe父页面与子页面的元素与方法
JQuery操作iframe父页面与子页面的元素与方法 JQUERY IFRAME 下面简单使用Jquery来操作iframe的一些记录,这个使用纯JS也可以实现. 第一.在iframe中查找父页面元 ...
- 用jquery将多个页面中相似页面显示到一个页面并实现来回跳转
今天遇到一个问题,客户说页面来回跳转太麻烦了,需要把相似的页面做到一个页面上去. 接下来说一下记录一下解决方法. 首先这是三个页面中相似的Div: <div class="wenti& ...
- ThinkPHP自定义错误页面、成功页面及异常页面
为什么会选择 ThinkPHP 呢?首先,作为一款国产PHP框架,文档肯定比国外那些框架要丰富的多,而且容易看懂:其次,ThinkPHP已经发展了七八年的时间了,相对来说已经比较成熟了:当然,最重要的 ...
- 谈谈iOS开发如何写个人中心这类页面--静态tableView页面的编写
本文来自 网易云社区 . 一.本文讲的是什么问题? 在开发 iOS 应用时,基本都会遇到个人中心.设置.详情信息等页面,这里截取了某应用的详情编辑页面和个人中心页面,如下: 我们以页面结构的角度考虑这 ...
- Java&Selenium自动化测试实现页面元素、页面对象及测试代码分离
一.摘要 本篇博文将介绍自动化测试实现页面元素.页面对象及测试代码分离在自动化框架中的实现 二.解析页面元素定位信息 首先,将页面元素与实际的代码分离,首先我们将页面元素定位信息和定位表达式保存在属性 ...
- AppBox v6.0中实现子页面和父页面的复杂交互
前言 1. AppBox是捐赠开源(获取源代码至少需要捐赠作者 1 元钱),基于的 FineUI(开源版)则是完整开源,网址:http://fineui.codeplex.com/ 2. 你可以通过捐 ...
- SharePoint 2013 入门教程之创建页面布局及页面
在SharePoint的使用过程中,页面布局和页面时很重要的两个概念,主要用于数据个性化展示,下面,我们简单介绍一下SharePoint的页面布局和页面的个性化. 一. SharePoint页面模型概 ...
随机推荐
- 安卓---高德地图API应用
说明:定位需要导入android_location 的jar包,如果没有会报错,这个官方网站好像找不到,这是我在网上找到的一个链接 http://download.csdn.net/detail/ra ...
- mysql的字符串处理函数
一.简明总结ASCII(char) 返回字符的ASCII码值BIT_LENGTH(str) 返回字符串的比特长度CONCAT(s1,s2…,sn) 将s1,s2…,sn连接成字符串CONCAT_WS( ...
- 2016NEFU集训第n+3场 E - New Reform
Description Berland has n cities connected by m bidirectional roads. No road connects a city to itse ...
- Spring 中,对象销毁前执行某些处理的方法
通过 @PreDestroy 和 bean 中配置 destroy-method 实现该功能 java 代码中: 1: public class TestClass { 2: private Sche ...
- windows7旗舰版系统自带组件IIS搭建ftp
1.win7,”开始“,打开”控制面板“,点击”程序“,看到”程序和功能“,如图所示: 2.点击”打开或关闭Windows功能“,如图所示: 3.成功后,打开”控制面板“,点击”系统和安全“,点击”管 ...
- 2.定义图形类Shape,该类中有获得面积的方法getArea();定义长方形类Rect,该类是Shape的子类,类中有矩形长和宽的变量double a,double b,设置长和宽的方法setWidth()、setHeight(),使用getArea()求矩形面积;利用getArea方法实现题1中圆面积的求解。
// 图形类Shape package d922B; public class Shape { double getArea(ShapePara x){ return x.getArea(); } d ...
- quicksort快排
废话不多说,上代码: void quicksort(int x[], int lo, int hi){ int i = lo, j = hi; ]; while(i <= j){ while(x ...
- CF/div2c/贪心
题目链接[http://codeforces.com/contest/749/problem/C] 题意:给出一个长度为n序列包含D和R,每一轮操作的先后顺序是1-n,规则是每一轮每个人有一次机会杀掉 ...
- 为Android系统的Application Frameworks层增加硬件访问服务
在数字科技日新月异的今天,软件和硬件的完美结合,造就了智能移动设备的流行.今天大家对iOS和Android系统的趋之若鹜,一定程度上是由于这两 个系统上有着丰富多彩的各种应用软件.因此,软件和硬件的关 ...
- 小飞淙在博客上的第一天——NOIP201505转圈游戏
原本我是在word文档上写这种东西的,在杨老师的“强迫”下,我开始写了博客. 这是我在博客上的第一天,就先来个简单的,下面请看题: 试题描述 有n个小伙伴(编号从0到n-1)围坐一圈玩游戏.按照顺时 ...