pd_canvas.html 3.87 KB
Newer Older
1
<div id="patch" class="patch">
Prakhar Agarwal's avatar
Prakhar Agarwal committed
2
3
  <div class="d-flex justify-content-between align-items-center">
    <h6 class="patch-filename" id="patch-filename" style="margin-right: auto; margin-left: auto;"></h6>
4
5
6
    <button id="close-canvas" type="button" class="close" aria-label="Close">
      <span class="p-2" aria-hidden="true">&times;</span>
    </button>
Prakhar Agarwal's avatar
Prakhar Agarwal committed
7
  </div>
8
  <div class="rounded">
Sanket Bhukan's avatar
Sanket Bhukan committed
9
10
11
12
    <!-- Patch menu -->
    <ul class="patch-menu" id="patch-menu">
      <!-- File section -->
      <li id="menu-file">
13
        <ul class="rounded shadow">
Sanket Bhukan's avatar
Sanket Bhukan committed
14
15
16
17
18
19
20
21
          <li id="file-save"></li>
          <li id="file-saveas"></li>
          <li id="file-download"></li>
          <li id="file-print"></li>
          <li id="file-message"></li>
          <li id="file-close"></li>
        </ul>
      </li>
22

Sanket Bhukan's avatar
Sanket Bhukan committed
23
24
      <!-- Edit section -->
      <li id="menu-edit">
25
        <ul class="rounded shadow">
Sanket Bhukan's avatar
Sanket Bhukan committed
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
          <li id="edit-undo"></li>
          <li id="edit-redo"></li>
          <li id="edit-cut"></li>
          <li id="edit-copy"></li>
          <li id="edit-paste"></li>
          <li id="edit-paste-clipboard"></li>
          <li id="edit-duplicate"></li>
          <li id="edit-selectall"></li>
          <li id="edit-reselect"></li>
          <li id="edit-tidyup"></li>
          <li id="edit-font"></li>
          <li id="edit-cordinspector">
            <input type="checkbox" class="ml-2" id="cordinspector" />
          </li>
          <li id="edit-find"></li>
          <li id="edit-findagain"></li>
          <li id="edit-finderror"></li>
          <li id="edit-editmode">
            <input type="checkbox" class="ml-2" id="editmode" />
          </li>
        </ul>
      </li>
48

Sanket Bhukan's avatar
Sanket Bhukan committed
49
50
      <!-- View Section -->
      <li id="menu-view">
51
        <ul class="rounded shadow">
Sanket Bhukan's avatar
Sanket Bhukan committed
52
53
54
55
56
57
58
59
60
          <li id="view-zoomin"></li>
          <li id="view-zoomout"></li>
          <li id="view-zoomreset"></li>
          <li id="view-optimalzoom"></li>
          <li id="view-horizzoom"></li>
          <li id="view-vertzoom"></li>
          <li id="view-fullscreen"></li>
        </ul>
      </li>
61

Sanket Bhukan's avatar
Sanket Bhukan committed
62
63
      <!-- Put Section -->
      <li id="menu-put">
64
        <ul class="rounded shadow">
Sanket Bhukan's avatar
Sanket Bhukan committed
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
          <li id="put-object"></li>
          <li id="put-msgbox"></li>
          <li id="put-number"></li>
          <li id="put-symbol"></li>
          <li id="put-comment"></li>
          <li id="put-dropdown"></li>
          <li id="put-bang"></li>
          <li id="put-toggle"></li>
          <li id="put-number2"></li>
          <li id="put-vslider"></li>
          <li id="put-hslider"></li>
          <li id="put-vradio"></li>
          <li id="put-hradio"></li>
          <li id="put-vu"></li>
          <li id="put-cnv"></li>
          <li id="put-array"></li>
81
        </ul>
Sanket Bhukan's avatar
Sanket Bhukan committed
82
      </li>
83

Sanket Bhukan's avatar
Sanket Bhukan committed
84
85
      <!-- Window Section -->
      <li id="menu-window">
86
        <ul class="rounded shadow">
Sanket Bhukan's avatar
Sanket Bhukan committed
87
88
89
90
91
92
93
94
95
          <li id="window-nextwin"></li>
          <li id="window-prevwin"></li>
          <li id="window-parentwin"></li>
          <li id="window-visible-ancestor"></li>
          <li id="window-pdwin"></li>
        </ul>
      </li>
    </ul>
  </div>
96

Sanket Bhukan's avatar
Sanket Bhukan committed
97
98
99
100
101
102
103
104
105
106
  <!-- Create canvas draw area -->
  <div id="patchsvg_holder_" class="patch-holder">
    <div class="patch_window_svg" id="patch_div_">
      <svg
        xmlns="http://www.w3.org/2000/svg"
        version="1.1"
        id="patchsvg_"
        class="noselect"
        viewBox="0 0 0 0"
      ></svg>
107
    </div>
Sanket Bhukan's avatar
Sanket Bhukan committed
108
  </div>
109

Sanket Bhukan's avatar
Sanket Bhukan committed
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
  <!-- Canvas find -->
  <div id="canvas-find">
    <div id="canvas_find" style="display: none">
      <label
        ><input
          type="text"
          id="canvas_find_text"
          name="canvas_find_text"
          defaultValue="Search in Canvas"
          style="width: 10em"
        />
      </label>
      <button
        type="button"
        id="canvas_find_button"
        data-i18n="[title]canvas.find.search_tt"
      >
        <span data-i18n="canvas.find.search"></span>
      </button>
    </div>
  </div>
</div>