Skip to content

Instantly share code, notes, and snippets.

@kp96
Last active August 29, 2015 14:08
Show Gist options
  • Save kp96/b8fe04e5fb348e0b2299 to your computer and use it in GitHub Desktop.
Save kp96/b8fe04e5fb348e0b2299 to your computer and use it in GitHub Desktop.
designer
<!doctype html>
<html>
<head>
</script>
<title>My Polymer</title>
<script src = "../components/platform/platform.js"></script>
<link rel = "import" href = "../components/fonts-roboto/roboto.html">
<link rel = "import" href = "../components/core-header-panel/core-header-panel.html">
<link rel = "import" href = "../components/core-toolbar/core-toolbar.html">
<link rel = "import" href = "../components/paper-tabs/paper-tabs.html">
<link rel = "import" href = "../components/paper-tab/paper-tab.html">
<link rel = "import" href = "../components/paper-input/paper-input.html">
<link rel = "import" href = "../components/core-icons/core-icons.html">
<link rel = "import" href = "../components/paper-fab/paper-fab.html">
<link rel="import" href="../components/paper-radio-button/paper-radio-button.html">
<link rel="import" href="../components/paper-radio-group/paper-radio-group.html">
<link rel="import" href="../components/core-menu/core-submenu.html">
<link rel="import" href="../components/core-item/core-item.html">
<link rel="import" href="../components/topeka-elements/avatars.html">
<link rel="import" href="../components/core-icon/core-icon.html">
<link rel="import" href="../components/core-field/core-field.html">
<link rel="import" href="../components/core-icon/core-icon.html">
<link rel="import" href="../components/core-input/core-input.html">
<link rel="import" href="../components/core-icons/core-icons.html">
<link rel="import" href="../components/cool-clock/cool-clock.html">
<style>
<style>
#core_field {
left: 40px;
top: 480px;
position: absolute;
}
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#core_menu {
font-size: 16px;
left: 1000px;
top: 50px;
position: absolute;
}
#core_menu1 {
font-size: 16px;
left: 0px;
top: 50px;
position: absolute;
}
#core_menu2 {
font-size: 16px;
left: 1000px;
top: 50px;
position: absolute;
}
html,body {
height: 100%;
margin: 0;
background-color: #E5E5E5;
font-family: 'RobotoDraft', sans-serif;
}
.container {
width: 400px;
margin: 50px auto;
}
core-header-panel{
height: 100%;
overflow: auto;
}
core-toolbar{
background: #03a9f4;
color: white;
}
#card{
width: 100%;
background-color: white;
border-bottom-style: solid;
border-radius: 2px;
border-bottom-width: 2px;
border-bottom-color: #a2a2a2;
margin: 30px;
padding: 20px;
}
#tabs{
width: 600px;
margin: 0;
left :320px;
text-transform: uppercase;
}
#send_button{
overflow: visible;
left:160px;
top:47px;
}
#core_selector {
left: 210px;
top: 350px;
position: absolute;
}
#cool_clock {
width: 400px;
height: 300px;
left: 40px;
top: 450px;
position: absolute;
}
#core_icon {
height: 64px;
width: 64px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#core_icon1 {
height: 64px;
width: 64px;
margin: 0px 8px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#core_icon3 {
height: 64px;
width: 64px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#core_icon4 {
height: 64px;
width: 64px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#core_icon5 {
height: 64px;
width: 64px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
#core_icon6 {
height: 64px;
width: 64px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
border-bottom-right-radius: 50%;
border-bottom-left-radius: 50%;
overflow: hidden;
}
</style>
</head>
<body unresolved>
<core-header-panel>
<core-toolbar>
<paper-tabs id = "tabs" selected = "all" self-end>
<paper-tab name = "Home">Home</paper-tab>
<paper-tab name = "About VIT">Placements</paper-tab>
<paper-tab name = "Admis">Admissions</paper-tab>
<paper-tab>Alumini</paper-tab>
<paper-tab>Contact</paper-tab>
</paper-tabs>
</core-toolbar>
<div class="container" layout vertical center>
<h1>VIT UNIVERSITY</h1>
<h2 style = "color:brown">Student Id card Generator</h2>
<div id="card" layout vertical center>
<paper-input floatinglabel required type = "text" label = "Reg No"></paper-input>
<paper-input floatinglabel required label = "Name"></paper-input>
<paper-input floatinglabel required label = "Branch"></paper-input>
<paper-input floatinglabel required label = "Year of Join"></paper-input>
<paper-radio-group required selected="Hosteller" valueattr="label" selectedindex="0" id="paper_radio_group">
<paper-radio-button checked label="Hosteller" id="paper_radio_button1"></paper-radio-button>
<paper-radio-button label="DayScholar" id="paper_radio_button2"></paper-radio-button>
<paper-fab icon="check" id="paper_fab"></paper-fab>
<core-menu selected="0" id="core_menu">
</core-menu>
<core-menu selected="0" selectedindex="0" id="core_menu1">
<core-submenu opened active id="core_submenu" icon="settings" label="Student">
<core-item id="core_item" label="Attendance" horizontal center layout></core-item>
<core-item id="core_item1" label="Marks" horizontal center layout></core-item>
<core-item id="core_item1" label="Circulars" horizontal center layout></core-item>
<core-item id="core_item1" label="Leave" horizontal center layout></core-item>
</core-submenu>
</core-menu>
<core-menu selected="0" selectedindex="0" id="core_menu2">
<core-submenu opened active id="core_submenu1" icon="settings" label="Parent">
<core-item id="core_item2" label="Ward Details" horizontal center layout></core-item>
<core-item id="core_item3" label="Placements" horizontal center layout></core-item>
<core-item id="core_item3" label="Admissions" horizontal center layout></core-item>
<core-item id="core_item3" label="Contact" horizontal center layout></core-item>
</core-submenu>
</core-menu>
<core-selector selected="0" selectedindex="0" id="core_selector" flex layout horizontal>
<core-icon icon="avatars:avatar-1" id="core_icon" designmeta="topeka-avatar" active></core-icon>
<core-icon icon="avatars:avatar-2" id="core_icon1" designmeta="topeka-avatar"></core-icon>
<core-icon icon="avatars:avatar-4" id="core_icon3" designmeta="topeka-avatar"></core-icon>
<core-icon icon="avatars:avatar-4" id="core_icon4" designmeta="topeka-avatar"></core-icon>
<core-icon icon="avatars:avatar-5" id="core_icon5" designmeta="topeka-avatar"></core-icon>
<core-icon icon="avatars:avatar-6" id="core_icon6" designmeta="topeka-avatar"></core-icon>
<core-icon icon="avatars:avatar-7" id="core_icon7" designmeta="topeka-avatar"></core-icon>
<core-icon icon="avatars:avatar-8" id="core_icon8" designmeta="topeka-avatar"></core-icon>
<core-icon icon="avatars:avatar-9" id="core_icon9" designmeta="topeka-avatar"></core-icon>
</core-selector>
<core-field id="core_field" icon="search" theme="core-light-theme" horizontal layout>
<core-icon icon="search" id="core_icon"></core-icon>
<core-input willvalidate placeholder="search vit" id="core_input" flex></core-input>
</core-field>
<cool-clock skin="Tes2" id="cool_clock"></cool-clock>
</div>
</div>
</core-header-panel>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment