pd_canvas.html 3.22 KB
Newer Older
1 2 3
<!DOCTYPE html>
<html>
  <head>
4
    <meta charset="UTF-8">
5
    <link rel="stylesheet" type="text/css" href="css/dejavu.css">
6 7
    <link id="page_style" rel="stylesheet"
          type="text/css" href="css/default.css">
8
    <title></title>
9
  </head>
10
  <body class="patch_body">
11
    <span id = "fileDialogSpan">
12 13
      <input style="display:none;" id="fileDialog" type="file" multiple />
    </span>
14
    <span id = "saveDialogSpan">
15 16 17
      <input style="display:none;" id="saveDialog" type="file"
             nwsaveas nwworkingdir accept=".pd" />
    </span>
18 19 20 21
    <span id = "printDialogSpan">
      <input style="display:none;" id="printDialog" type="file"
             nwsaveas nwworkingdir accept=".pdf" />
    </span>
22 23 24 25 26
    <span id = "openpanelSpan">
      <input style="display:none;" id="openpanel_dialog" type="file" />
    </span>
    <span id = "savepanelSpan">
      <input style="display:none;" id="savepanel_dialog" type="file"
27
           nwsaveas nwworkingdir />
28
    </span>
29 30 31
    <svg xmlns="http://www.w3.org/2000/svg"
         version="1.1"
         id="patchsvg"
32 33
         class="noselect"
         viewBox="0 0 0 0">
34
    </svg>
35 36 37 38 39 40 41
    <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>
Albert Gräf's avatar
Albert Gräf committed
42
      <label><span data-i18n="canvas.find.whole_word"></span>
43 44 45 46 47
        <input type="checkbox"
               id="canvas_find_whole_word"
               name="canvas_find_whole_word"
               onchange="canvas_find_whole_word(this);"/> 
      </label>
Albert Gräf's avatar
Albert Gräf committed
48 49 50 51 52
      <button type="button"
              id="canvas_find_button"
              data-i18n="[title]canvas.find.search_tt">
        <span data-i18n="canvas.find.search"></span>
      </button>
53
    </div>
54 55
    <div id="ascii_art" style="display:none;">
      <textarea id="ascii_art_text_area"
Aayush's avatar
Aayush committed
56
                rows="10" cols="25">write your ascii art here</textarea>
Aayush's avatar
Aayush committed
57
      <br/>
58
      <p id="ascii_art_state">State:partial</p>
59 60
      <button type="button"
              id="canvas_ascii_art_button"
Aayush's avatar
Aayush committed
61 62
              data-i18n="[title]canvas.ascii_art.close_tt">
      <span data-i18n="canvas.ascii_art.close"></span>
63
    </div>
64 65 66
    <div style="display:none;" id="dropdown_list" class="noselect">
      <ol></ol>
    </div>
67
    <dialog id="save_before_quit">
Albert Gräf's avatar
Albert Gräf committed
68
      <h4><span data-i18n="canvas.save_dialog.prompt"></span>
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
        <span id="save_before_quit_filename"></span>?
      </h4>
      <div class="submit_buttons">
        <button type="button"
                id="yes_button"
                data-i18n="[title]canvas.save_dialog.yes_tt">
          <span data-i18n="canvas.save_dialog.yes"></span>
        </button>
        <button type="button"
                id="no_button"
                data-i18n="[title]canvas.save_dialog.no_tt">
          <span data-i18n="canvas.save_dialog.no"></span>
        </button>
        <button type="button"
                id="cancel_button"
                data-i18n="[title]canvas.save_dialog.cancel_tt">
          <span data-i18n="canvas.save_dialog.cancel"></span>
        </button>
      </div>
    </dialog>
89
    <script type="text/javascript" src="./pd_canvas.js"></script>
90 91
  </body>
</html>