From 76f1800f11cd424dcf4672886aae44a52722d5cf Mon Sep 17 00:00:00 2001 From: Belen Barros Date: Tue, 11 Nov 2014 12:22:46 +0000 Subject: bitbake: toastergui: Silly UI fixes Small fixes to the UI of the project.html and targets.html templates. In project.html: * Remove some inline styles and replace them with declarations in default.css * Make sure that the 'add' and 'build' buttons in the project configuration areas have nice, rounded corners * Add some space between the machine name and the change icon * Remove the input-prepend class from the build form (we don't need it) * Apply the success class to target names in completed builds * Bold machine and project name in the change notifications to match all other notifications * There is a bug in Twitter Boostrap in tooltips inside buttons, so moving the tooltip in the 'build' button outside the button tag In targets.html, just add a missing space between the semicolon and the first layer name in the add layer notification. (Bitbake rev: 19113c4fe915be7db51ab06dfab5ea0797faea84) Signed-off-by: Belen Barros Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- .../lib/toaster/toastergui/templates/project.html | 31 +++++++++++++--------- 1 file changed, 18 insertions(+), 13 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/templates/project.html') diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html index a8f2d6ad4f..38863a3ac6 100644 --- a/bitbake/lib/toaster/toastergui/templates/project.html +++ b/bitbake/lib/toaster/toastergui/templates/project.html @@ -88,15 +88,15 @@ vim: expandtab tabstop=2
-
- +
+
+

- + View all targets {% if completedbuilds.count %} @@ -167,7 +167,7 @@ vim: expandtab tabstop=2 -

+
{[b.build[0].completed_on|date:'HH:mm']} @@ -224,10 +224,12 @@ vim: expandtab tabstop=2 Or type a layer name below.

- + +
- {% csrf_token %} +
+ {% csrf_token %}

View all layers | Import layer

    @@ -245,15 +247,17 @@ vim: expandtab tabstop=2 Targets -
    - - + +
    + + +
    {% csrf_token %}

    View all targets

    -

    +

    Most built targets

      @@ -274,7 +278,8 @@ vim: expandtab tabstop=2

      - {[machine.name]} + {[machine.name]} +