reformat downloads
This commit is contained in:
parent
d8fcbaaaed
commit
3dad0887ff
|
@ -4,44 +4,52 @@
|
||||||
"subtitle": "Choose from our list of frameworks",
|
"subtitle": "Choose from our list of frameworks",
|
||||||
|
|
||||||
"downloads": {
|
"downloads": {
|
||||||
"Angular_2": {
|
"Angular_2_JS": {
|
||||||
"description": "Angular 2 is currently in Developer Preview for JavaScript and Dart.",
|
"name": "Angular 2 (JavaScript)",
|
||||||
"2.0.0-alpha for JavaScript": {
|
"language": "JavaScript",
|
||||||
"npm": "https://www.npmjs.com/package/angular2"
|
"version": "2.0.0-alpha",
|
||||||
},
|
"url": "https://www.npmjs.com/package/angular2",
|
||||||
"2.0.0-alpha for Dart": {
|
"description": "Angular 2 is currently in Developer Preview for JavaScript and Dart."
|
||||||
"pub": "https://pub.dartlang.org/packages/angular2#installing"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
"Angular_1": {
|
"Angular_2_DART": {
|
||||||
"description": "The production ready version of Angular for JavaScript",
|
"name": "Angular 2 (Dart)",
|
||||||
|
"language": "Dart",
|
||||||
"1": {
|
"version": "2.0.0-alpha",
|
||||||
"file": "https://code.angularjs.org/"
|
"url": "https://pub.dartlang.org/packages/angular2#installing",
|
||||||
}
|
"description": "Angular 2 is currently in Developer Preview for JavaScript and Dart."
|
||||||
},
|
},
|
||||||
|
|
||||||
"AngularDart_1": {
|
"Angular_1_JS": {
|
||||||
"description": "The production ready version of Angular for Dart",
|
"name": "Angular 1 (JavaScript)",
|
||||||
|
"language": "Javascript",
|
||||||
|
"version": "1",
|
||||||
|
"url": "https://code.angularjs.org/",
|
||||||
|
"description": "The production ready version of Angular for JavaScript"
|
||||||
|
},
|
||||||
|
|
||||||
"1": {
|
"Angular_1_DART": {
|
||||||
"file": "https://angulardart.org/"
|
"name": "Angular 1 (Dart)",
|
||||||
}
|
"language": "Dart",
|
||||||
|
"version": "1",
|
||||||
|
"url": "https://angulardart.org/",
|
||||||
|
"description": "The production ready version of Angular for Dart"
|
||||||
},
|
},
|
||||||
|
|
||||||
"AngularFire_1": {
|
"AngularFire_1": {
|
||||||
"description": "AngularFire is the officially supported Angular binding for Firebase.",
|
"name": "AngularFire",
|
||||||
"1": {
|
"language": "Javascript",
|
||||||
"file": "https://www.firebase.com/docs/web/libraries/angular/index.html"
|
"version": "1",
|
||||||
}
|
"url": "https://www.firebase.com/docs/web/libraries/angular/index.html",
|
||||||
|
"description": "AngularFire is the officially supported Angular binding for Firebase."
|
||||||
},
|
},
|
||||||
|
|
||||||
"AngularMaterial_1": {
|
"AngularMaterial_1": {
|
||||||
"description": "The Angular Material project is an implementation of Material Design in Angular 1 for JS.",
|
"name": "Angular Material",
|
||||||
"1": {
|
"language": "Javascript",
|
||||||
"file": "https://material.angularjs.org/#/getting-started"
|
"version": "1",
|
||||||
}
|
"url": "https://material.angularjs.org/#/getting-started",
|
||||||
|
"description": "The Angular Material project is an implementation of Material Design in Angular 1 for JS."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,25 +1,4 @@
|
||||||
.grid-fluid.l-space-bottom-8
|
.grid-fluid.l-space-bottom-8
|
||||||
for versions, framework in downloads
|
for slug, framework in downloads
|
||||||
div.c9.l-space-bottom-4
|
div.c9.l-space-bottom-2
|
||||||
frameworkName = framework.replace(/\_/gm, ' ')
|
!= partial("../_includes/_hover-card", {name: slug.name , url: slug.url })
|
||||||
header
|
|
||||||
h2.text-headline #{frameworkName}
|
|
||||||
|
|
||||||
|
|
||||||
for version, name in versions
|
|
||||||
if name == "description"
|
|
||||||
p #{version}
|
|
||||||
|
|
||||||
else
|
|
||||||
ul.l-pad-left-0
|
|
||||||
if version.file
|
|
||||||
li
|
|
||||||
!= partial("../_includes/_hover-card", {name: "Version " + name, url: version.file })
|
|
||||||
|
|
||||||
if version.npm
|
|
||||||
li
|
|
||||||
!= partial("../_includes/_hover-card", {name: "Version " + name, url: version.npm })
|
|
||||||
|
|
||||||
if version.pub
|
|
||||||
li
|
|
||||||
!= partial("../_includes/_hover-card", {name: "Version " + name, url: version.pub })
|
|
||||||
|
|
Loading…
Reference in New Issue