| |
@@ -1,26 +0,0 @@
|
| |
- from __future__ import unicode_literals
|
| |
-
|
| |
- from hubs.utils import validators
|
| |
- from hubs.widgets.base import Widget
|
| |
- from hubs.widgets.view import RootWidgetView
|
| |
-
|
| |
-
|
| |
- class Dummy(Widget):
|
| |
-
|
| |
- name = "dummy"
|
| |
- position = "both"
|
| |
- parameters = [dict(
|
| |
- name="text",
|
| |
- label="Text",
|
| |
- default="Lorem ipsum dolor...",
|
| |
- validator=validators.Text,
|
| |
- help="Some dummy text to display.",
|
| |
- )]
|
| |
-
|
| |
-
|
| |
- class BaseView(RootWidgetView):
|
| |
-
|
| |
- def get_context(self, instance, *args, **kwargs):
|
| |
- return dict(
|
| |
- text=instance.config["text"],
|
| |
- )
|
| |
Remove the dummy widget. It pretty much is the same as the
sticky note widget.