diff --git a/IPython/frontend/html/notebook/static/auth/js/loginmain.js b/IPython/frontend/html/notebook/static/auth/js/loginmain.js
index 9718fb5..4b6c536 100644
--- a/IPython/frontend/html/notebook/static/auth/js/loginmain.js
+++ b/IPython/frontend/html/notebook/static/auth/js/loginmain.js
@@ -13,8 +13,7 @@
$(document).ready(function () {
IPython.page = new IPython.Page();
- $('input#login_submit').button();
- $('#ipython-main-app').addClass('border-box-sizing ui-widget');
+ $('button#login_submit').addClass("btn");
IPython.page.show();
$('input#password_input').focus();
diff --git a/IPython/frontend/html/notebook/static/auth/js/loginwidget.js b/IPython/frontend/html/notebook/static/auth/js/loginwidget.js
index 96fc030..1998aca 100644
--- a/IPython/frontend/html/notebook/static/auth/js/loginwidget.js
+++ b/IPython/frontend/html/notebook/static/auth/js/loginwidget.js
@@ -23,8 +23,7 @@ var IPython = (function (IPython) {
};
LoginWidget.prototype.style = function () {
- this.element.find('button#logout').button();
- this.element.find('button#login').button();
+ this.element.find("button").addClass("btn btn-small");
};
diff --git a/IPython/frontend/html/notebook/static/auth/js/logoutmain.js b/IPython/frontend/html/notebook/static/auth/js/logoutmain.js
index 16331d4..df107c6 100644
--- a/IPython/frontend/html/notebook/static/auth/js/logoutmain.js
+++ b/IPython/frontend/html/notebook/static/auth/js/logoutmain.js
@@ -13,7 +13,7 @@
$(document).ready(function () {
IPython.page = new IPython.Page();
- $('#ipython-main-app').addClass('border-box-sizing ui-widget');
+ $('#ipython-main-app').addClass('border-box-sizing');
IPython.page.show();
});
diff --git a/IPython/frontend/html/notebook/static/auth/less/login.less b/IPython/frontend/html/notebook/static/auth/less/login.less
index 0c8c311..d21a3a1 100644
--- a/IPython/frontend/html/notebook/static/auth/less/login.less
+++ b/IPython/frontend/html/notebook/static/auth/less/login.less
@@ -1 +1,6 @@
-// Custom styles for login.html
\ No newline at end of file
+// Custom styles for login.html
+.center-nav {
+ display: inline-block;
+ // pull the lower margin back
+ margin-bottom: -4px;
+}
\ No newline at end of file
diff --git a/IPython/frontend/html/notebook/static/base/js/dialog.js b/IPython/frontend/html/notebook/static/base/js/dialog.js
new file mode 100644
index 0000000..92d2e3c
--- /dev/null
+++ b/IPython/frontend/html/notebook/static/base/js/dialog.js
@@ -0,0 +1,75 @@
+//----------------------------------------------------------------------------
+// Copyright (C) 2013 The IPython Development Team
+//
+// Distributed under the terms of the BSD License. The full license is in
+// the file COPYING, distributed as part of this software.
+//----------------------------------------------------------------------------
+
+//============================================================================
+// Utility for modal dialogs with bootstrap
+//============================================================================
+
+IPython.namespace('IPython.dialog');
+
+IPython.dialog = (function (IPython) {
+
+ var modal = function (options) {
+ var dialog = $("
").addClass("modal").attr("role", "dialog");
+ dialog.append(
+ $("")
+ .addClass("modal-header")
+ .append($("