McPringle/sportchef

View on GitHub
src/main/webapp/sportchef_components/sportchef-layout-filter/sportchef-layout-filter.html

Summary

Maintainability
Test Coverage
<!--
    SportChef – Sports Competition Management Software
    Copyright (C) 2015 Marcus Fihlon

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/ <http://www.gnu.org/licenses/>>.
-->
<link rel="import" href="../../bower_components/polymer/polymer.html" />
<link rel="import" href="../../bower_components/paper-card/paper-card.html" />
<link rel="import" href="../../bower_components/paper-button/paper-button.html" />
<link rel="import" href="../../bower_components/iron-icon/iron-icon.html" />
<link rel="import" href="../../bower_components/iron-icons/maps-icons.html" />
<link rel="import" href="../../bower_components/iron-icons/iron-icons.html" />
<link rel="import" href="../../bower_components/paper-button/paper-button.html" />

<dom-module id="sportchef-layout-filter">
    <template>
        <header class="sub-header">
            <div class="left">
                <label>Datum <input type="date" /></label>
                <label>Ort <input type="#location" /></label>
                <label>Art <input type="#dropdown" /></label>
                <iron-icon icon="icons:dashboard" class="filter-icons active"></iron-icon>
                <iron-icon icon="icons:view-list" class="filter-icons"></iron-icon>
            </div>
            <div class="right">
                <span>Nur Favoriten zeigen</span>
                <div class="checkbox">
                    <input type="checkbox" id="fav-only-box" name="check" />
                    <label for="fav-only-box"></label>
                </div>
            </div>
        </header>
    </template>

    <script>
        // register a new element called sportchef-layout-filter
        Polymer({
            is: "sportchef-layout-filter",
            properties: {
            }
        });
    </script>
</dom-module>