|
Thomas Spura |
c43dcf3 |
commit 716862fc302c447d756e1c2075c5136e6c9c60b0
|
|
Thomas Spura |
c43dcf3 |
Author: Thomas Spura <thomas.spura@gmail.com>
|
|
Thomas Spura |
c43dcf3 |
Date: Sun Jul 6 13:11:20 2014 +0200
|
|
Thomas Spura |
c43dcf3 |
|
|
Thomas Spura |
c43dcf3 |
Port to fontawesome4
|
|
Thomas Spura |
c43dcf3 |
|
|
Thomas Spura |
c43dcf3 |
diff --git a/IPython/html/static/notebook/js/maintoolbar.js b/IPython/html/static/notebook/js/maintoolbar.js
|
|
Thomas Spura |
c43dcf3 |
index 01af262..c957bfe 100644
|
|
Thomas Spura |
c43dcf3 |
--- a/IPython/html/static/notebook/js/maintoolbar.js
|
|
Thomas Spura |
c43dcf3 |
+++ b/IPython/html/static/notebook/js/maintoolbar.js
|
|
Thomas Spura |
c43dcf3 |
@@ -27,7 +27,7 @@ var IPython = (function (IPython) {
|
|
Thomas Spura |
c43dcf3 |
{
|
|
Thomas Spura |
c43dcf3 |
id : 'save_b',
|
|
Thomas Spura |
c43dcf3 |
label : 'Save and Checkpoint',
|
|
Thomas Spura |
c43dcf3 |
- icon : 'icon-save',
|
|
Thomas Spura |
c43dcf3 |
+ icon : 'fa fa-save',
|
|
Thomas Spura |
c43dcf3 |
callback : function () {
|
|
Thomas Spura |
c43dcf3 |
IPython.notebook.save_checkpoint();
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
@@ -38,7 +38,7 @@ var IPython = (function (IPython) {
|
|
Thomas Spura |
c43dcf3 |
{
|
|
Thomas Spura |
c43dcf3 |
id : 'insert_below_b',
|
|
Thomas Spura |
c43dcf3 |
label : 'Insert Cell Below',
|
|
Thomas Spura |
c43dcf3 |
- icon : 'icon-plus-sign',
|
|
Thomas Spura |
c43dcf3 |
+ icon : 'fa fa-plus',
|
|
Thomas Spura |
c43dcf3 |
callback : function () {
|
|
Thomas Spura |
c43dcf3 |
IPython.notebook.insert_cell_below('code');
|
|
Thomas Spura |
c43dcf3 |
IPython.notebook.select_next();
|
|
Thomas Spura |
c43dcf3 |
@@ -51,7 +51,7 @@ var IPython = (function (IPython) {
|
|
Thomas Spura |
c43dcf3 |
{
|
|
Thomas Spura |
c43dcf3 |
id : 'cut_b',
|
|
Thomas Spura |
c43dcf3 |
label : 'Cut Cell',
|
|
Thomas Spura |
c43dcf3 |
- icon : 'icon-cut',
|
|
Thomas Spura |
c43dcf3 |
+ icon : 'fa fa-cut',
|
|
Thomas Spura |
c43dcf3 |
callback : function () {
|
|
Thomas Spura |
c43dcf3 |
IPython.notebook.cut_cell();
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
@@ -59,7 +59,7 @@ var IPython = (function (IPython) {
|
|
Thomas Spura |
c43dcf3 |
{
|
|
Thomas Spura |
c43dcf3 |
id : 'copy_b',
|
|
Thomas Spura |
c43dcf3 |
label : 'Copy Cell',
|
|
Thomas Spura |
c43dcf3 |
- icon : 'icon-copy',
|
|
Thomas Spura |
c43dcf3 |
+ icon : 'fa fa-copy',
|
|
Thomas Spura |
c43dcf3 |
callback : function () {
|
|
Thomas Spura |
c43dcf3 |
IPython.notebook.copy_cell();
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
@@ -67,7 +67,7 @@ var IPython = (function (IPython) {
|
|
Thomas Spura |
c43dcf3 |
{
|
|
Thomas Spura |
c43dcf3 |
id : 'paste_b',
|
|
Thomas Spura |
c43dcf3 |
label : 'Paste Cell Below',
|
|
Thomas Spura |
c43dcf3 |
- icon : 'icon-paste',
|
|
Thomas Spura |
c43dcf3 |
+ icon : 'fa fa-paste',
|
|
Thomas Spura |
c43dcf3 |
callback : function () {
|
|
Thomas Spura |
c43dcf3 |
IPython.notebook.paste_cell_below();
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
@@ -78,7 +78,7 @@ var IPython = (function (IPython) {
|
|
Thomas Spura |
c43dcf3 |
{
|
|
Thomas Spura |
c43dcf3 |
id : 'move_up_b',
|
|
Thomas Spura |
c43dcf3 |
label : 'Move Cell Up',
|
|
Thomas Spura |
c43dcf3 |
- icon : 'icon-arrow-up',
|
|
Thomas Spura |
c43dcf3 |
+ icon : 'fa fa-arrow-up',
|
|
Thomas Spura |
c43dcf3 |
callback : function () {
|
|
Thomas Spura |
c43dcf3 |
IPython.notebook.move_cell_up();
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
@@ -86,7 +86,7 @@ var IPython = (function (IPython) {
|
|
Thomas Spura |
c43dcf3 |
{
|
|
Thomas Spura |
c43dcf3 |
id : 'move_down_b',
|
|
Thomas Spura |
c43dcf3 |
label : 'Move Cell Down',
|
|
Thomas Spura |
c43dcf3 |
- icon : 'icon-arrow-down',
|
|
Thomas Spura |
c43dcf3 |
+ icon : 'fa fa-arrow-down',
|
|
Thomas Spura |
c43dcf3 |
callback : function () {
|
|
Thomas Spura |
c43dcf3 |
IPython.notebook.move_cell_down();
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
@@ -98,7 +98,7 @@ var IPython = (function (IPython) {
|
|
Thomas Spura |
c43dcf3 |
{
|
|
Thomas Spura |
c43dcf3 |
id : 'run_b',
|
|
Thomas Spura |
c43dcf3 |
label : 'Run Cell',
|
|
Thomas Spura |
c43dcf3 |
- icon : 'icon-play',
|
|
Thomas Spura |
c43dcf3 |
+ icon : 'fa fa-play',
|
|
Thomas Spura |
c43dcf3 |
callback : function () {
|
|
Thomas Spura |
c43dcf3 |
// emulate default shift-enter behavior
|
|
Thomas Spura |
c43dcf3 |
IPython.notebook.execute_cell_and_select_below();
|
|
Thomas Spura |
c43dcf3 |
@@ -107,7 +107,7 @@ var IPython = (function (IPython) {
|
|
Thomas Spura |
c43dcf3 |
{
|
|
Thomas Spura |
c43dcf3 |
id : 'interrupt_b',
|
|
Thomas Spura |
c43dcf3 |
label : 'Interrupt',
|
|
Thomas Spura |
c43dcf3 |
- icon : 'icon-stop',
|
|
Thomas Spura |
c43dcf3 |
+ icon : 'fa fa-stop',
|
|
Thomas Spura |
c43dcf3 |
callback : function () {
|
|
Thomas Spura |
c43dcf3 |
IPython.notebook.session.interrupt_kernel();
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
@@ -115,7 +115,7 @@ var IPython = (function (IPython) {
|
|
Thomas Spura |
c43dcf3 |
{
|
|
Thomas Spura |
c43dcf3 |
id : 'repeat_b',
|
|
Thomas Spura |
c43dcf3 |
label : 'Restart Kernel',
|
|
Thomas Spura |
c43dcf3 |
- icon : 'icon-repeat',
|
|
Thomas Spura |
c43dcf3 |
+ icon : 'fa fa-repeat',
|
|
Thomas Spura |
c43dcf3 |
callback : function () {
|
|
Thomas Spura |
c43dcf3 |
IPython.notebook.restart_kernel();
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
diff --git a/IPython/html/static/notebook/less/notificationarea.less b/IPython/html/static/notebook/less/notificationarea.less
|
|
Thomas Spura |
c43dcf3 |
index 5b3fd52..00073c0 100644
|
|
Thomas Spura |
c43dcf3 |
--- a/IPython/html/static/notebook/less/notificationarea.less
|
|
Thomas Spura |
c43dcf3 |
+++ b/IPython/html/static/notebook/less/notificationarea.less
|
|
Thomas Spura |
c43dcf3 |
@@ -28,19 +28,19 @@
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
|
|
Thomas Spura |
c43dcf3 |
.edit_mode_icon:before {
|
|
Thomas Spura |
c43dcf3 |
- .icon(@pencil);
|
|
Thomas Spura |
c43dcf3 |
+ content: @fa-var-pencil;
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
|
|
Thomas Spura |
c43dcf3 |
.command_mode_icon:before {
|
|
Thomas Spura |
c43dcf3 |
- .icon(' ');
|
|
Thomas Spura |
c43dcf3 |
+ content: ' ';
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
|
|
Thomas Spura |
c43dcf3 |
.kernel_idle_icon:before {
|
|
Thomas Spura |
c43dcf3 |
- .icon(@circle-blank);
|
|
Thomas Spura |
c43dcf3 |
+ content: @fa-var-circle-o;
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
|
|
Thomas Spura |
c43dcf3 |
.kernel_busy_icon:before {
|
|
Thomas Spura |
c43dcf3 |
- .icon(@circle);
|
|
Thomas Spura |
c43dcf3 |
+ content: @fa-var-circle;
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
|
|
Thomas Spura |
c43dcf3 |
|
|
Thomas Spura |
c43dcf3 |
diff --git a/IPython/html/static/tree/less/tree.less b/IPython/html/static/tree/less/tree.less
|
|
Thomas Spura |
c43dcf3 |
index 1827f97..a480d67 100644
|
|
Thomas Spura |
c43dcf3 |
--- a/IPython/html/static/tree/less/tree.less
|
|
Thomas Spura |
c43dcf3 |
+++ b/IPython/html/static/tree/less/tree.less
|
|
Thomas Spura |
c43dcf3 |
@@ -141,9 +141,9 @@ input.engine_num_input {
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
|
|
Thomas Spura |
c43dcf3 |
.folder_icon:before {
|
|
Thomas Spura |
c43dcf3 |
- .icon(@folder-close-alt)
|
|
Thomas Spura |
c43dcf3 |
+ content: @fa-var-folder-o
|
|
Thomas Spura |
c43dcf3 |
}
|
|
Thomas Spura |
c43dcf3 |
|
|
Thomas Spura |
c43dcf3 |
.notebook_icon:before {
|
|
Thomas Spura |
c43dcf3 |
- .icon(@book)
|
|
Thomas Spura |
c43dcf3 |
+ content: @fa-var-book
|
|
Thomas Spura |
c43dcf3 |
}
|