diff options
Diffstat (limited to 'cgi/templates/manage/recent_images.html')
-rw-r--r-- | cgi/templates/manage/recent_images.html | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/cgi/templates/manage/recent_images.html b/cgi/templates/manage/recent_images.html index 39f919c..1071eeb 100644 --- a/cgi/templates/manage/recent_images.html +++ b/cgi/templates/manage/recent_images.html @@ -1,24 +1,32 @@ <?py include('templates/base_top.html') ?> <?py include('templates/manage/menu.html') ?> -<style>.imgs{font-size:0;}.imgs img{vertical-align:top;margin:2px;height:150px;width:auto;}</style> +<style> + .imgs {font-size:0;} + .imgs img {vertical-align:top;margin:2px;height:150px;width:auto;} +</style> <center> <div class="replymode">Imágenes recientes</div> <form action="#{cgi_url}manage/recent_images" name="recent_images" method="post"> <table> - <tr><td class="postblock">Número a mostrar</td><td><input type="text" name="images" size="4" /></td></tr> - <tr><td colspan="2"><input type="submit" style="width:100%;" value="Enviar" /></td></tr> + <tr> + <td class="postblock">Número a mostrar</td> + <td><input type="text" name="images" size="4" /></td> + </tr> + <tr> + <td colspan="2"><input type="submit" style="width:100%;" value="Enviar" /></td> + </tr> </table> </form> <hr /> <div class="imgs"> -<?py for post in posts: ?> - <?py if post['parentid'] != '0': ?> - <a href="/#{post['dir']}/res/#{post['parentid']}.html##{post['id']}"><img src="#{boards_url}#{post['dir']}/thumb/#{post['thumb']}" /></a> - <?py else: ?> - <a href="/#{post['dir']}/res/#{post['id']}.html##{post['id']}"><img src="#{boards_url}#{post['dir']}/thumb/#{post['thumb']}" /></a> - <?py #endif ?> -<?py #endfor ?> + <?py for post in posts: ?> + <?py if post['parentid'] != '0': ?> + <a href="/#{post['dir']}/res/#{post['parentid']}.html##{post['id']}"><img src="#{boards_url}#{post['dir']}/thumb/#{post['thumb']}" /></a> + <?py else: ?> + <a href="/#{post['dir']}/res/#{post['id']}.html##{post['id']}"><img src="#{boards_url}#{post['dir']}/thumb/#{post['thumb']}" /></a> + <?py #endif ?> + <?py #endfor ?> </div> </center> <hr /> -<?py include('templates/base_bottom.html') ?>
\ No newline at end of file +<?py include('templates/base_bottom.html') ?> |