!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/pyshared/nevow/test/acceptance/   drwxr-xr-x
Free 129.82 GB of 142.11 GB (91.35%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     tabbedpane.py (1.52 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
"""
Acceptance tests for L{nevow.taglibrary.tabbedPane}.

Run as::

    twistd -n athena-widget --element nevow.test.acceptance.tabbedpane.{tabbedPaneFragment,fetchedTabbedPaneFragment}
"""

from nevow.taglibrary.tabbedPane import TabbedPaneFragment
from nevow import tags, athena, loaders


def tabbedPaneFragment():
    """
    Return a L{TabbedPaneFragment}.  The tabbed pane should have 4 tabs: "Tab
    0", "Tab 1", "Tab 2" and "Tab 3".  The content of each tab should be a
    C{<h1>} node containing the tab's number.
    """
    return TabbedPaneFragment(
        [('Page ' + str(i), tags.h1[str(i)]) for i in xrange(4)])



class TabbedPaneFetcher(athena.LiveElement):
    jsClass = u'Nevow.Test.TestTabbedPane.TabbedPaneFetcher'
    docFactory = loaders.xmlstr("""
<div xmlns:athena="http://divmod.org/ns/athena/0.7"
  xmlns:nevow="http://nevow.com/ns/nevow/0.1"
  nevow:render="liveElement">
  <a href="#">
    <athena:handler event="onclick" handler="dom_getTabbedPane" />
    Get a tabbed pane from the server
  </a>
</div>""")

    def getTabbedPane(self):
        """
        Return a L{TabbedPaneFragment}.
        """
        f = tabbedPaneFragment()
        f.setFragmentParent(self)
        return f
    athena.expose(getTabbedPane)



def fetchedTabbedPaneFragment():
    """
    Return a widget will fetch a L{TabbedPaneFragment} from the server when
    asked to.  Renders as a "Get a tabbed pane from the server" link, which,
    when clicked, will return the result of L{tabbedPaneFragment}.
    """
    return TabbedPaneFetcher()

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0082 ]--