diff options
author | Alex Goodman <wgoodman@goodbox.(none)> | 2015-04-25 00:09:50 -0400 |
---|---|---|
committer | Alex Goodman <wgoodman@goodbox.(none)> | 2015-04-25 00:09:50 -0400 |
commit | 2c44bb77c7f241415a2101f6cb33edcdf976d622 (patch) | |
tree | 437f2169f86613e76a668b99c822370773088970 /templates | |
parent | 00acacb129c7458a4090f22739c2ede00959b0de (diff) | |
download | wsdiff-2c44bb77c7f241415a2101f6cb33edcdf976d622.tar.gz wsdiff-2c44bb77c7f241415a2101f6cb33edcdf976d622.tar.bz2 wsdiff-2c44bb77c7f241415a2101f6cb33edcdf976d622.zip |
initial commit
Diffstat (limited to 'templates')
-rw-r--r-- | templates/diff_template.html | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/templates/diff_template.html b/templates/diff_template.html new file mode 100644 index 0000000..2f8f90b --- /dev/null +++ b/templates/diff_template.html @@ -0,0 +1,79 @@ +<!DOCTYPE html> +<html class="no-js"> + <head> + <!-- + html_title: browser tab title + reset_css: relative path to reset css file + pygments_css: relative path to pygments css file + diff_css: relative path to diff layout css file + page_title: title shown at the top of the page. This should be the filename of the files being diff'd + original_code: full html contents of original file + modified_code: full html contents of modified file + jquery_js: path to jquery.min.js + diff_js: path to diff.js + comment_js: path to comment.js + --> + <meta charset="utf-8"> + <title> + %(html_title)s + </title> + <meta name="description" content=""> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="mobile-web-app-capable" content="yes"> + <link rel="stylesheet" href="%(reset_css)s" type="text/css"> + <link class="syntaxdef" rel="stylesheet" href="%(pygments_css)s" type="text/css"> + <link rel="stylesheet" href="%(diff_css)s" type="text/css"> + </head> + <body> + <div class="" id="topbar"> + <div id="filetitle"> + <!--➜ -->%(page_title)s + </div> + <div class="switches"> + <div class="switch"> + <input id="showoriginal" class="toggle toggle-yes-no menuoption" type="checkbox" checked> + <label for="showoriginal" data-on="✔ Original" data-off="Original"></label> + </div> + <div class="switch"> + <input id="showmodified" class="toggle toggle-yes-no menuoption" type="checkbox" checked> + <label for="showmodified" data-on="✔ Modified" data-off="Modified"></label> + </div> + <div class="switch"> + <input id="highlight" class="toggle toggle-yes-no menuoption" type="checkbox" checked> + <label for="highlight" data-on="✔ Highlight" data-off="Highlight"></label> + </div> + <div class="switch"> + <input id="codeprintmargin" class="toggle toggle-yes-no menuoption" type="checkbox" checked> + <label for="codeprintmargin" data-on="✔ Margin" data-off="Margin"></label> + </div> + <div class="switch"> + <input id="dosyntaxhighlight" class="toggle toggle-yes-no menuoption" type="checkbox" checked> + <label for="dosyntaxhighlight" data-on="✔ Syntax" data-off="Syntax"></label> + </div> + </div> + </div> + <div id="maincontainer" class=""> + <div id="leftcode" class="left-inner-shadow codebox divider-outside-bottom"> + <div class="codefiletab"> + ❬ Original + </div> + <div class="printmargin"> + 01234567890123456789012345678901234567890123456789012345678901234567890123456789 + </div> + %(original_code)s + </div> + <div id="rightcode" class="left-inner-shadow codebox divider-outside-bottom"> + <div class="codefiletab"> + ❭ Modified + </div> + <div class="printmargin"> + 01234567890123456789012345678901234567890123456789012345678901234567890123456789 + </div> + %(modified_code)s + </div> + </div> +<script src="%(jquery_js)s" type="text/javascript"></script> +<script src="%(diff_js)s" type="text/javascript"></script> +<!--<script src="%(comment_js)s"></script>--> + </body> +</html>
\ No newline at end of file |