4 Copyright (c) 2017 Kumar Rishabh and others.
5 All rights reserved. This program and the accompanying materials
6 are made available under the terms of the Apache License, Version 2.0
7 which accompanies this distribution, and is available at
8 http://www.apache.org/licenses/LICENSE-2.0
17 each key, index in json
18 .container.container-custom
19 .card.card-shadow-custom.horizontal
21 .col.s5.card-title-div-custom
22 span.card-title.card-title-span-custom
23 a.custom-href(href='/project_profile?vnf_id=#{key.vnf_id}')
25 .col.s5.card-title-div-custom
26 i.material-icons grade
27 span.card-title PenguinScore: 42
28 .col.s2.card-title-div-custom-right
30 input#search_result_1(type='checkbox', name='#{key.vnf_name}')
31 label(for='search_result_1') Compare
33 <div class="card-action">
34 <a href="#">This is a link</a>
36 .col.s4.card-image.card-image-custom
37 img.img-size.card-image-picture-custom(src='/uploads/#{key.photo_url}')
41 .collection.collection-custom
42 a.collection-item(href='#!')
45 | Lines Of Code: #{key.lines_of_code}
46 a.collection-item(href='#!')
48 i.material-icons person
49 | Number of Developers: #{key.no_of_developers}
50 a.collection-item(href='#!')
53 | Number of Stars: #{key.no_of_stars}
54 a.collection-item(href='#!')
56 i.material-icons description
57 | Number of Versions: #{key.versions}
60 each tag, index in key.tags
62 a.a-custom(href='/search_projects?tags=#{tag.tag_name}') #{tag.tag_name}
65 a.a-custom(href='#!') tag1
67 a.a-custom(href='#!') Tag2
69 a.a-custom(href='#!') Tag3
71 a.a-custom(href='#!') Tag4
73 a.a-custom(href='#!') Tag5
74 a.a-custom-more(href='/project_profile?vnf_id=#{key.vnf_id}') more
76 .card-action-custom.col.s12.card-action
78 a(href='#') #{key.license}
84 a(href='#') #{key.opnfv_indicator}
87 link(rel='stylesheet', href='/stylesheets/search_projects.css')
88 script(type='text/javascript', src='/3rd_party/materialize-pagination.js')
89 script(type='text/javascript', src='/javascripts/search_results.js')
90 style(type='text/css').