Removed dead code.

(cherry picked from commit 87e17b36f9b2ec777c14257eb9c8efec0e7bd053)

Conflicts:
	css/zerobin.css
	js/zerobin.js
	tpl/page.html
This commit is contained in:
Sebastien SAUVAGE 2013-02-24 14:37:32 +01:00 committed by El RIDO
parent cff4d99f05
commit 09bebae286
3 changed files with 4 additions and 16 deletions

View File

@ -119,7 +119,7 @@ h3 {
#copyhint { color: #666; font-size: 0.85em; } #copyhint { color: #666; font-size: 0.85em; }
button, .button, #expiration, #language { button, .button, #expiration {
color: #fff; color: #fff;
background-color: #323b47; background-color: #323b47;
background-repeat: no-repeat; background-repeat: no-repeat;
@ -178,7 +178,7 @@ button img {
top: 2px; top: 2px;
} }
#expiration, #language, #burnafterreadingoption, #opendisc { #expiration, #burnafterreadingoption, #opendisc {
background-color: #414d5a; background-color: #414d5a;
padding: 6px 8px; padding: 6px 8px;
margin: 0 5px 0 0; margin: 0 5px 0 0;
@ -186,14 +186,14 @@ button img {
bottom: 1px; /* WTF ? Why is this shifted by 1 pixel ? */ bottom: 1px; /* WTF ? Why is this shifted by 1 pixel ? */
} }
#expiration select, #language select { #expiration select {
color: #eee; color: #eee;
background: transparent; background: transparent;
border: none; border: none;
} }
#expiration select option, #language select option { #expiration select option {
color:#eee; color:#eee;
background: #414d5a; background: #414d5a;
} }

View File

@ -383,8 +383,6 @@ function stateNewPaste() {
$('button#clonebutton').addClass('hidden'); $('button#clonebutton').addClass('hidden');
$('div#expiration').removeClass('hidden'); $('div#expiration').removeClass('hidden');
$('div#remainingtime').addClass('hidden'); $('div#remainingtime').addClass('hidden');
$('div#language').addClass('hidden'); // $('#language').removeClass('hidden');
$('input#password').addClass('hidden'); //$('#password').removeClass('hidden');
$('div#burnafterreadingoption').removeClass('hidden'); $('div#burnafterreadingoption').removeClass('hidden');
$('div#opendisc').removeClass('hidden'); $('div#opendisc').removeClass('hidden');
$('button#newbutton').removeClass('hidden'); $('button#newbutton').removeClass('hidden');
@ -412,8 +410,6 @@ function stateExistingPaste() {
} }
$('div#expiration').addClass('hidden'); $('div#expiration').addClass('hidden');
$('div#language').addClass('hidden');
$('input#password').addClass('hidden');
$('div#burnafterreadingoption').addClass('hidden'); $('div#burnafterreadingoption').addClass('hidden');
$('div#opendisc').addClass('hidden'); $('div#opendisc').addClass('hidden');
$('button#newbutton').removeClass('hidden'); $('button#newbutton').removeClass('hidden');

View File

@ -56,14 +56,6 @@
</select> </select>
</div> </div>
<div id="remainingtime" class="hidden"></div> <div id="remainingtime" class="hidden"></div>
<div id="language" class="hidden">
<select name="language">
<option value="language" selected="selected">Language</option>
<option value="C/C++">C/C++</option>
<option value="php">php</option>
<option value="python">Python</option>
</select>
</div>
<div id="burnafterreadingoption" class="button" style="display:none;"> <div id="burnafterreadingoption" class="button" style="display:none;">
<input type="checkbox" id="burnafterreading" name="burnafterreading" {if="$BURNAFTERREADINGSELECTED"} checked="checked"{/if} /> <input type="checkbox" id="burnafterreading" name="burnafterreading" {if="$BURNAFTERREADINGSELECTED"} checked="checked"{/if} />
<label for="burnafterreading">Burn after reading</label> <label for="burnafterreading">Burn after reading</label>