blob: a7b074458b66550a4296bd8676b75f7291b6489f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<link rel="import" href="chrome://resources/polymer/v1_0/polymer/polymer.html">
<link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html">
<link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
<dom-module id="cr-search-engine-entry">
<link rel="import" type="css" href="search_engine_entry.css">
<template>
<div class="entry">
<div class="inputs">
<paper-input id="domainField" disabled required
class="narrow-input" auto-validate="false"
value="{{engine.name}}" on-change="fieldChanged_">
</paper-input>
<paper-input id="keywordField" disabled required
class="narrow-input" auto-validate="false"
value="{{engine.keyword}}" on-change="fieldChanged_">
</paper-input>
<paper-input id="queryURLField" disabled required
class="wide-input" auto-validate="false"
value="{{engine.url}}" on-change="fieldChanged_">
</paper-input>
</div>
<div class="icons">
<iron-icon id="checkIcon" icon="check" on-click="makeDefault_" hidden>
</iron-icon>
<iron-icon id="deleteIcon" icon="clear" on-click="deleteEngine_" hidden>
</iron-icon>
<iron-icon icon="settings" on-click="toggleEditable_"></iron-icon>
</div>
</div>
</template>
<script src="search_engine_entry.js"></script>
</dom-module>
|