plugin
upstream
Templates in the website are disabled now. Editing them will not have any effect on the live website.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
$def with (book) <html> <head> <style type="text/css"> <!-- .simple { border-bottom: 1px solid #ccc } --> </style> <link href="/css/master.css" rel="stylesheet" type="text/css"> </head> <body> <div id="metadata-body" style="height: 270px;"> <span id="title">This book has not been scanned. <br /> Would you like to have it scanned and added to Open Library?</span><br /> <div id="scantext"> <table cellpadding="5" cellspacing="0" border="0"><tr> $if ctx.user: $ url = changequery({}, m='scan_review') $ target = 'target="_top"' $else: $ url = changequery({}, m='scan_login') $ target = '' <td><a href="$:url" $:target><br/><button type="submit" name="submit" value="read_online" class="highlight-green" style="width: 50px;">Yes</button></a><br /><br /></td> <td><br />Please scan this book.<br /><br /></td> </tr><tr> <td><div id='TB_closeWindow'><a href="$:changequery({})" target="_top"><button type="submit" name="submit" value="read_online" class="highlight" style="width: 50px;">No</button></a></div></td> <td>Please return to Open Library.</td> </table> </form> <br /><br /> </div> </body></html> |