From 23cdb2a5c67d2a611dd5eaa81df51f08baf8c5f2 Mon Sep 17 00:00:00 2001 From: 0ip Date: Mon, 30 Apr 2012 15:54:21 +0200 Subject: [PATCH 1/4] Removed QR-Code --- src/static/css/pad.css | 28 ---------------------------- src/static/js/pad.js | 6 ------ src/static/js/pad_editbar.js | 2 -- src/templates/pad.html | 5 ----- 4 files changed, 41 deletions(-) diff --git a/src/static/css/pad.css b/src/static/css/pad.css index 601200ab..e052c329 100644 --- a/src/static/css/pad.css +++ b/src/static/css/pad.css @@ -1318,31 +1318,6 @@ ul#colorpickerswatches li:hover { line-height: 18px; position: fixed; } -#qr_center { - margin: 10px 10px auto 0; - text-align: center; -} -#embedreadonlyqr { - -webkit-box-shadow: 0 0 10px #000; - -moz-box-shadow: 0 0 10px #000; - box-shadow: 0 0 10px #000; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - -webkit-transition: all .2s ease-in-out; - -moz-transition: all .2s ease-in-out; - -o-transition: all .2s ease-in-out; - -ms-transition: all .2s ease-in-out; - transition: all .2s ease-in-out; -} -#embedreadonlyqr:hover { - cursor: none; - -webkit-transform: scale(1.5); - -moz-transform: scale(1.5); - -o-transform: scale(1.5); - -ms-transform: scale(1.5); - transform: scale(1.5); -} .rtl { direction: RTL } @@ -1518,9 +1493,6 @@ input[type=checkbox] { #usericonback { margin-top: 4px } - #qrcode { - display: none - } .toolbar ul.menu_right li:not(:last-child) { display: block } diff --git a/src/static/js/pad.js b/src/static/js/pad.js index d40af6e7..dbbee43c 100644 --- a/src/static/js/pad.js +++ b/src/static/js/pad.js @@ -102,7 +102,6 @@ function getParams() var showLineNumbers = params["showLineNumbers"]; var useMonospaceFont = params["useMonospaceFont"]; var IsnoColors = params["noColors"]; - var hideQRCode = params["hideQRCode"]; var rtl = params["rtl"]; var alwaysShowChat = params["alwaysShowChat"]; @@ -148,10 +147,6 @@ function getParams() // If the username is set as a parameter we should set a global value that we can call once we have initiated the pad. settings.globalUserName = decodeURIComponent(userName); } - if(hideQRCode) - { - $('#qrcode').hide(); - } if(rtl) { if(rtl == "true") @@ -1024,7 +1019,6 @@ var settings = { , noColors: false , useMonospaceFontGlobal: false , globalUserName: false -, hideQRCode: false , rtlIsTrue: false }; diff --git a/src/static/js/pad_editbar.js b/src/static/js/pad_editbar.js index cede9f37..268fb029 100644 --- a/src/static/js/pad_editbar.js +++ b/src/static/js/pad_editbar.js @@ -237,14 +237,12 @@ var padeditbar = (function() var readonlyLink = basePath + "/ro/" + clientVars.readOnlyId; $('#embedinput').val("