From caa99cf8104050ce40b5221a8b75613ac5fd0b04 Mon Sep 17 00:00:00 2001 From: amandaghassaei <amandaghassaei@gmail.com> Date: Mon, 9 Oct 2017 00:42:02 -0400 Subject: [PATCH] svg import tips --- css/main.css | 7 +++++++ index.html | 3 ++- js/controls.js | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/css/main.css b/css/main.css index 17a79af..dd40d4c 100755 --- a/css/main.css +++ b/css/main.css @@ -532,4 +532,11 @@ object{ #noSupportModal{ text-align: center; +} + +#tipImportSVG{ + float: left; + display: inline-block; + margin-top: 8px; + margin-left: 20px; } \ No newline at end of file diff --git a/index.html b/index.html index 9e9c177..3c710c7 100755 --- a/index.html +++ b/index.html @@ -1237,7 +1237,7 @@ </button> <p><b>FILE IMPORT TIPS</b><br/><br/> Bad design files will throw errors and create models that explode or cannot be solved, here are some tips for - importing FOLD or svg files that work.<br/><br/> + importing FOLD or SVG files that work.<br/><br/> <b>Importing FOLD:</b><br/><br/> The FOLD file format is specified in <a target="_blank" href="https://github.com/edemaine/fold">these docs</a>. This tool imports FOLD v1.0 files with <b>all</b> of the following fields populated: @@ -1686,6 +1686,7 @@ </p> </div> <div class="modal-footer"> + <div id="tipImportSVG" class="smallTxt">Having trouble? See these <a class="goToImportInstructions" href="#">SVG Import Tips</a>.</div> <button id="doSVGImport" type="button" class="actionButton btn btn-success" data-dismiss="modal">Import SVG</button> </div> </div> diff --git a/js/controls.js b/js/controls.js index 0eb3168..fec8d28 100755 --- a/js/controls.js +++ b/js/controls.js @@ -403,6 +403,7 @@ function initControls(globals){ setLink(".goToImportInstructions", function(){ $("#aboutModal").modal("hide"); + $("#importSettingsModal").modal("hide"); $("#tipsModal").modal("show"); }); -- GitLab