deb-horizon/horizon/tables/__init__.py
Kieran Spear 62dd7b4e99 Allow image filtering based on image ownership
Uses buttons above the images list to allow filtering into categories:
project, "official", shared, public.

Adds a FixedFilterAction that creates a button group on top of the
datatable. Supports server-side and client-side filtering.

Implements blueprint organised-images-display.

Change-Id: I87f6cf4dd7d7397ad8c23ebadc8bf293d0bad998
2013-02-15 18:04:41 +11:00

23 lines
972 B
Python

# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2012 Nebula, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
# Convenience imports for public API components.
from .actions import (Action, BatchAction, DeleteAction,
LinkAction, FilterAction, FixedFilterAction)
from .base import DataTable, Column, Row
from .views import DataTableView, MultiTableView, MultiTableMixin, \
MixedDataTableView