pd_canvas.html 2.3 KB
Newer Older
1 2 3
<!DOCTYPE html>
<html>
  <head>
4 5
    <link id="page_style" rel="stylesheet"
          type="text/css" href="css/default.css">
6
  </head>
7
  <body id="patch_body">
8
    <span id = "fileDialogSpan">
9 10
      <input style="display:none;" id="fileDialog" type="file" multiple />
    </span>
11
    <span id = "saveDialogSpan">
12 13 14
      <input style="display:none;" id="saveDialog" type="file"
             nwsaveas nwworkingdir accept=".pd" />
    </span>
15 16 17 18 19 20 21 22
    <input style="display:none;" id="openpanel_dialog" type="file" />
    <input style="display:none;" id="savepanel_dialog" type="file"
           nwsaveas nwworkingdir />
    <svg xmlns="http://www.w3.org/2000/svg"
         version="1.1"
         id="patchsvg"
         class="noselect">
    </svg>
23 24 25 26 27 28 29 30 31 32 33 34 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>
      <label>Match Whole Word
        <input type="checkbox"
               id="canvas_find_whole_word"
               name="canvas_find_whole_word"
               onchange="canvas_find_whole_word(this);"/> 
      </label>
      <input type="button"
             id="canvas_find_button"
             name="canvas_find_button"
             value="Search"/>
      </input>
    </div>
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
    <dialog id="save_before_quit">
      <h4>Do you want to save the changes you made in
        <span id="save_before_quit_filename"></span>?
      </h4>
      <div id="save_before_quit_filename"></div>
      <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>
65
    <script type="text/javascript" src="./pd_canvas.js"></script>
66 67
  </body>
</html>