Last active
August 29, 2015 14:06
-
-
Save dingram/972de0039a73e2128ee6 to your computer and use it in GitHub Desktop.
designer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<polymer-element name="imr-editor"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
top: 0px; | |
left: 0px; | |
} | |
#core_card { | |
width: 400px; | |
border-top-left-radius: 2px; | |
border-top-right-radius: 2px; | |
border-bottom-right-radius: 2px; | |
border-bottom-left-radius: 2px; | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
padding: 0px 8px; | |
margin: 8px 0px 0px; | |
background-color: rgb(255, 255, 255); | |
} | |
#core_toolbar { | |
right: 0px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
background-color: rgb(156, 39, 176); | |
} | |
#icon_url { | |
width: 100%; | |
} | |
#title { | |
width: 100%; | |
} | |
</style> | |
<core-toolbar id="core_toolbar"> | |
<core-icon-button icon="arrow-back" id="core_icon_button"></core-icon-button> | |
<div id="div">Propose a Mission</div> | |
</core-toolbar> | |
<section id="section" flex vertical layout> | |
<core-card id="core_card" layout self-center vertical> | |
<h1 id="h1">Basic details</h1> | |
<p> | |
<label> | |
<strong id="strong">Mission type:</strong> | |
<select id="select" name="type" required> | |
<option></option> | |
<option value="SEQUENTIAL">Sequential</option> | |
<option value="SEQUENTIAL_HIDDEN">Sequential, with hidden locations</option> | |
<option value="ANY_ORDER">Any order</option> | |
</select> | |
</label> | |
</p> | |
<paper-input label="Title" floatinglabel maxrows="1" willvalidate validationmessage="Please fill out this field." autofocus rows="1" required pattern=".{1,50}" id="title" name="title"></paper-input> | |
<paper-input label="Icon URL" floatinglabel maxrows="1" willvalidate rows="1" pattern="https?://[^/]+\.[^/]+/.+" id="icon_url" name="icon_url"></paper-input> | |
<p class="faded">The image should be 512x512px and must be in JPG or PNG format.</p> | |
<paper-input label="Description" floatinglabel maxrows="4" willvalidate pattern=".{0,200}" id="description" name="description"></paper-input> | |
</core-card> | |
<core-card id="core_card" layout self-center vertical> | |
<h1 id="h1">Waypoint 1</h1> | |
<paper-input label="Portal Title" floatinglabel maxrows="1" willvalidate validationmessage="Please fill out this field." rows="1" pattern=".{0,50}" id="portal_title" name="portal_title"></paper-input> | |
<paper-input label="Intel URL" floatinglabel maxrows="1" willvalidate rows="1" pattern="https?://([^/]+\.)?ingress\.com/intel/?\?.*ll=.*" id="intel_url" name="intel_url"></paper-input> | |
<paper-input label="Description" floatinglabel maxrows="4" willvalidate pattern=".{0,200}" id="portal_description" name="portal_description"></paper-input> | |
</core-card> | |
</section> | |
</template> | |
<script> | |
Polymer({ | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment