summaryrefslogtreecommitdiff
path: root/lib/viewers/odf/editor/widgets/dialogWidgets/alignmentPane.html
blob: 8829fa591b031e92d2e8ad4db5f6fba7d7c84346 (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
<html> 
	<head>
	</head> 
		<body>
            <div data-dojo-type="dijit/form/Form" id="alignmentPaneForm" data-dojo-id="alignmentPaneForm">

				<h3 text-i18n="options">Options</h3>

			    <input type="radio" data-dojo-type="dijit/form/RadioButton" name="textAlign" id="radioLeft" checked value="left"/>
			    <label text-i18n="left" for="radioLeft">Left</label> <br/>
			    <input type="radio" data-dojo-type="dijit/form/RadioButton" name="textAlign" id="radioCenter" value="center"/>
			    <label text-i18n="center" for="radioCenter">Center</label> <br/>
			    <input type="radio" data-dojo-type="dijit/form/RadioButton" name="textAlign" id="radioRight" value="right"/>
			    <label text-i18n="right" for="radioRight">Right</label> <br/>
			    <input type="radio" data-dojo-type="dijit/form/RadioButton" name="textAlign" id="radioJustified" value="justify"/>
			    <label text-i18n="justified" for="radioJustified">Justified</label> <br/>
				
				<h3><span text-i18n="spacing">Spacing</span> <small>(mm)</small></h3>

				<div style = "margin-top: 10px;">
					<div style = "float: right; margin-right: 200px;">
						<label text-i18n="top" for="topMargin">Top</label>
						<input data-dojo-type="dijit/form/NumberSpinner" id="topMargin"
					    value="0"
					    data-dojo-props="smallDelta:1, constraints:{min:0,max:100}"
					    name="topMargin"
					    />
					</div>
                    <br><br>
					<div style = "float: left;">
						<label text-i18n="left" for="leftMargin">Left</label>
						<input data-dojo-type="dijit/form/NumberSpinner" id="leftMargin"
					    value="0"
					    data-dojo-props="smallDelta:1, constraints:{min:0,max:100}"
					    name="leftMargin"
					    />
					</div>
					<div style = "float: right; margin-right: 50px;">
					    <label text-i18n="right" for="rightMargin">Right</label>
						<input data-dojo-type="dijit/form/NumberSpinner" id="rightMargin"
					    value="0"
					    data-dojo-props="smallDelta:1, constraints:{min:0,max:100}"
					    name="rightMargin"
					    />
					</div>
					<br/><br>
					<div style = "float: right; margin-right: 200px;">
						<label text-i18n="bottom" for="bottomMargin">Bottom</label>
						<input data-dojo-type="dijit/form/NumberSpinner" id="bottomMargin"
					    value="0"
					    data-dojo-props="smallDelta:1, constraints:{min:0,max:100}"
					    name="bottomMargin"
					    />
					</div>
				</div>

			</div>
		</body> 
</html>