• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zopefoundation / grokcore.layout / 16098815659

18 Jun 2025 06:34AM UTC coverage: 96.033%. Remained the same
16098815659

push

github

icemac
Back to development: 5.1

22 of 26 branches covered (84.62%)

Branch coverage included in aggregate %.

438 of 453 relevant lines covered (96.69%)

0.97 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/grokcore/layout/interfaces.py
1
from grokcore.view import interfaces
1✔
2
from zope.interface import Attribute
1✔
3
from zope.interface import Interface
1✔
4

5

6
class ILayout(Interface):
1✔
7
    """Layout view.
8
    """
9

10

11
class IPage(interfaces.IGrokView):
1✔
12
    """A view using a layout to render itself.
13
    """
14

15
    def content():
1✔
16
        """Give you back the result of your Page to be included inside
17
        the layout.
18
        """
19

20

21
class IBaseClasses(Interface):
1✔
22
    Page = Attribute("Base class for a layout page.")
1✔
23

24
    Layout = Attribute("Base class for layout.")
1✔
25

26
    UnauthorizedPage = Attribute("Base class for unauthorized page.")
1✔
27

28
    NotFoundPage = Attribute("Base class for not found page.")
1✔
29

30
    ExceptionPage = Attribute("Base class for exception page.")
1✔
31

32

33
class IGrokcoreLayoutAPI(IBaseClasses):
1✔
34
    """Grokcore layout API.
35
    """
36
    layout = Attribute("Directive used to specify layout on a page.")
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc