first step to a nicer code style of admin

This commit is contained in:
niphlod
2013-07-14 20:13:37 +02:00
parent 1a58701d57
commit 40d1ff9d17
11 changed files with 816 additions and 1344 deletions
@@ -9,18 +9,18 @@
<ul class="collapsible">
{{for file in files[path]['files']:}}
<li style="list-style-type: none;">
{{p = os.path.relpath(os.path.join(path,file),base)}}
<input type="checkbox" value="{{=p}}" name="file" checked="checked"/>
{{=file}}
{{p = os.path.relpath(os.path.join(path,file),base)}}
<input type="checkbox" value="{{=p}}" name="file" checked="checked"/>
{{=file}}
</li>
{{pass}}
{{for dir in files[path]['folders']:}}
<li style="list-style-type: none;">
{{tree(os.path.join(path,dir))}}
{{tree(os.path.join(path,dir))}}
</li>
{{pass}}
</ul>
{{return}}
</ul>
{{return}}
<form action="{{=URL(args=request.args)}}" method="POST">
<h2>{{=T('Select Files to Package')}}</h2>