thiswebshoprules

git clone https://git.tarina.org/thiswebshoprules
Log | Files | Refs

propaganda.html (1077B)


      1 $def with (configform, picform, goodies, nocache)
      2 <div id="container">
      3 <div id="default">
      4 <br>
      5 <form method="POST">
      6 $:configform.render()
      7 </form>
      8 <br>
      9 <b>upload images</b>
     10 <br>
     11 $if goodies != None:
     12     $for i in goodies:
     13         $if i.soundname[-5:] == '.jpeg' or i.soundname[-4:] == '.png':
     14             <img src="/static/img/thumb/$i.soundname?nocache=$nocache">
     15         $else:
     16             <p>$i.soundname</p>
     17         <br>
     18         <a href='/propaganda?cmd=flipleft&soundname=$i.soundname'>flip to left</a> | 
     19         <a href='/propaganda?cmd=remove&soundname=$i.soundname'>remove</a> | 
     20         <a href='/propaganda?cmd=flipright&soundname=$i.soundname'>flip to right</a>
     21         <br>
     22         $picform.fill(name=i.name, description=i.description, description2=i.description2, id=i.soundlink)
     23         <form method="POST">
     24         $:picform.render()
     25         </form>
     26         <hr>
     27 <form method="POST" enctype="multipart/form-data" action="">
     28 <input type="file" name="imgfile"/> <br>
     29 <br/>
     30 <input name="upload", type="submit" value="upload" />
     31 </form>
     32 </div>
     33 
     34 </div>
     35 </div>
     36 </div>