bootstrap-compact.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta name="robots" content="noindex" />
  8. <title>{function="i18n::_('PrivateBin')"}</title>
  9. <link type="text/css" rel="stylesheet" href="css/bootstrap/bootstrap-3.3.5.css" />
  10. <link type="text/css" rel="stylesheet" href="css/bootstrap/bootstrap-theme-3.3.5.css" />
  11. <link type="text/css" rel="stylesheet" href="css/bootstrap/privatebin.css?{$VERSION|rawurlencode}" />{if="$SYNTAXHIGHLIGHTING"}
  12. <link type="text/css" rel="stylesheet" href="css/prettify/prettify.css?{$VERSION|rawurlencode}" />{if="strlen($SYNTAXHIGHLIGHTINGTHEME)"}
  13. <link type="text/css" rel="stylesheet" href="css/prettify/{$SYNTAXHIGHLIGHTINGTHEME}.css?{$VERSION|rawurlencode}" />{/if}{/if}
  14. <script type="text/javascript" src="js/jquery-1.11.3.js"></script>
  15. <script type="text/javascript" src="js/sjcl-1.0.2.js"></script>
  16. <script type="text/javascript" src="js/base64-{$BASE64JSVERSION}.js"></script>
  17. <script type="text/javascript" src="js/rawdeflate-0.5.js"></script>
  18. <script type="text/javascript" src="js/rawinflate-0.3.js"></script>
  19. <script type="text/javascript" src="js/bootstrap-3.3.5.js"></script>{if="$SYNTAXHIGHLIGHTING"}
  20. <script type="text/javascript" src="js/prettify.js?{$VERSION|rawurlencode}"></script>{/if}{if="$MARKDOWN"}
  21. <script type="text/javascript" src="js/showdown-1.4.1.js"></script>{/if}
  22. <script type="text/javascript" src="js/privatebin.js?{$VERSION|rawurlencode}"></script>
  23. <!--[if lt IE 10]>
  24. <style type="text/css">#ienotice {display:block !important;} #oldienotice {display:block !important;}</style>
  25. <![endif]-->
  26. <link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png?{$VERSION|rawurlencode}">
  27. <link rel="icon" type="image/png" href="favicon-32x32.png" sizes="32x32?{$VERSION|rawurlencode}">
  28. <link rel="icon" type="image/png" href="favicon-16x16.png" sizes="16x16?{$VERSION|rawurlencode}">
  29. <link rel="manifest" href="manifest.json?{$VERSION|rawurlencode}">
  30. <link rel="mask-icon" href="safari-pinned-tab.svg?{$VERSION|rawurlencode}" color="#ffcc00">
  31. <meta name="theme-color" content="#ffe57e">
  32. </head>
  33. <body role="document" class="navbar-spacing">
  34. <nav class="navbar navbar-default navbar-fixed-top">
  35. <div class="container">
  36. <div class="navbar-header">
  37. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
  38. <span class="sr-only">{function="i18n::_('Toggle navigation')"}</span>
  39. <span class="icon-bar"></span>
  40. <span class="icon-bar"></span>
  41. <span class="icon-bar"></span>
  42. </button>
  43. <a class="reloadlink navbar-brand" href="/">{function="i18n::_('PrivateBin')"}</a>
  44. </div>
  45. <div id="navbar" class="navbar-collapse collapse">
  46. <ul class="nav navbar-nav">
  47. <li>
  48. <button id="sendbutton" type="button" class="hidden btn btn-default navbar-btn">
  49. <span class="glyphicon glyphicon-upload" aria-hidden="true"></span> {function="i18n::_('Send')"}
  50. </button>{if="$EXPIRECLONE"}
  51. <button id="clonebutton" type="button" class="hidden btn btn-default navbar-btn">
  52. <span class="glyphicon glyphicon-duplicate" aria-hidden="true"></span> {function="i18n::_('Clone')"}
  53. </button>{/if}
  54. <button id="rawtextbutton" type="button" class="hidden btn btn-default navbar-btn">
  55. <span class="glyphicon glyphicon-text-background" aria-hidden="true"></span> {function="i18n::_('Raw text')"}
  56. </button>
  57. </li>
  58. <li class="dropdown">
  59. <select id="pasteExpiration" name="pasteExpiration" class="hidden">
  60. {loop="EXPIRE"}
  61. <option value="{$key}"{if="$key == $EXPIREDEFAULT"} selected="selected"{/if}>{$value}</option>{/loop}
  62. </select>
  63. <a id="expiration" href="#" class="hidden dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{function="i18n::_('Expires')"}: <span id="pasteExpirationDisplay">{$EXPIRE[$EXPIREDEFAULT]}</span> <span class="caret"></span></a>
  64. <ul class="dropdown-menu">
  65. {loop="EXPIRE"}
  66. <li>
  67. <a href="#" onclick="$('#pasteExpiration').val('{$key}');$('#pasteExpirationDisplay').text('{$value}');return false;">
  68. {$value}
  69. </a>
  70. </li>{/loop}
  71. </ul>
  72. </li>
  73. <li id="formatter" class="dropdown">
  74. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{function="i18n::_('Options')"} <span class="caret"></span></a>
  75. <ul class="dropdown-menu">
  76. <li id="burnafterreadingoption" class="checkbox hidden">
  77. <label>
  78. <input type="checkbox" id="burnafterreading" name="burnafterreading" {if="$BURNAFTERREADINGSELECTED"} checked="checked"{/if} />
  79. {function="i18n::_('Burn after reading')"}
  80. </label>
  81. </li>{if="$DISCUSSION"}
  82. <li id="opendisc" class="checkbox hidden">
  83. <label>
  84. <input type="checkbox" id="opendiscussion" name="opendiscussion" {if="$OPENDISCUSSION"} checked="checked"{/if} />
  85. {function="i18n::_('Open discussion')"}
  86. </label>
  87. </li>{/if}
  88. <li role="separator" class="divider"></li>
  89. <li>
  90. <div>
  91. {function="i18n::_('Format')"}: <span id="pasteFormatterDisplay">{$FORMATTER[$FORMATTERDEFAULT]}</span> <span class="caret"></span>
  92. </div>
  93. </li>
  94. {loop="FORMATTER"}
  95. <li>
  96. <a href="#" onclick="$('#pasteFormatter').val('{$key}');$('#pasteFormatterDisplay').text('{$value}');return false;">
  97. {$value}
  98. </a>
  99. </li>{/loop}
  100. </ul>
  101. <select id="pasteFormatter" name="pasteFormatter" class="hidden">
  102. {loop="FORMATTER"}
  103. <option value="{$key}"{if="$key == $FORMATTERDEFAULT"} selected="selected"{/if}>{$value}</option>{/loop}
  104. </select>
  105. </li>{if="$PASSWORD"}
  106. <li>
  107. <div id="password" class="navbar-form hidden">
  108. <input type="password" id="passwordinput" placeholder="{function="i18n::_('Password (recommended)')"}" class="form-control" size="19"/>
  109. </div>
  110. </li>{/if}{if="$FILEUPLOAD"}
  111. <li id="attach" class="hidden dropdown">
  112. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{function="i18n::_('Attach a file')"} <span class="caret"></span></a>
  113. <ul class="dropdown-menu">
  114. <li id="filewrap">
  115. <div>
  116. <input type="file" id="file" name="file" />
  117. </div>
  118. </li>
  119. <li>
  120. <a id="fileremovebutton" href="#">
  121. {function="i18n::_('Remove attachment')"}
  122. </a>
  123. </li>
  124. </ul>
  125. </li>{/if}
  126. </ul>
  127. <ul class="nav navbar-nav pull-right">{if="strlen($LANGUAGESELECTION)"}
  128. <li id="language" class="dropdown">
  129. <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="glyphicon glyphicon-flag" aria-hidden="true"></span> {$LANGUAGES[$LANGUAGESELECTION][0]} <span class="caret"></span></a>
  130. <ul class="dropdown-menu">
  131. {loop="LANGUAGES"}
  132. <li>
  133. <a href="#" class="reloadlink" onclick="document.cookie='lang={$key}';">
  134. {$value[0]} ({$value[1]})
  135. </a>
  136. </li>{/loop}
  137. </ul>
  138. </li>{/if}
  139. <li>
  140. <button id="newbutton" type="button" class="reloadlink hidden btn btn-default navbar-btn">
  141. <span class="glyphicon glyphicon-file" aria-hidden="true"></span> {function="i18n::_('New')"}
  142. </button>
  143. </li>
  144. </ul>
  145. </div>
  146. </div>
  147. </nav>
  148. <header class="container">{if="strlen($NOTICE)"}
  149. <div role="alert" class="alert alert-info">
  150. <span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span> {$NOTICE|htmlspecialchars}
  151. </div>{/if}
  152. <div id="remainingtime" role="alert" class="hidden alert alert-info">
  153. <span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>
  154. </div>{if="$FILEUPLOAD"}
  155. <div id="attachment" role="alert" class="hidden alert alert-info">
  156. <span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span> <a>{function="i18n::_('Download attachment')"}</a> <span id="clonedfile" class="hidden">{function="i18n::_('Cloned file attached.')"}</span>
  157. </div>{/if}{if="strlen($STATUS)"}
  158. <div id="status" role="alert" class="alert alert-success">
  159. <span class="glyphicon glyphicon-ok" aria-hidden="true"></span> {$STATUS|htmlspecialchars}
  160. </div>{/if}
  161. <div id="errormessage" role="alert" class="{if="!strlen($ERROR)"}hidden {/if}alert alert-danger"><span class="glyphicon glyphicon-alert" aria-hidden="true"></span> {$ERROR|htmlspecialchars}</div>
  162. <noscript><div id="noscript" role="alert" class="nonworking alert alert-warning"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> {function="i18n::_('Javascript is required for PrivateBin to work.<br />Sorry for the inconvenience.')"}</div></noscript>
  163. <div id="oldienotice" role="alert" class="hidden nonworking alert alert-danger"><span class="glyphicon glyphicon-alert" aria-hidden="true"></span> {function="i18n::_('PrivateBin requires a modern browser to work.')"}</div>
  164. <div id="ienotice" role="alert" class="hidden alert alert-warning"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span> {function="i18n::_('Still using Internet Explorer? Do yourself a favor, switch to a modern browser:')"}
  165. <a href="http://www.mozilla.org/firefox/">Firefox</a>,
  166. <a href="http://www.opera.com/">Opera</a>,
  167. <a href="http://www.google.com/chrome">Chrome</a>,
  168. <a href="http://www.apple.com/safari">Safari</a>...
  169. </div>
  170. <div id="pasteresult" role="alert" class="hidden alert alert-success">
  171. <span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
  172. <div id="deletelink"></div>
  173. <div id="pastelink">{if="strlen($URLSHORTENER)"}
  174. <button id="shortenbutton" data-shortener="{$URLSHORTENER|htmlspecialchars}" type="button" class="btn btn-primary">
  175. <span class="glyphicon glyphicon-send" aria-hidden="true"></span> {function="i18n::_('Shorten URL')"}
  176. </button>
  177. {/if}</div>
  178. </div>
  179. <ul id="preview" class="nav nav-tabs hidden">
  180. <li role="presentation" class="active"><a id="messageedit" href="#">{function="i18n::_('Editor')"}</a></li>
  181. <li role="presentation"><a id="messagepreview" href="#">{function="i18n::_('Preview')"}</a></li>
  182. </ul>
  183. </header>
  184. <section class="container">
  185. <article class="row">
  186. <div id="image" class="col-md-12 text-center hidden"></div>
  187. <div id="prettymessage" class="col-md-12 hidden">
  188. <pre id="prettyprint" class="col-md-12 prettyprint linenums:1"></pre>
  189. </div>
  190. <div id="cleartext" class="col-md-12 hidden"></div>
  191. <p class="col-md-12"><textarea id="message" name="message" cols="80" rows="25" class="form-control hidden"></textarea></p>
  192. </article>
  193. </section>
  194. <section class="container">
  195. <div id="discussion" class="hidden">
  196. <h4>{function="i18n::_('Discussion')"}</h4>
  197. <div id="comments"></div>
  198. </div>
  199. </section>
  200. <footer class="container">
  201. <div class="row">
  202. <h4 class="col-md-5 col-xs-8">{function="i18n::_('PrivateBin')"} <small>- {function="i18n::_('Because ignorance is bliss')"}</small></h4>
  203. <p class="col-md-1 col-xs-4 text-center">{$VERSION}</p>
  204. <p id="aboutbox" class="col-md-6 col-xs-12">
  205. {function="i18n::_('PrivateBin is a minimalist, open source online pastebin where the server has zero knowledge of pasted data. Data is encrypted/decrypted <i>in the browser</i> using 256 bits AES. More information on the <a href="https://github.com/PrivateBin/PrivateBin/wiki">project page</a>.')"}
  206. </p>
  207. </div>
  208. </footer>
  209. <div id="cipherdata" class="hidden">{$CIPHERDATA}</div>
  210. </body>
  211. </html>