From 1e33843798fa3baa8cadd6c7f58a8feb8ad0d0fd Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Tue, 19 Aug 2014 22:58:52 +0100 Subject: [PATCH] Move main ui over to font-awesome --- public/index.html | 64 ++++++++++++++++++++-------------------- public/red/main.js | 4 +-- public/red/ui/editor.js | 2 +- public/red/ui/library.js | 4 +-- public/red/ui/palette.js | 8 ++--- public/red/ui/tabs.js | 2 +- public/style.css | 31 ++++++++++++------- 7 files changed, 62 insertions(+), 53 deletions(-) diff --git a/public/index.html b/public/index.html index cd7f4a181..7f8ca68e1 100644 --- a/public/index.html +++ b/public/index.html @@ -6,7 +6,7 @@
-
+
- - - + + +
- - - + + +
@@ -195,11 +195,11 @@
- +
- +
@@ -225,7 +225,7 @@
- +
@@ -240,7 +240,7 @@ diff --git a/public/red/main.js b/public/red/main.js index dced81480..ca28ec024 100644 --- a/public/red/main.js +++ b/public/red/main.js @@ -76,7 +76,7 @@ var RED = (function() { } var nns = RED.nodes.createCompleteNodeSet(); - $("#btn-icn-deploy").removeClass('icon-upload'); + $("#btn-icn-deploy").removeClass('fa-download'); $("#btn-icn-deploy").addClass('spinner'); RED.view.dirty(false); @@ -113,7 +113,7 @@ var RED = (function() { } }).always(function() { $("#btn-icn-deploy").removeClass('spinner'); - $("#btn-icn-deploy").addClass('icon-upload'); + $("#btn-icn-deploy").addClass('fa-download'); }); } } diff --git a/public/red/ui/editor.js b/public/red/ui/editor.js index e130f1e0e..41ab855be 100644 --- a/public/red/ui/editor.js +++ b/public/red/ui/editor.js @@ -287,7 +287,7 @@ RED.editor = (function() { input.replaceWith(''); updateConfigNodeSelect(property,type,node[property]); var select = $("#node-input-"+property); - select.after(' '); + select.after(' '); $('#node-input-lookup-'+property).click(function(e) { showEditConfigNodeDialog(property,type,select.find(":selected").val()); e.preventDefault(); diff --git a/public/red/ui/library.js b/public/red/ui/library.js index a2c2e2991..6394d2bb1 100644 --- a/public/red/ui/library.js +++ b/public/red/ui/library.js @@ -107,7 +107,7 @@ RED.library = (function() { }); } })(); - li.innerHTML = ' '+v+""; + li.innerHTML = ' '+v+""; ul.appendChild(li); } else { // file @@ -133,7 +133,7 @@ RED.library = (function() { $('#node-input-name').addClass('input-append-left').css("width","65%").after( '
'+ - ''+ + ''+ '