<link rel="import" href="../components/polymer/polymer.html"/>
<link rel="import" href="./album-element.html"/>
<link href="../../css/bootstrap.min.css"/>
<link href="../../css/bootstrap-responsive.min.css"/>
<link href="../../css/web2py_bootstrap.css"/>
<script src="../../js/jquery.min.js"></script>
<script src="../../js/bootstrap.min.js"></script>
<polymer-element name="albumcat-element" attributes="albumlist header backcolor">
<template>
<style>
.title1 {
text-align : center;
font-size: 56px;
}
.title2 {
text-align : center;
font-size: 30px;
color: red;
}
.jumbotron {
background-color: {{backcolor}};
border-style: solid;
border-bottom-color: black;
border-top-color: transparent;
border-left-color: transparent;
border-right-color: transparent;
}
</style>
<div class="jumbotron">
<div class="container">
<p class="title1">{{header}}</p>
<p class="title2">Click On Album To Preview</p>
<div class="row">
<template repeat="{{album in albumlist}}">
<album-element link = "{{album.link}}" artist = "{{album.artist}}" album = "{{album.title}}" cover="{{album.cover}}">
</album-element>
</template>
</div>
</div>
</div>
</template>
<script>
Polymer({
// These default values are overridden
// by the user's attribute values.
header : "Music Category",
albumlist : [],
backcolor: "lightgrey"
});
</script>
</polymer-element>