summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/EditTicketPage.html
blob: b12d0c7734396643472dc4047f4e040a7648dc54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  
      xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.3-strict.dtd"  
      xml:lang="en"  
      lang="en"> 

<wicket:extend>
<body onload="document.getElementById('title').focus();">
	
<div class="container">
	<!-- page header -->
	<div class="title" style="font-size: 22px; color: rgb(0, 32, 96);padding: 3px 0px 7px;">
		<span class="project"><wicket:message key="gb.editTicket"></wicket:message></span>
	</div>

	<form style="padding-top:5px;" wicket:id="editForm">
	<div class="row">
	<div class="span12">
		<!-- Edit Ticket Table -->
		<table class="ticket">
			<tr><th><wicket:message key="gb.title"></wicket:message></th><td class="edit"><input class="input-xxlarge" type="text" wicket:id="title" id="title"></input></td></tr>
			<tr><th><wicket:message key="gb.topic"></wicket:message></th><td class="edit"><input class="input-large" type="text" wicket:id="topic"></input></td></tr>
			<tr><th style="vertical-align: top;"><wicket:message key="gb.description"></wicket:message></th><td class="edit">
				<div style="background-color:#fbfbfb;border:1px solid #ccc;">
				<ul class="nav nav-pills" style="margin: 2px 5px !important">
					<li class="active"><a tabindex="-1" href="#edit" data-toggle="tab"><wicket:message key="gb.edit">[edit]</wicket:message></a></li>
					<li><a tabindex="-1" href="#preview" data-toggle="tab"><wicket:message key="gb.preview">[preview]</wicket:message></a></li>
				</ul>
				<div class="tab-content">
					<div class="tab-pane active" id="edit">						
						<textarea class="input-xxlarge ticket-text-editor" wicket:id="description"></textarea>
					</div>
					<div class="tab-pane" id="preview">
						<div class="preview ticket-text-editor">
							<div class="markdown input-xxlarge" wicket:id="descriptionPreview"></div>
						</div>
					</div>
				</div>
				</div>
			</td></tr>
			<tr wicket:id="status"></tr>
            <tr><th><wicket:message key="gb.severity"></wicket:message></th><td class="edit"><select class="input-large" wicket:id="severity"></select></td></tr>
            <tr wicket:id="priority"></tr>
			<tr wicket:id="responsible"></tr>
			<tr wicket:id="milestone"></tr>
			<tr wicket:id="mergeto"></tr>
		</table>
	</div>
	</div>	

	<div class="row">
	<div class="span12">
		<div class="form-actions"><input class="btn btn-appmenu" type="submit" value="save" wicket:message="value:gb.save" wicket:id="update" /> &nbsp; <input class="btn" type="submit" value="Cancel" wicket:message="value:gb.cancel" wicket:id="cancel" /></div>
	</div>
	</div>
	</form>
</div>
</body>

<wicket:fragment wicket:id="statusFragment">
	<tr><th><wicket:message key="gb.status"></wicket:message><span style="color:red;">*</span></th><td class="edit"><select class="input-large" wicket:id="status"></select></td></tr>
</wicket:fragment>

<wicket:fragment wicket:id="responsibleFragment">
	<th><wicket:message key="gb.responsible"></wicket:message></th><td class="edit"><select class="input-large" wicket:id="responsible"></select></td>
</wicket:fragment>

<wicket:fragment wicket:id="milestoneFragment">
	<th><wicket:message key="gb.milestone"></wicket:message></th><td class="edit"><select class="input-large" wicket:id="milestone"></select></td>
</wicket:fragment>

<wicket:fragment wicket:id="mergeToFragment">
	<th><wicket:message key="gb.mergeTo"></wicket:message></th><td class="edit"><select class="input-large" wicket:id="mergeto"></select></td>
</wicket:fragment>

<wicket:fragment wicket:id="priorityFragment">
    <th><wicket:message key="gb.priority"></wicket:message></th><td class="edit"><select class="input-large" wicket:id="priority"></select></td>
</wicket:fragment>

</wicket:extend>
</html>