SelectMenuView.html 5.67 KB
Newer Older
amandaghassaei's avatar
amandaghassaei committed
1
2
3
4
5
6
7
<% if (selectedRegion){ %>
    Clone Region Dimensions:&nbsp;&nbsp;
    <%= selectedRegion.size.x %>&nbsp; X &nbsp;<%= selectedRegion.size.y %>&nbsp; X &nbsp;<%= selectedRegion.size.z %><br/><br/>
    <% if (selection3D){ %>
        Selection Size (xyz):&nbsp;&nbsp;
        <%= selection3D.size.x %>&nbsp; X &nbsp;<%= selection3D.size.y %>&nbsp; X &nbsp;<%= selection3D.size.z %><br/><br/>
        Min (xyz):&nbsp;&nbsp;
amandaghassaei's avatar
amandaghassaei committed
8
9
10
        <input data-property="min" data-key="x" data-incr="<%= selection3D.sizeIncrement.x %>" data-max="<%= selection3D.max.x - selection3D.sizeIncrement.x + 1 %>" value="<%= selection3D.min.x %>" placeholder="X" class="form-control selection3D intInput" type="text">&nbsp;
        <input data-property="min" data-key="y" data-incr="<%= selection3D.sizeIncrement.y %>" data-max="<%= selection3D.max.y - selection3D.sizeIncrement.y + 1 %>" value="<%= selection3D.min.y %>" placeholder="Y" class="form-control selection3D intInput" type="text">&nbsp;
        <input data-property="min" data-key="z" data-incr="<%= selection3D.sizeIncrement.z %>" data-max="<%= selection3D.max.z - selection3D.sizeIncrement.z + 1 %>" value="<%= selection3D.min.z %>" placeholder="Z" class="form-control selection3D intInput" type="text"><br/><br/>
amandaghassaei's avatar
amandaghassaei committed
11
        Max (xyz):&nbsp;&nbsp;
amandaghassaei's avatar
amandaghassaei committed
12
13
14
        <input data-property="max" data-key="x" data-incr="<%= selection3D.sizeIncrement.x %>" data-min="<%= selection3D.min.x + selection3D.sizeIncrement.x - 1 %>" value="<%= selection3D.max.x %>" placeholder="X" class="form-control selection3D intInput" type="text">&nbsp;
        <input data-property="max" data-key="y" data-incr="<%= selection3D.sizeIncrement.y %>" data-min="<%= selection3D.min.y + selection3D.sizeIncrement.y - 1 %>" value="<%= selection3D.max.y %>" placeholder="Y" class="form-control selection3D intInput" type="text">&nbsp;
        <input data-property="max" data-key="z" data-incr="<%= selection3D.sizeIncrement.z %>" data-min="<%= selection3D.min.z + selection3D.sizeIncrement.z - 1 %>" value="<%= selection3D.max.z %>" placeholder="Z" class="form-control selection3D intInput" type="text"><br/><br/>
amandaghassaei's avatar
amandaghassaei committed
15
        <a href="#" class="fillCutSelection btn btn-block btn-lg btn-success">Fill with Clone Region  &nbsp;(ENTER)</a>
amandaghassaei's avatar
eod    
amandaghassaei committed
16
17
18
19
20
21
22
23
24
25
26
27
        <label class="checkbox" for="mirrorX">
            <input id="mirrorX" type="checkbox" value="" data-toggle="checkbox" class="custom-checkbox">
            <span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
            Mirror X</label>
        <label class="checkbox" for="mirrorY">
            <input id="mirrorY" type="checkbox" value="" data-toggle="checkbox" class="custom-checkbox">
            <span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
            Mirror Y</label>
        <label class="checkbox" for="mirrorZ">
            <input id="mirrorZ" type="checkbox" value="" data-toggle="checkbox" class="custom-checkbox">
            <span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
            Mirror Z</label><br/>
amandaghassaei's avatar
amandaghassaei committed
28
29
30
31
32
33
        <a href="#" id="exitSelection" class="btn btn-block btn-lg btn-default">Undo Selection &nbsp;(ESC)</a><br/>
    <% } else { %>
        Shift + Drag to select area to paste to<br/>
    <% } %>
    <br/>
    <a href="#" id="undoSelectRegion" class="btn btn-block btn-lg btn-default">Exit Clone Tool</a><br/>
amandaghassaei's avatar
renamng    
amandaghassaei committed
34
<% } else { %>
amandaghassaei's avatar
amandaghassaei committed
35
36
37
38
39
40
41
42
    <% if (selection3D){ %>
        Selection Size (xyz):&nbsp;&nbsp;
        <%= selection3D.size.x %>&nbsp; X &nbsp;<%= selection3D.size.y %>&nbsp; X &nbsp;<%= selection3D.size.z %><br/><br/>
        Min (xyz):&nbsp;&nbsp;
        <input data-property="min" data-key="x" data-max="<%= selection3D.max.x %>" value="<%= selection3D.min.x %>" placeholder="X" class="form-control selection3D intInput" type="text">&nbsp;
        <input data-property="min" data-key="y" data-max="<%= selection3D.max.y %>" value="<%= selection3D.min.y %>" placeholder="Y" class="form-control selection3D intInput" type="text">&nbsp;
        <input data-property="min" data-key="z" data-max="<%= selection3D.max.z %>" value="<%= selection3D.min.z %>" placeholder="Z" class="form-control selection3D intInput" type="text"><br/><br/>
        Max (xyz):&nbsp;&nbsp;
amandaghassaei's avatar
amandaghassaei committed
43
        <input data-property="max" data-key="x" data-min="<%= selection3D.min.x %>" value="<%= selection3D.max.x %>" placeholder="X" class="form-control selection3D intInput" type="text">&nbsp;
amandaghassaei's avatar
amandaghassaei committed
44
45
46
47
48
49
50
51
52
53
54
55
56
        <input data-property="max" data-key="y" data-min="<%= selection3D.min.y %>" value="<%= selection3D.max.y %>" placeholder="Y" class="form-control selection3D intInput" type="text">&nbsp;
        <input data-property="max" data-key="z" data-min="<%= selection3D.min.z %>" value="<%= selection3D.max.z %>" placeholder="Z" class="form-control selection3D intInput" type="text"><br/><br/>
        <% if(selection3D.cutMode){  %><a href="#" class="fillCutSelection btn btn-halfWidth btn-lg btn-success">Cut (ENTER)</a>
        <% }else{ %><a href="#" class="fillCutSelection btn btn-halfWidth btn-lg btn-success">Fill &nbsp;(ENTER)</a><% } %>
        <a href="#" id="exitSelection" class="btn btn-halfWidth btn-lg pull-right btn-default">Exit &nbsp;(ESC)</a><br/>
        <label class="checkbox" for="cutMode">
            <input id="cutMode" data-property="cutMode" type="checkbox" <% if (selection3D.cutMode){ %> checked="checked"<% } %> value="" data-toggle="checkbox" class="selection3D custom-checkbox">
            <span class="icons"><span class="icon-unchecked"></span><span class="icon-checked"></span></span>
            Cut Mode</label>
        <a href="#" id="selectRegion" class="btn btn-block btn-lg btn-success">Clone Region</a><br/>
    <% } else { %>
    Shift + Drag to start selection<br/>
    <% } %>
amandaghassaei's avatar
renamng    
amandaghassaei committed
57
<% } %>