Skip to content

Instantly share code, notes, and snippets.

@shalintripathi
Created April 22, 2015 18:26
Show Gist options
  • Save shalintripathi/b3ac7595211a3c7c1871 to your computer and use it in GitHub Desktop.
Save shalintripathi/b3ac7595211a3c7c1871 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../topeka-elements/category-images.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../topeka-elements/theme.html">
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-quizzes.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<link rel="import" href="../topeka-elements/topeka-app.html">
<link rel="import" href="../topeka-elements/topeka-quiz-view.html">
<link rel="import" href="../topeka-elements/category-icons.html">
<link rel="import" href="../topeka-elements/topeka-datasource.html">
<link rel="import" href="../topeka-elements/topeka-category.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_icon {
height: 256px;
width: 256px;
left: 150px;
top: 110px;
position: absolute;
}
#topeka_quizzes {
width: 300px;
height: 300px;
left: 780px;
top: 280px;
position: absolute;
}
#core_icon1 {
height: 100%;
width: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#topeka_leaderboard {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#topeka_app {
width: 100%;
height: 100%;
min-height: 450px;
left: 0px;
top: 0px;
position: absolute;
}
#topeka_quiz_view {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
#core_icon2 {
height: 128px;
width: 128px;
left: 890px;
top: 170px;
position: absolute;
}
#topeka_datasource {
left: 790px;
top: 10px;
position: absolute;
}
#topeka_category {
width: 100%;
height: 100%;
left: 0px;
top: 0px;
position: absolute;
}
</style>
<core-icon icon="category-images:food" id="core_icon" designmeta="topeka-image"></core-icon>
<topeka-quizzes id="topeka_quizzes" category="{}" vertical layout></topeka-quizzes>
<core-icon icon="category-images:food" id="core_icon1" designmeta="topeka-image"></core-icon>
<topeka-leaderboard disabled id="topeka_leaderboard" vertical layout></topeka-leaderboard>
<topeka-app selected="profile" disableleaderboard id="topeka_app" vertical layout></topeka-app>
<topeka-quiz-view id="topeka_quiz_view" block></topeka-quiz-view>
<core-icon icon="category-icons:food" id="core_icon2" designmeta="topeka-icon"></core-icon>
<topeka-datasource url="../topeka-elements/categories.json" id="topeka_datasource" hidden></topeka-datasource>
<topeka-category id="topeka_category" vertical layout></topeka-category>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment