[gnome-continuous-yocto/gnomeostree-3.28-rocko: 2311/8267] bitbake: toaster: import layer Layout fixes
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 2311/8267] bitbake: toaster: import layer Layout fixes
- Date: Sat, 16 Dec 2017 23:03:08 +0000 (UTC)
commit 23056fcc736d3cd58008df5da43fd17e03959f93
Author: Belen Barros Pena <belen barros pena linux intel com>
Date: Mon Sep 5 15:29:25 2016 +0100
bitbake: toaster: import layer Layout fixes
The layout of the import layer form was looking a bit awkward. This
commit tidies things up a bit.
(Bitbake rev: e5e51ca1394bc392eba99742c59d86b8e5fd5623)
Signed-off-by: Belen Barros Pena <belen barros pena linux intel com>
Signed-off-by: Michael Wood <michael g wood intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
.../lib/toaster/toastergui/static/css/default.css | 1 +
.../toaster/toastergui/templates/importlayer.html | 12 +++++++-----
2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css
b/bitbake/lib/toaster/toastergui/static/css/default.css
index 22510e8..88fe864 100644
--- a/bitbake/lib/toaster/toastergui/static/css/default.css
+++ b/bitbake/lib/toaster/toastergui/static/css/default.css
@@ -203,6 +203,7 @@ h2 { margin-bottom: 25px; }
/* Style the import layer form controls*/
legend { border: none; }
+fieldset.fields-apart-from-layer-name { margin-top: 20px; }
.radioLegend { margin-bottom: 0; }
#layer-name-ctrl { margin-top: 20px; }
#import-layer-name,
diff --git a/bitbake/lib/toaster/toastergui/templates/importlayer.html
b/bitbake/lib/toaster/toastergui/templates/importlayer.html
index eb02440..1f42696 100644
--- a/bitbake/lib/toaster/toastergui/templates/importlayer.html
+++ b/bitbake/lib/toaster/toastergui/templates/importlayer.html
@@ -113,16 +113,18 @@
<span class="glyphicon glyphicon-question-sign get-help" title="You can provide a Git branch, a
tag or a commit SHA as the revision"></span>
</label>
<input type="text" class="form-control" id="layer-git-ref" required>
- <span class="help-inline" style="diaply:none;" id="invalid-layer-revision-hint"></span>
+ <span class="help-inline" style="display:none;" id="invalid-layer-revision-hint"></span>
</div>
</fieldset>
<fieldset class="fields-apart-from-layer-name" id="local-dir" style="display:none;">
<legend>Layer directory information</legend>
- <label for="local-dir-path" class="control-label">Enter the absolute path to the layer
directory</label>
- <input type="text" class="form-control" id="local-dir-path" required/>
- <p class="help-block" id="hintError-dir-path-starts-with-slash" style="display:none;">The absolute
path must start with "/".</p>
- <p class="help-block" id="hintError-dir-path" style="display:none;">The directory path cannot include
spaces or any of these characters: . \ ? % * : | " " < ></p>
+ <div class="form-group">
+ <label for="local-dir-path" class="control-label">Enter the absolute path to the layer
directory</label>
+ <input type="text" class="form-control" id="local-dir-path" required/>
+ <p class="help-block" id="hintError-dir-path-starts-with-slash" style="display:none;">The absolute
path must start with "/".</p>
+ <p class="help-block" id="hintError-dir-path" style="display:none;">The directory path cannot
include spaces or any of these characters: . \ ? % * : | " " < ></p>
+ </div>
</fieldset>
<fieldset class="fields-apart-from-layer-name">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]