Fix the cgnapt pipeline stat issues
[samplevnf.git] / VNF_Catalogue / views / project_profile.jade
1 extends layout
2
3 //
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
9 block search
10   .container-dummy
11 block add_project
12   .content-dummy
13       include edit_project
14 block content
15   .content.container-grey
16     each key, index in json
17       #profile-page.container
18         .row
19           .box-container
20             .col.m12
21               .content-box
22                 .col.s1
23                   img.img-size(src='/uploads/#{key.photo_url}')
24                 .col.s11
25                   .user-content
26                     .content-title #{key.vnf_name}
27                     .rating-box
28                       input.rating(type='radio', name='example', value='1')
29                       input.rating(type='radio', name='example', value='2')
30                       input.rating(type='radio', name='example', value='3')
31                       input.rating(type='radio', name='example', value='4')
32                       input.rating(type='radio', name='example', value='5')
33                     p.description
34                       | Github_URL:
35                       //
36                         var repo_url =  #{key.repo_url} 
37                       a(href='#{key.repo_url}') 
38                         | #{key.repo_url} 
39                       //
40                         Pellentesque sit amet leo ut tortor ultrices commodo eu id ex. Pellentesque a odio sem. Curabitur placerat a risus sed blandit. Nulla non condimentum risus. Maecenas porta lacus nec tincidunt fringilla. Integer varius augue et sem scelerisque interdum quis mollis metus. Nunc porta dui nec felis egestas, ut posuere massa blandit. Vivamus non nisi vulputate diam pharetra molestie eu ac ex. Praesent sit amet felis lacinia, bibendum ipsum ac, cursus erat.
41                     .tags
42                       each tag, index in key.tags
43                         .chip #{tag.tag_name}
44                       //
45                         .chip Varius
46                         .chip Nullam
47                         .chip Curabitur
48                         .chip Maecena
49                         .chip Varius
50                         .chip Nullam
51                         .chip Curabitur
52                         .chip Maecena
53                         .chip Varius
54                         .chip Nullam
55                         .chip Curabitur
56                         .chip Maecena
57               .col.m6
58                 .card.card-shadow-custom
59                   .row
60                     ul.card-highlights
61                       li.space-10
62                       li
63                         i.material-icons code
64                         span.dotted #{key.lines_of_code}
65                         |  Lines Of Code
66                         
67                       li
68                         i.material-icons person
69                         span.dotted #{key.no_of_developers}
70                         |  Number of Developers
71                       li
72                         i.material-icons star
73                         span.dotted #{key.no_of_stars}
74                         |  Number of Stars
75                       li
76                         i.material-icons description
77                         span.dotted #{key.versions}
78                         |  Number of Versions
79               .col.m6
80                 .card.card-shadow-custom
81                   .row
82                     ul.card-highlights
83                       li.space-10
84                       li
85                         span.dotted #{key.license}
86                         |  License
87                       li
88                         span.dotted #{key.opnfv_indicator}
89                         |  OPNFV Indicator
90                       li
91                         span.dotted #{key.complexity}
92                         |  Complexity
93                       li
94                         span.dotted #{key.activity}
95                         |  Activity
96               .col.m12
97                 .card.card-shadow-custom
98                   .row
99                     h4 Chart goes here
100   footer
101     | © 2017 XYZ Company
102   //
103     link(rel='stylesheet', href='/stylesheets/search_projects.css')
104   style(type='text/css').
105     /*    input[type="text"]:focus:not([readonly]) {
106     transition: all 0s !important;
107     border-radius: 5px;
108     border: 2px solid #333333;
109     box-shadow: 0 0 15px 1px rgba(0,0,0,0.50);
110     color: #333333;
111     }*/
112     .gray {
113       background: rgb(249,249,249);
114     }
115   link(rel='stylesheet', href='/3rd_party/rating/rating.css', type='text/css', media='screen', title='Rating CSS')  
116   script(type='text/javascript', src='/3rd_party/rating/rating.js')
117   link(rel='stylesheet', href='/stylesheets/style_project.css', type='text/css', media='screen', title='Rating CSS')  
118   
119   script(type='text/javascript').
120     $('.rating-box').rating(function(vote, event){
121     });
122