diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/layerdetails.html')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/layerdetails.html | 159 |
1 files changed, 159 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/layerdetails.html b/bitbake/lib/toaster/toastergui/templates/layerdetails.html new file mode 100644 index 0000000000..78dc54bfd1 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/layerdetails.html | |||
| @@ -0,0 +1,159 @@ | |||
| 1 | {% extends "baseprojectpage.html" %} | ||
| 2 | {% load projecttags %} | ||
| 3 | {% load humanize %} | ||
| 4 | |||
| 5 | {% block localbreadcrumb %} | ||
| 6 | <li>Layer Details</li> | ||
| 7 | {% endblock %} | ||
| 8 | |||
| 9 | {% block projectinfomain %} | ||
| 10 | <div class="page-header"> | ||
| 11 | <h1>Layer Details</h1> | ||
| 12 | </div> | ||
| 13 | |||
| 14 | <div class="row-fluid span7 tabbable"> | ||
| 15 | <ul class="nav nav-pills"> | ||
| 16 | <li class="active"> | ||
| 17 | <a data-toggle="tab" href="#information">Layer details</a> | ||
| 18 | </li> | ||
| 19 | <li> | ||
| 20 | <a data-toggle="tab" href="#targets">Targets (0)</a> | ||
| 21 | </li> | ||
| 22 | <li> | ||
| 23 | <a data-toggle="tab" href="#machines">Machines (0)</a> | ||
| 24 | </li> | ||
| 25 | <li> | ||
| 26 | <a data-toggle="tab" href="#classes">Classes (0)</a> | ||
| 27 | </li> | ||
| 28 | <li> | ||
| 29 | <a data-toggle="tab" href="#bbappends">bbappends (0)</a> | ||
| 30 | </li> | ||
| 31 | </ul> | ||
| 32 | <div class="tab-content"> | ||
| 33 | <div name="information" id="information" class="tab-pane active"> | ||
| 34 | <dl class="dl-horizontal"> | ||
| 35 | <dt class=""> | ||
| 36 | <i class="icon-question-sign get-help" title="Fetch/clone URL of the repository"></i> | ||
| 37 | Repository URL | ||
| 38 | </dt> | ||
| 39 | <dd> | ||
| 40 | <form id="change-repo-form" class="control-group"> | ||
| 41 | <div class="input-append"> | ||
| 42 | <input type="text" class="input-xlarge" id="type-repo" value="{{layerversion.layer.vcs_url}}"> | ||
| 43 | <button id="apply-change-repo" class="btn" type="button">Change</button> | ||
| 44 | <!--a href="#" id="cancel-change-repo" class="btn btn-link">Cancel</a--> | ||
| 45 | </div> | ||
| 46 | <span class="help-block">Cloning this Git repository failed</span> | ||
| 47 | </form> | ||
| 48 | </dd> | ||
| 49 | <dt> | ||
| 50 | <i class="icon-question-sign get-help" title="Subdirectory within the repository where the layer is located, if not in the root (usually only used if the repository contains more than one layer)"></i> | ||
| 51 | Repository subdirectory | ||
| 52 | </dt> | ||
| 53 | <dd> | ||
| 54 | <span id="subdir">{{layerversion.dirpath}}</span> | ||
| 55 | <i id="change-subdir" class="icon-pencil"></i> | ||
| 56 | <i id="delete-subdir" class="icon-trash"></i> | ||
| 57 | <form id="change-subdir-form" style="display:none;"> | ||
| 58 | <div class="input-append"> | ||
| 59 | <input type="text" id="type-subdir" value="meta-acer"> | ||
| 60 | <button id="apply-change-subdir" class="btn" type="button">Change</button> | ||
| 61 | <a href="#" id="cancel-change-subdir" class="btn btn-link">Cancel</a> | ||
| 62 | </div> | ||
| 63 | </form> | ||
| 64 | </dd> | ||
| 65 | <dt>Brach, tag or commit</dt> | ||
| 66 | <dd> | ||
| 67 | {{layerversion.up_branch.name}} | ||
| 68 | <i class="icon-pencil"></i> | ||
| 69 | </dd> | ||
| 70 | <dt> | ||
| 71 | <i class="icon-question-sign get-help" title="The Yocto Project versions with which this layer is compatible. Currently Toaster supports Yocto Project 1.6 and 1.7"></i> | ||
| 72 | Yocto Project compatibility | ||
| 73 | </dt> | ||
| 74 | <dd> | ||
| 75 | <i class="icon-pencil"></i> | ||
| 76 | </dd> | ||
| 77 | <dt> | ||
| 78 | <i class="icon-question-sign get-help" title="Other layers this layer depends upon"></i> | ||
| 79 | Layer dependencies | ||
| 80 | </dt> | ||
| 81 | <dd> | ||
| 82 | <ul class="unstyled"> | ||
| 83 | {% for ld in layer.dependencies.all %} | ||
| 84 | <li> | ||
| 85 | <a href="#">openembedded core (meta)</a> | ||
| 86 | <i class="icon-trash"></i> | ||
| 87 | </li> | ||
| 88 | {% endfor %} | ||
| 89 | </ul> | ||
| 90 | <div class="input-append"> | ||
| 91 | <input type="text" autocomplete="off" data-minLength="1" data-autocomplete="off" | ||
| 92 | data-provide="typeahead" data-source=' | ||
| 93 | ' | ||
| 94 | placeholder="Type a layer name" id="layer-dependency"> | ||
| 95 | <a class="btn" type="button" id="add-layer-dependency" disabled> | ||
| 96 | Add layer | ||
| 97 | </a> | ||
| 98 | </div> | ||
| 99 | <span class="help-block">You can only add layers Toaster knows about</span> | ||
| 100 | </dd> | ||
| 101 | </dl> | ||
| 102 | </div> | ||
| 103 | <div name="targets" id="targets" class="tab-pane"> | ||
| 104 | <div class="alert alert-info"> | ||
| 105 | <strong>There is no target data for {{layerversion.layer.name}} ... yet</strong> <br /> | ||
| 106 | Toaster learns about layers as they are built. Once you have used {{layerversion.layer.name}} in a build, Toaster will show you | ||
| 107 | here the targets it provides. | ||
| 108 | </div> | ||
| 109 | </div> | ||
| 110 | <div name="machines" id="machines" class="tab-pane"> | ||
| 111 | <div class="alert alert-info"> | ||
| 112 | <strong>There is no machine data for {{layerversion.layer.name}} ... yet</strong> <br /> | ||
| 113 | Toaster learns about layers as they are built. Once you have used {{layerversion.layer.name}} in a build, Toaster will show you | ||
| 114 | here the machines it provides. | ||
| 115 | </div> | ||
| 116 | </div> | ||
| 117 | </div> | ||
| 118 | </div> | ||
| 119 | <div class="row span4 well"> | ||
| 120 | <h2>About {{layerversion.layer.name}}</h2> | ||
| 121 | <dl> | ||
| 122 | |||
| 123 | <dt> | ||
| 124 | Summary | ||
| 125 | <i class="icon-question-sign get-help" title="One-line description of the layer"></i> | ||
| 126 | </dt> | ||
| 127 | <dd> | ||
| 128 | <span >{{layerversion.layer.summary}}</span> | ||
| 129 | <i class="icon-pencil"></i> | ||
| 130 | </dd> | ||
| 131 | <!--form> | ||
| 132 | <textarea class="span12" rows="2"></textarea> | ||
| 133 | <button class="btn" type="button">Change</button> | ||
| 134 | <a href="#" class="btn btn-link">Cancel</a> | ||
| 135 | </form--> | ||
| 136 | <dt> | ||
| 137 | Description | ||
| 138 | </dt> | ||
| 139 | <dd> | ||
| 140 | <span >{{layerversion.layer.description}}</span> | ||
| 141 | <i class="icon-pencil"></i> | ||
| 142 | </dd> | ||
| 143 | <!--form> | ||
| 144 | <textarea class="span12" rows="6"></textarea> | ||
| 145 | <button class="btn" type="button">Change</button> | ||
| 146 | <a href="#" class="btn btn-link">Cancel</a> | ||
| 147 | </form--> | ||
| 148 | <dt> | ||
| 149 | Maintainer(s) | ||
| 150 | </dt> | ||
| 151 | <dd> | ||
| 152 | <span class="muted">Not set</span> | ||
| 153 | <i class="icon-pencil"></i> | ||
| 154 | </dd> | ||
| 155 | </dl> | ||
| 156 | </div> | ||
| 157 | |||
| 158 | |||
| 159 | {% endblock %} | ||
