Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 46598E00CD0; Tue, 24 May 2016 04:52:56 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.20 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 36AF0E00C43 for ; Tue, 24 May 2016 04:52:29 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 24 May 2016 04:52:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,359,1459839600"; d="scan'208";a="961193942" Received: from icarus.isw.intel.com ([10.237.224.37]) by orsmga001.jf.intel.com with ESMTP; 24 May 2016 04:52:28 -0700 From: Belen Barros Pena To: toaster@yoctoproject.org Date: Tue, 24 May 2016 12:38:36 +0100 Message-Id: <1464090003-23469-20-git-send-email-belen.barros.pena@linux.intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1464090003-23469-1-git-send-email-belen.barros.pena@linux.intel.com> References: <1464090003-23469-1-git-send-email-belen.barros.pena@linux.intel.com> Subject: [PATCH 019/106] toaster: templates Use old style icon classes X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2016 11:52:56 -0000 From: Michael Wood Stick with the old style icons as we customise these with font-awesome. Signed-off-by: Michael Wood --- .../toaster/toastergui/static/js/layerdetails.js | 8 ++++---- .../lib/toaster/toastergui/static/js/libtoaster.js | 4 ++-- .../toaster/toastergui/templates/customrecipe.html | 2 +- .../toaster/toastergui/templates/layer_btn.html | 2 +- .../toaster/toastergui/templates/layerdetails.html | 24 +++++++++++----------- .../toastergui/templates/pkg_add_rm_btn.html | 2 +- .../lib/toaster/toastergui/templates/project.html | 4 ++-- .../toaster/toastergui/templates/projectconf.html | 18 ++++++++-------- .../toastergui/templates/projecttopbar.html | 2 +- 9 files changed, 33 insertions(+), 33 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js index 7f4828e..d545406 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js @@ -98,7 +98,7 @@ function layerDetailsPageInit (ctx) { }); }); - $(".glyphicon glyphicon-pencil").click(function (){ + $(".icon-pencil").click(function (){ var mParent = $(this).parent("dd"); mParent.prev().css("margin-top", "10px"); mParent.children("form").slideDown(); @@ -134,7 +134,7 @@ function layerDetailsPageInit (ctx) { mParent.children(".delete-current-value").show(); } - mParent.children(".glyphicon glyphicon-pencil").show(); + mParent.children(".icon-pencil").show(); mParent.prev().css("margin-top", "0px"); }); }); @@ -387,9 +387,9 @@ function layerDetailsPageInit (ctx) { }); - layerDepsList.find(".glyphicon glyphicon-trash").click(layerDepRemoveClick); + layerDepsList.find(".icon-trash").click(layerDepRemoveClick); layerDepsList.find("a").tooltip(); - $(".glyphicon glyphicon-trash").tooltip(); + $(".icon-trash").tooltip(); $(".commit").tooltip(); } diff --git a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js index 50d9c8f..d48c7f7 100644 --- a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js +++ b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js @@ -557,8 +557,8 @@ $(document).ready(function() { // show task type and outcome in task details pages $(".task-info").tooltip({ container: 'body', html: true, delay: {show: 200}, placement: 'right' }); - // initialise the tooltips for the glyphicon glyphicon-pencil icons - $(".glyphicon glyphicon-pencil").tooltip({ container: 'body', html: true, delay: {show: 400}, title: "Change" }); + // initialise the tooltips for the icon-pencil icons + $(".icon-pencil").tooltip({ container: 'body', html: true, delay: {show: 400}, title: "Change" }); // initialise the tooltips for the download icons $(".icon-download-alt").tooltip({ container: 'body', html: true, delay: { show: 200 } }); diff --git a/bitbake/lib/toaster/toastergui/templates/customrecipe.html b/bitbake/lib/toaster/toastergui/templates/customrecipe.html index ebf2fd2..6dbdf47 100644 --- a/bitbake/lib/toaster/toastergui/templates/customrecipe.html +++ b/bitbake/lib/toaster/toastergui/templates/customrecipe.html @@ -233,7 +233,7 @@ diff --git a/bitbake/lib/toaster/toastergui/templates/layer_btn.html b/bitbake/lib/toaster/toastergui/templates/layer_btn.html index d5ce9ff..1be29fe 100644 --- a/bitbake/lib/toaster/toastergui/templates/layer_btn.html +++ b/bitbake/lib/toaster/toastergui/templates/layer_btn.html @@ -3,7 +3,7 @@ style="display:none;" {% endif %} > - + Remove layer {% else %} {% endif %} @@ -130,7 +130,7 @@ - +
@@ -149,8 +149,8 @@ - - + +
@@ -165,7 +165,7 @@ - +
@@ -176,7 +176,7 @@ {% for ld in layerversion.dependencies.all %}
  • {{ld.depends_on.layer.name}} - +
  • {% endfor %} @@ -244,8 +244,8 @@ Cancel - - + +
    Description @@ -258,8 +258,8 @@ Cancel - - + + {% if layerversion.layer.up_id %}
    Layer index
    diff --git a/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html b/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html index 40eff15..0c71c8a 100644 --- a/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html +++ b/bitbake/lib/toaster/toastergui/templates/pkg_add_rm_btn.html @@ -18,7 +18,7 @@ display:none {% endif %} "> - + Remove package