Source code :: Data

[Return]
[Download]##!/usr/bin/env python <%page args="shot, page"/> <% import os from pygolem.modules import cat, emph, get_page_paths page_path, base_path, page = get_page_paths(shot, page) %> % for path in range(2): <% path = str(path)+'/' %> % if os.path.exists(page_path+'/'+path): <h3><a href="${path}"> Files of camera ${path} </a></h3> <% file_list = sorted(os.listdir(page_path+'/'+path)) %> <ul> % for file in file_list: <li><a href="${path}/${file}"> ${file}</a></li> % endfor </ul>

UNKNOWN ERROR IN CODE PARSER

[Return]

Navigation