Skip to content
Snippets Groups Projects
pd_canvas.html 2.38 KiB
Newer Older
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="css/dejavu.css">
    <link id="page_style" rel="stylesheet"
          type="text/css" href="css/default.css">
      <input style="display:none;" id="fileDialog" type="file" multiple />
    </span>
      <input style="display:none;" id="saveDialog" type="file"
             nwsaveas nwworkingdir accept=".pd" />
    </span>
    <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"
    <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"/>
    </div>
    <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 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>
    <script type="text/javascript" src="./pd_canvas.js"></script>