<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/my.tld" prefix="aug"%>
<!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">
<title>itHelpDesk</title>
<script type="text/javascript" src="../JS/jquery-1.6.4.js"></script>
<script type="text/javascript" src="../JS/create_request.js"></script>
<link rel="stylesheet" href="../CSS/create_request.css" type="text/css">
</head>
<body>
<div id="warp">
<div id="content">
<p id="new"><a href="../request/list.action">Home > </a>Create A New Request</p>
<div id="shadow">
<div id="create">
<p id="requester_p">Requester: <span id="requester">${USER.name }</span></p>
<form id="request_add_form" action="" method = "post">
<div>
<p>Request Type: </p>
<aug:type/><span id="type_span"></span>
</div>
<div>
<p>Title:</p>
<input id="title" type = "text" name = "title" /><span id="title_span"></span>
</div>
<div>
<p>Reason:</p>
<textarea id = "reason" rows="6" cols="20" name = "reason" id = "template"></textarea>
</div>
<div id="button">
<button id = "save" class = "request_add" >Save</button>
<button id = "submit" class = "request_add" >Submit</button>
<button id = "cancel">Cancel</button>
</div>
</form>
</div>
</div>
</div>
</div>
</body>
</html>
#content {
min-height: 450px;
width: 960px;
margin: 0px auto;
position: relative;
padding: 50px 20px 20px 20px;
}
#shadow {
background-color: rgba(211, 212, 213, 0.06);
margin: 0 auto;
border-radius: 10px;
height: 400px;
padding-top: 20px;
}
#create {
width: 600px;
margin: 0 auto;
}
#type {
width: 605px;
height: 30px;
border-radius: 3px;
border: 1px solid #BFBFBF;
color: #808080;
font-family: Arial;
font-size: 14px;
}
#shadow p {
font-size: 14px;
color: #555555;
font-family: Arial;
font-weight: bold;
line-height: 0px;
}
#title {
font-family: Arial;
font-size: 14px;
width: 600px;
height: 30px;
border-radius: 3px;
border: 1px solid #BFBFBF;
color: #808080;
padding-left: 5px;
}
#reason {
width: 600px;
height: 80px;
border-radius: 3px;
border: 1px solid #BFBFBF;
color: #808080;
font-family: Arial;
font-size: 14px;
padding-left: 5px;
}
.request_add {
width: 80px;
height: 30px;
margin-top: 30px;
margin-left: 30px;
background: url(../images/btn_normal_80x30.png) center 0px no-repeat;
color: #fff;
font-weight: bold;
}
.request_add:hover {
background: url(../images/btn_hover_80x30.png) center 0px no-repeat;
}
.power_button {
width: 80px;
height: 30px;
margin-top: 20px;
margin-left: 30px;
background: url(../images/btn_normal_80x30.png) center 0px no-repeat;
color: #fff;
font-weight: bold;
}
.power_button:hover {
background: url(../images/btn_hover_80x30.png) center 0px no-repeat;
}
#button {
width: 400px;
margin: 0 auto;
}
span {
display: block;
font-size: 12px;
color: red;
height: 15px;
}
.bold {
font-size: 14pt;
font-weight: 300;
margin-top: 15px;
display: inline-block;
width: 150px;
color: #000;
}
label {
font-size: 14px;
color: #555555;
}
#fix {
position: relative;
}
#fixed {
position: absolute;
top: 20px;
}
#view {
margin-left: 150px;
margin-top: 20px;
width: 600px;
height: 50px;
border-radius: 3px;
border: 1px solid #BFBFBF;
}
#commentFix {
position: relative;
}
#commentFixed {
position: absolute;
top: 20px;
}
#commentView {
margin-left: 150px;
margin-top: 20px;
width: 600px;
height: 50px;
border-radius: 3px;
border: 1px solid #BFBFBF;
}
#power_button_position {
margin-left: 300px;
}
#cancel {
width: 80px;
height: 30px;
margin-left: 20px;
background: url(../images/btn_cancelandno_normal_80x30.png) center 0px no-repeat;
color: #555;
font-size: 14px;
font-weight: bold;
}
#cancel:hover {
background: url(../images/btn_cancelandno_hover_80x30.png) center 0px no-repeat;
}
#new a {
color: #418FB5;
font-weight: normal;
text-decoration: none;
}
#requester {
display: inline;
color: #555555;
font-size: 14px;
font-weight: normal;
margin-bottom: 10px;
}
#requester_p {
height: 15px;
}
a {
color: #418FB5;
text-decoration: none;
}
p {
font-size: 14px;
font-weight: bold;
}
#button1 {
margin-left: 250px;
}
分享到:
相关推荐
《QT/C++编程实践:基于“CloudMusic-master.zip”的音乐客户端解析》 在软件开发领域,QT和C++是两种非常强大的工具,尤其在桌面应用的开发中,它们结合使用可以构建出美观、高效的用户界面。...
在`2.create req.bat`脚本中,可能会有`openssl req -new -key server.key -out server.csr`这样的命令,用于生成包含服务器信息的CSR文件。这个请求包含了服务器的公共密钥和一些识别信息,如组织名、地点等。 3. ...
mw-解析-url 解析req.url的值并将路径放在req...http . createServer ( function ( req , res ) {mwUrl ( req , res ) ;res . end ( 'Hello' + req . query . name + '!' ) ;} ) . listen ( 80 ) ;许可证:麻省理工学院
createServer方法接收一个可选的requestListener参数,这个参数是一个函数,当接收到新的HTTP请求时,Node.js会自动调用这个函数,并将两个对象作为参数传入:req(请求对象)和res(响应对象)。req对象包含了请求...
CACHE_setPriL2Req(CACHE_L2PRIHIGH); /* Initialize ACPY, DMAN */ ACPY2_6X1X_init(); DMAN_init(); DMAN_setup(intHeap); /* initialize RF5 modules */ CHAN_init(); ICC_init(); SCOM_init(); /*...
http . createServer ( function ( req , res ) { easyreq ( req , res ) ; // call easyreq to overload these object with new methods console . log ( req . urlparsed ) ; // the output of url.parse(req.url,...
hr /:hrId / employees /:empId->查看特定人力资源下的特定员工POST Req / employee /:empId / create-leave-req->向您的人力资源申请请假请求GET Req / hr /:hrId / leave-reqs->查看所有未被批准或拒绝的请假...
在这里,服务器监听`/createEntity`路由的POST请求,接收JSON格式的请求体(`req.body`),创建新的实体对象,然后返回201状态码(表示资源已成功创建)和新实体的JSON表示。 至于`createEntity-master`这个压缩包...
(req_handler)req_create_semaphore,// 创建信号量 … }; ``` #### 四、Wine与X11服务进程的交互 **X11服务进程(Xserver)**对于图形显示至关重要。虽然Xserver不是Wine特有的组件,但在Wine环境中,它通过与...
在ServiceNow平台中,创建更改请求记录是IT服务管理(ITSM)流程中的关键环节,它主要用于跟踪和管理对IT基础设施或服务的任何计划更改。这个过程通常涉及到多个步骤,包括变更请求的提出、评估、审批和执行。...
const server = http.createServer((req, res) => { // 处理请求和响应的逻辑 }); server.listen(3000, () => { console.log('Server is running on port 3000'); }); ``` 对于HTTPS服务器,会涉及到`https`模块...
HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create("url?hl=zh-CN"); req.Method = "GET"; using (WebResponse wr = req.GetResponse()) { // 处理响应内容 } ``` 1.2 提交中文数据: 由于中文字符在...
router.post('/login', (req, res) => { // 处理登录逻辑 }); module.exports = router; ``` 然后在主服务器文件中引入并使用这个路由: ```javascript // server/index.js const authRoutes = require('./...
# Create server from req -> res function server = createServer(req => { statusCode: 200, headers: Map( # Map<K> is constructed from Tuple<K> arguments ("Content-Type", "text/plain; charset=utf-8...
一 读xml文件到字符串 第一步:将xml文件,转化为DOM结构 1 var xmlDoc = document.implementation.createDocument(“”, “test”, null); xmlDoc.load(“d:\\develop\\bookmarks.xml”); 2 var req = new ...
http.createServer((req, res) => { if (req.method === 'POST' && req.headers['content-type'] === 'application/x-www-form-urlencoded') { urlencodedParser(req, res, () => { console.log(req.body); // ...
http.createServer((req, res) => { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello, World!'); }).listen(port); ``` 4. 启动服务器:在命令行中,使用`node server.js`启动服务器,然后在...
SendMessageToWX.Req req = new SendMessageToWX.Req(); req.transaction = buildTransaction("text"); req.message = message; // 分享到微信会话 req.scene = SendMessageToWX.Req.WXSceneSession; WXApi....
const server = http.createServer((req, res) => { // 路由处理逻辑将放在这里 }); server.listen(3000, () => { console.log('Server is running on port 3000'); }); ``` 现在,我们要添加路由处理。在HTTP...