You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<label for="MappingsPath" class="col-form-label" data-toggle="tooltip" data-placement="top" title="Relative paths mapping the files in your project. For web application files, use the extension: /CSP/">Mappings</label>
442
+
<label for="MappingsPath" class="col-form-label" data-toggle="tooltip" data-placement="top" title="Relative paths mapping the files in your project. For web application files, use the extension: /CSP/">*Mappings</label>
<label for="basicMode" class="offset-sm-1 col-sm-3 col-form-label form-rad-label" data-toggle="tooltip" data-placement="top" title="Enable basic mode, which reduces the number of menu options and requires less knowledge of git. This is suitable for a single-developer (non-shared) namespace.">Basic Mode</label>
559
+
<label for="basicMode" class="offset-sm-1 col-sm-3 col-form-label form-rad-label" data-toggle="tooltip" data-placement="top" title="Enable basic mode, which reduces the number of menu options and requires less knowledge of git. This is suitable for a single-developer (non-shared) namespace.">*Basic Mode</label>
556
560
557
561
<div class="form-check offset-sm-4 form-rad">
558
562
<server>
@@ -608,7 +612,7 @@ body {
608
612
</div>
609
613
610
614
<div class="form-group row mb-3">
611
-
<label for="addToFav" class="offset-sm-1 col-sm-3 col-form-label" data-toggle="tooltip" data-placement="top" title="Favorite namespaces for user to add link on Home page.">Favorite Namespaces</label>
615
+
<label for="addToFav" class="offset-sm-1 col-sm-3 col-form-label" data-toggle="tooltip" data-placement="top" title="Favorite namespaces for user to add link on Home page.">*Favorite Namespaces</label>
<input type='submit' class="btn-lg btn-primary" value = 'Save' name="Save"/>
642
+
<input type="submit" class="btn-lg btn-primary" id="saveDefaults" value = 'Save as Instance Defaults' title="Save these settings as default for new instances" name="saveDefaults"/>
643
+
<div>
644
+
<small> Settings not saved as default marked with '*'</small>
645
+
</div>
637
646
</div>
638
647
</div>
639
648
@@ -660,6 +669,17 @@ function getSocket(urlPostfix) {
660
669
return new WebSocket(socketURL);
661
670
}
662
671
672
+
var submitForm = function(e) {
673
+
e.preventDefault();
674
+
e.stopPropagation();
675
+
var proxySubmitButton = document.getElementById('proxySubmitButton');
676
+
proxySubmitButton.value = "saveDefaults";
677
+
var form = document.getElementById('settingsForm');
0 commit comments