Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added description per extension

  • Loading branch information...
commit cccb1c66dcbd573f029a50df7a2353e1c43908c0 1 parent 5a51e7a
@mhausenblas authored
View
5 sandbox/schema-org-nav/rdfa.css
@@ -148,6 +148,11 @@ span {
padding: 0 0 0 10px;
}
+.extension p {
+ color: #909090;
+ font-size: 95%;
+ padding: 0 0 0 23px;
+}
/* overwrite the jQuery UI stuff */
View
8 sandbox/schema-org-nav/schema-org-nav.js
@@ -177,25 +177,25 @@ function render_extensions(){
$('#tabs-published').html('<p class="ext-state">' + EXTENSIONS_SCHEMA.state.published + '</p>');
for(i=0; i < extensions.length; i++){ // published extensions
if(extensions[i].state == (EXTENSIONS_SCHEMA.prefix + ':published')) {
- $('#tabs-published').append('<div class="extension"><a class="expand" href="' + extensions[i].id + '">&laquo;</a> ' + extensions[i].title + ': <a href="' + extensions[i].spec +'">schema</a></div>');
+ $('#tabs-published').append('<div class="extension"><a class="expand" href="' + extensions[i].id + '">&laquo;</a> ' + extensions[i].title + ': <a href="' + extensions[i].spec +'">schema</a><p>' + extensions[i].description + '</p></div>');
}
}
$('#tabs-candidate').html('<p class="ext-state">' + EXTENSIONS_SCHEMA.state.candidate + '</p>');
for(i=0; i < extensions.length; i++){ // candidate extensions
if(extensions[i].state == (EXTENSIONS_SCHEMA.prefix + ':candidate')) {
- $('#tabs-candidate').append('<div class="extension"><a class="expand" href="' + extensions[i].id + '">&laquo;</a> ' + extensions[i].title + '</span>: <a href="' + extensions[i].spec +'">schema</a></div>');
+ $('#tabs-candidate').append('<div class="extension"><a class="expand" href="' + extensions[i].id + '">&laquo;</a> ' + extensions[i].title + '</span>: <a href="' + extensions[i].spec +'">schema</a><p>' + extensions[i].description + '</p></div>');
}
}
$('#tabs-proposal').html('<p class="ext-state">' + EXTENSIONS_SCHEMA.state.proposal + '</p>');
for(i=0; i < extensions.length; i++){ // // proposal extensions
if(extensions[i].state == (EXTENSIONS_SCHEMA.prefix + ':proposal')) {
- $('#tabs-proposal').append('<div class="extension"><a class="expand" href="' + extensions[i].id + '">&laquo;</a> ' + extensions[i].title + '</span>: <a href="' + extensions[i].spec +'">proposal</a></div>');
+ $('#tabs-proposal').append('<div class="extension"><a class="expand" href="' + extensions[i].id + '">&laquo;</a> ' + extensions[i].title + '</span>: <a href="' + extensions[i].spec +'">proposal</a><p>' + extensions[i].description + '</p></div>');
}
}
$('#tabs-discussion').html('<p class="ext-state">' + EXTENSIONS_SCHEMA.state.discussion + '</p>');
for(i=0; i < extensions.length; i++){ // extensions under discussion
if(extensions[i].state == (EXTENSIONS_SCHEMA.prefix + ':discussion')) {
- $('#tabs-discussion').append('<div class="extension"><a class="expand" href="' + extensions[i].id + '">&laquo;</a> ' + extensions[i].title + '</span>: <a href="' + extensions[i].spec +'">discussion</a></div>');
+ $('#tabs-discussion').append('<div class="extension"><a class="expand" href="' + extensions[i].id + '">&laquo;</a> ' + extensions[i].title + '</span>: <a href="' + extensions[i].spec +'">discussion</a><p>' + extensions[i].description + '</p></div>');
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.