123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 |
- <%@ page contentType="text/html;charset=UTF-8" language="java"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
- <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
- <%
- String base = pageContext.getServletContext().getContextPath();
- %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <script type="text/javascript">
- window.UEDITOR_SERVER_URL = '<%=base%>';
- </script>
- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/admin/manage/h-ui/css/H-ui.min.css" />
- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/admin/manage/h-ui.admin/css/H-ui.admin.css" />
- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/admin/manage/Hui-iconfont/1.0.7/iconfont.css" />
- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/admin/manage/icheck/icheck.css" />
- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/admin/manage/h-ui.admin/skin/default/skin.css" id="skin" />
- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/admin/manage/h-ui.admin/css/style.css" />
- <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/admin/css/laydate.css"/>
- <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/ajaxfileupload.js"></script>
- <script type="text/javascript" src="${pageContext.request.contextPath}/static/admin/manage/js/jquery.min.js"></script>
- <style type="text/css">
- .demo1{
- height:300px;
- }
- </style>
- <title>添加</title>
- </head>
- <body>
- <nav class="breadcrumb">
- <i class="Hui-iconfont"></i> 其他
- <span class="c-gray en">></span> seo
- <span class="c-gray en">></span> 修改seo
- <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont"></i></a>
- </nav>
- <div class="page-container">
- <form action="updseo.html" method="post" enctype="multipart/form-data" class="form form-horizontal" id="banneradd">
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>title:</label>
- <div class="formControls col-xs-8 col-sm-9">
- <input type="text" class="input-text" name="title" value="${findid.title }">
- <input type="hidden" value="${findid.id }" name="id"/>
- </div>
- </div>
-
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>keywords:</label>
- <div class="formControls col-xs-8 col-sm-9">
- <input type="text" class="input-text" name="keywords" value="${findid.keywords }">
- </div>
- </div>
-
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>description:</label>
- <div class="formControls col-xs-8 col-sm-9">
- <input type="text" class="input-text" name="description" value="${findid.description }">
-
- </div>
- </div>
- <!-- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>权重排序:</label>
- <div class="formControls col-xs-8 col-sm-9">
- <input type="text" class="input-text" name="sorts" value="0" > <span style="color:red">* 数字越大越靠前</span>
- </div>
- </div> -->
-
- <div class="row cl">
- <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
- <button onClick="$('#banneradd').submit()" class="btn btn-primary radius" type="button"><i class="Hui-iconfont"></i> 保存</button>
- </div>
- </div>
- </form>
- </div>
- <!-- 百度文本编辑器 引用文件 -->
- <link href="<%=base%>/static/ue/themes/default/css/ueditor.css" type="text/css" rel="stylesheet">
- <script src="<%=base%>/static/ue/ueditor.config.js" type="text/javascript"></script>
- <script src="<%=base%>/static/ue/ueditor.all.js" type="text/javascript"></script>
- <script type="text/javascript" src="<%=base%>/static/ue/lang/zh-cn/zh-cn.js"></script>
-
- <!-- 百度文本编辑器 js -->
- <script type="text/javascript">
- $(function(){
- var ue = UE.getEditor('introduction',{
- //关闭字数统计
- wordCount:false,
- toolbars:[['fullscreen', 'source', '|', 'undo', 'redo', '|',
- 'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',
- 'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
- 'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
- 'directionalityltr', 'directionalityrtl', 'indent', '|',
- 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
- 'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
- 'insertimage', 'emotion', 'insertvideo', 'attachment', 'map', 'template', 'background', '|',
- 'horizontal', 'date', 'time', 'spechars', 'wordimage', '|',
- 'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
- 'print', 'preview', 'searchreplace', 'help'
- ]],
- //关闭elementPath
- elementPathEnabled:false,
- initialFrameWidth:1240, //初始化编辑器宽度,默认1000
- initialFrameHeight:500 //初始化编辑器高度,默认320
- });
- });
-
- var currentBrowserId;
- function browserImage(targetId){
- currentBrowserId = targetId;
- var weboxTemp = $.webox({
- height:600,
- width:1024,
- bgvisibel:true,
- title:'图片管理',
- iframe:'<%=base%>/admin/image/imgbox.html?'+Math.random()
- });
- }
-
- function setImagepath(imgPath){
- $('#'+currentBrowserId).val(imgPath);
- }
-
- function closeFrame(){
- $('#locked .span').click();
- }
- </script>
-
- <script type="text/javascript" src="${pageContext.request.contextPath}/static/admin/js/laydate.dev.js"></script>
- <script type="text/javascript">
- laydate({
- elem: '#J-xl'
- });
- document.getElementById('J-xl-2-btn').onclick = function(){
- laydate({
- elem: '#J-xl-2'
- });
- }
- laydate({
- elem: '#J-xl-3'
- });
- laydate({
- elem: document.getElementById('J-xl-4')
- });
- </script>
- </body>
- </html>
|