{% extends base %} {% block head %} {% set search_action = '/fs_find' %} {% set search_placeholder = '搜索文件' %} {% end %} {% block search_form %} {% end %} {% block body %} {% import xutils.textutil as textutil %} {% init parent_path = None %} {% init get_file_thumbnail = xutils.get_func_by_name("fs.get_file_thumbnail") %}
{% include fs/component/fs_title.html %}
{% include mod_fs_path.html %} {% include fs/component/options/fs_options.html %}
{% for item in filelist %} {# 隐藏文件 #} {% if item.name == "" %} {% continue %} {% end %} {% if xconfig.FS_HIDE_FILES and (item.name[0] == "." or item.name.endswith((".pyc", ".class"))) %} {% continue %} {% end %} {% if not item.name.startswith("._") %} {% end %} {% end %}
{% end %} {% block body_right %} {% include fs/component/fs_sidebar.html %} {% end %}