Commit df8a0eb4 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Merge branch 'dialog-n-annotation'

parents 98f347e8 46466c8f
......@@ -526,12 +526,13 @@ text {
/* Dialog to ask to save the patch before quitting */
#save_before_quit {
background-color: #f3f3f3;
border:1px solid #000;
border:1px solid #f3f3f3;
padding: 12px;
margin: 12px;
/*box-shadow: 7px 7px 5px grey;*/
left: 50%;
top: 50%;
width: 40%;
transform: translate(-50%, -50%);
}
......
......@@ -17,8 +17,9 @@
</button>
</div>
<dialog id="save_before_quit">
<h4>Do you want to save the changes you made before closing the window?
</h4>
<h5 style="text-align: center;">
Do you want to save the changes you made before closing the window?
</h5>
<div class="submit_buttons">
<button type="button"
onClick="ok()"
......
......@@ -55,9 +55,9 @@
<ol></ol>
</div>
<dialog id="save_before_quit">
<h4><span data-i18n="canvas.save_dialog.prompt"></span>
<h5 style="text-align: center;"><span data-i18n="canvas.save_dialog.prompt"></span>
<span id="save_before_quit_filename"></span>?
</h4>
</h5>
<div class="submit_buttons">
<button type="button"
id="yes_button"
......@@ -76,7 +76,7 @@
</button>
</div>
</dialog>
<div id="hscroll" style="background-color: #00000044; position: fixed; left: 2px; bottom: 2px; border-radius: 0px; width: 10px; height: 5px; visibility: hidden;"></div>
<div id="hscroll" style="background-color: #00000044; position: fixed; left: 2px; bottom: 2px; border-radius: 0px; width: 10px; height: 5px; visibility: hidden;"></div>
<div id="vscroll" style="background-color: #00000044; position: fixed; right: 2px; top: 2px; border-radius: 0px; width: 5px; height: 10px; visibility: hidden;"></div>
<script type="text/javascript" src="./pd_canvas.js"></script>
</body>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment