Commit e5757c12 authored by Jonathon Duerig's avatar Jonathon Duerig

Make 'Update Profile' a one step operation. The user just clicks once if there are no errors.

Tweak button colors in genilib editor.
parent 3448d568
......@@ -177,6 +177,7 @@ function (_, sup, aptforms,
$('#create-root').show();
createShown = true;
updateEditBody();
_.defer(function () { $('#profile_submit_button').click(); });
}
$('#jacks-root').show();
_.defer(jacksUpdate);
......
......@@ -2,10 +2,10 @@
<div id="editor-container" class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="row edit-buttons">
<div class="col-md-12">
<button id="saveButton" class="btn btn-primary">Save To Disk</button>
<button id="loadButton" class="btn btn-primary">Load From Disk</button>
<button id="runButton" class="btn btn-success">Test Script</button>
<button id="settingsButton" class="btn btn-primary"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span></button>
<button id="saveButton" class="btn btn-default">Save To Disk</button>
<button id="loadButton" class="btn btn-default">Load From Disk</button>
<button id="runButton" class="btn btn-default">Test Script</button>
<button id="settingsButton" class="btn btn-default"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span></button>
<button id="updateButton" class="btn btn-primary pull-right hidden" style="margin-left: 10px">Update Profile</button>
<button id="createButton" class="btn btn-primary pull-right" style="margin-left: 10px">Create New Profile</button>
</div>
......
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