blob: 799dbb41ebf3c579fd9537abcbcdbfd0bae41acb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
{% extends "layerindex/classic_base.html" %}
{% load i18n %}
{% comment %}
layerindex-web - OE-Classic recipe search page template
Copyright (C) 2013 Intel Corporation
Licensed under the MIT license, see COPYING.MIT for details
{% endcomment %}
<!--
{% block title_append %} - OE-Classic recipes{% endblock %}
-->
{% block navs %}
{% autoescape on %}
<li class="active"><a href="{% url 'classic_recipe_search' %}">Recipes</a></li>
<li><a href="{% url 'classic_recipe_stats' %}">Stats</a></li>
{% endautoescape %}
{% endblock %}
{% block content_inner %}
{% autoescape on %}
<div class="row-fluid">
<div class="span12">
<h2>OE-Classic recipes</h2>
<div class="alert alert-warning">
<b>NOTE:</b> This is the recipe search for OE-Classic, the older monolithic version of OpenEmbedded which is no longer actively developed. <a href="{% url 'recipe_search' 'master' %}">Click here</a> to search current recipes.
</div>
<div class="row-fluid">
<form id="search-form" class="form-inline" method="GET">
<table class="search-form-table">
<tbody>
{% for field in search_form.visible_fields %}
<tr>
<td>
{{ field.label }}
</td>
<td>
{{ field }}
</td>
</tr>
{% endfor %}
</tbody>
</table>
<button class="btn" type="submit">Search</button>
</form>
</div>
{% if recipe_list %}
<table class="table table-striped table-bordered recipestable">
<thead>
<tr>
<th>Recipe name</th>
<th>Version</th>
<th class="span7">Description</th>
<th class="span5">Status</th>
<th>Categories</th>
{% if multi_classic_layers %}
<th>Layer</th>
{% endif %}
</tr>
</thead>
<tbody>
{% for recipe in recipe_list %}
<tr {% if recipe.preferred_count > 0 %}class="muted"{% endif %}>
<td><a href="{% url 'classic_recipe' recipe.id %}">{{ recipe.name }}</a></td>
<td>{{ recipe.pv }}</td>
<td>{{ recipe.short_desc }}</td>
<td>{{ recipe.get_cover_desc }}</td>
<td>{{ recipe.classic_category }}</td>
{% if multi_classic_layers %}
<td><a href="{% url 'layer_item' recipe.layerbranch.layer.name %}">{{ recipe.layerbranch.layer.name }}</a></td>
{% endif %}
</tr>
{% endfor %}
</tbody>
</table>
{% if is_paginated %}
{% load pagination %}
{% pagination page_obj %}
{% endif %}
{% else %}
{% if searched %}
<p>No matching OE-Classic recipes in database.</p>
{% endif %}
{% endif %}
</div>
</div>
{% endautoescape %}
{% endblock %}
{% block scripts %}
<script>
$(document).ready(function() {
firstfield = $("#search-form input:text").first()
if( ! firstfield.val() )
firstfield.focus()
});
</script>
{% endblock %}
|