Changed crypt secret to something stupid and lame

This commit is contained in:
Kasper Rynning-Tønnesen
2016-04-29 15:02:45 +02:00
parent b633c8d755
commit 1f4c719aa9
7 changed files with 23 additions and 11 deletions

View File

@@ -212,7 +212,7 @@
<div id="wrapper" class="tabs_height">
<div id="list-song-html">
<div id="list-song" class="card left-align list-song">
<span class="clickable vote-container" title="Vote!">
<div class="clickable vote-container" title="Vote!">
<a class="clickable center-align votebg">
<span class="lazy card-image cardbg list-image" style="background-image:url('/static/images/loading.png');"></span>
</a>
@@ -223,7 +223,7 @@
<span class="highlighted vote-text">&nbsp;votes</span>
</span>
</span>
</span>
</div>
<div class="card-action center-align list-remove hide">
<a title="Remove song" id="del" class="waves-effect btn-flat clickable">Delete</a>
</div>

View File

@@ -162,7 +162,7 @@
<i class="material-icons">settings_remote</i>
</a>
<div class="collapsible-body">
<ul>
<ul id="remote-mobile-container">
<li class="white-bg">
<p id="remote_header">Control another client</p>
<form action="#" class="row" id="remoteform">

View File

@@ -1,6 +1,6 @@
//importScripts('/static/dist/lib/cache-polyfill.js');
var version = 'v1.3.2';
var version = 'v1.3.1';
var CACHE_FILES = [
'https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=https://zoff.no/&choe=UTF-8&chld=L%7C1',
'https://fonts.googleapis.com/icon?family=Material+Icons',

View File

@@ -989,6 +989,10 @@ nav ul li:hover, nav ul li.active {
transition: all .1s ease;
}
.vote-container{
height:66px;
}
.vote-container:hover .list-image:after, .add-suggested:hover .list-suggested-image:after {
opacity:1;
}
@@ -1057,7 +1061,7 @@ nav ul li:hover, nav ul li.active {
}
.list-remove{
margin-top: 5px;
margin-top: -23px;
font-size: 12px;
height: 20px;
display: inline-table;
@@ -1331,10 +1335,18 @@ nav ul li:hover, nav ul li.active {
right: 0;
}
/*.list-remove{
margin-top:-68px;
}*/
#settings-bar{
overflow-x:hidden;
}
#remote-mobile-container{
margin-left:-7px;
}
#remote_channel{
color:#2d2d2d;
width:90%;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -27,7 +27,7 @@ var Crypt = {
}
var decrypted = CryptoJS.AES.decrypt(
cookie,navigator.userAgent+navigator.languages,
cookie,"0103060703080703080701",
{
mode: CryptoJS.mode.CBC,
padding: CryptoJS.pad.Pkcs7
@@ -54,7 +54,7 @@ var Crypt = {
var encrypted = CryptoJS.AES.encrypt(
to_encrypt,
navigator.userAgent+navigator.languages,
"0103060703080703080701",
{
mode: CryptoJS.mode.CBC,
padding: CryptoJS.pad.Pkcs7
@@ -96,7 +96,7 @@ var Crypt = {
var encrypted = CryptoJS.AES.encrypt(
string_it,
navigator.userAgent+navigator.languages,
"0103060703080703080701",
{
mode: CryptoJS.mode.CBC,
padding: CryptoJS.pad.Pkcs7