i truly dont know
No files matched your search
@@ -1,2 +1,3 @@
|
||||
node_modules/
|
||||
*cred.json
|
||||
*cred.json
|
||||
.vscode/
|
||||
@@ -11,16 +11,16 @@ mongoose.connect("mongodb://odin.home.mathew.pl:27017/radio-rolnik", {
|
||||
useUnifiedTopology: true,
|
||||
useFindAndModify: false
|
||||
});
|
||||
db = mongoose.connection
|
||||
var database = mongoose.connection
|
||||
|
||||
db.on('error', err => {
|
||||
database.on('error', err => {
|
||||
throw err
|
||||
});
|
||||
db.once('open', () => {
|
||||
database.once('open', () => {
|
||||
pretty.log(`DB connected`)
|
||||
});
|
||||
|
||||
var trackSchema = new mongoose.Schema({
|
||||
var Track = mongoose.model('Track', new mongoose.Schema({
|
||||
id: String,
|
||||
title: String,
|
||||
album: {
|
||||
@@ -33,27 +33,29 @@ var trackSchema = new mongoose.Schema({
|
||||
},
|
||||
artists: Array,
|
||||
duration: Number,
|
||||
source: String
|
||||
}, { collection: 'tracks' })
|
||||
source: String,
|
||||
explicit: Boolean,
|
||||
banned: Boolean
|
||||
}, { collection: 'tracks' })),
|
||||
|
||||
var Track = mongoose.model('Track', trackSchema)
|
||||
Vote = mongoose.model('Vote', new mongoose.Schema({
|
||||
uid: String,
|
||||
tid: String,
|
||||
flag: String,
|
||||
comment: String
|
||||
}, { collection: 'votes', timestamps: { createdAt: 'createdAt' } })),
|
||||
|
||||
var userSchema = new mongoose.Schema({
|
||||
id: String,
|
||||
name: String,
|
||||
mail: String,
|
||||
token: String
|
||||
}, { collection: 'users' })
|
||||
User = mongoose.model('User', new mongoose.Schema({
|
||||
id: String,
|
||||
name: String,
|
||||
mail: String,
|
||||
token: String,
|
||||
admin: Number
|
||||
}, { collection: 'users' })),
|
||||
|
||||
var voteSchema = new mongoose.Schema({
|
||||
uid: String,
|
||||
tid: String,
|
||||
flag: String,
|
||||
comment: String
|
||||
}, { collection: 'votes', timestamps: { createdAt: 'createdAt' } })
|
||||
|
||||
var Vote = mongoose.model('Vote', voteSchema),
|
||||
User = mongoose.model('User', userSchema)
|
||||
Previous = mongoose.model('Previous', new mongoose.Schema({
|
||||
tid: String
|
||||
}, { collection: 'history', timestamps: { createdAt: 'createdAt', updatedAt: false } }))
|
||||
|
||||
module.exports = {
|
||||
users: {
|
||||
@@ -91,18 +93,25 @@ module.exports = {
|
||||
}
|
||||
},
|
||||
votes: {
|
||||
timeValid: 60 * 60 * 12, // seconds
|
||||
add(user, track, flag, comment) {
|
||||
pretty.log(`'${user.name}' voted '${flag}' on '${track.title}'`)
|
||||
timeValid: 60 * 60 * 12 * 1e3, // ms
|
||||
add(user, track, flag) {
|
||||
return new Promise((resolve, reject) => {
|
||||
Vote.create({
|
||||
uid: user.id,
|
||||
tid: track.id,
|
||||
flag: flag,
|
||||
comment: comment
|
||||
}, function (err, vote) {
|
||||
resolve(vote)
|
||||
if (typeof user == 'undefined') return reject(new Error("Not authorized"))
|
||||
this.validUser(user, track.id).then(flags => {
|
||||
if (flags[flag]) {
|
||||
reject(new Error("Already voted"))
|
||||
} else {
|
||||
Vote.create({
|
||||
uid: user.id,
|
||||
tid: track.id,
|
||||
flag: flag
|
||||
}).then(vote => {
|
||||
resolve(vote)
|
||||
pretty.log(`'${user.name}' voted '${flag}' on '${track.title}'`)
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
})
|
||||
},
|
||||
validUser(user, tid) {
|
||||
@@ -112,10 +121,9 @@ module.exports = {
|
||||
uid: user.id,
|
||||
tid: tid,
|
||||
createdAt: {
|
||||
$gt: new Date(new Date().getTime() - 12 * 60 * 60 * 1e3)
|
||||
$gt: new Date(new Date().setHours(0, 0, 0))
|
||||
}
|
||||
}, function (err, votes) {
|
||||
// console.log(votes.map(vote => [vote.tid, vote.flag]))
|
||||
resolve({
|
||||
up: !!votes.find(vote => vote.flag == 'up'),
|
||||
down: !!votes.find(vote => vote.flag == 'down'),
|
||||
@@ -124,12 +132,16 @@ module.exports = {
|
||||
})
|
||||
})
|
||||
},
|
||||
validTrack(track) { },
|
||||
validAll() {
|
||||
return new Promise((resolve, reject) => {
|
||||
var monday = new Date();
|
||||
monday.setHours(0, 0, 0)
|
||||
monday.setDate(monday.getDate() - (monday.getDay() + 6) % 7);
|
||||
Vote.find({
|
||||
createdAt: {
|
||||
$gt: new Date(new Date().getTime() - 12 * 60 * 60 * 1e3)
|
||||
// $gt: new Date(new Date().getTime() - this.timeValid)
|
||||
// $gt: new Date(new Date().setHours(0, 0, 0))
|
||||
$gt: monday
|
||||
}
|
||||
}).then(function (votes) {
|
||||
let results = {}
|
||||
@@ -150,9 +162,7 @@ module.exports = {
|
||||
Track.findOne({
|
||||
id: id
|
||||
}).then(track => {
|
||||
if(track === null){
|
||||
reject(new Error(`Track not found`))
|
||||
}
|
||||
if (track === null) return reject(new Error(`Tracks: ${id} not found`))
|
||||
resolve(track)
|
||||
}).catch(err => {
|
||||
reject(err)
|
||||
@@ -162,22 +172,24 @@ module.exports = {
|
||||
add(track) {
|
||||
return new Promise((resolve, reject) => {
|
||||
Track.findOneAndUpdate(
|
||||
{id: track.id}, // find
|
||||
{ id: track.id }, // find
|
||||
{
|
||||
id: track.id,
|
||||
title: track.title,
|
||||
album: track.album,
|
||||
artists: track.artists,
|
||||
duration: track.duration,
|
||||
source: track.source
|
||||
source: track.source,
|
||||
explicit: track.explicit,
|
||||
banned: track.banned || false,
|
||||
}, // update
|
||||
{ upsert: true }) // create if doesn't exist
|
||||
.then(track => {
|
||||
resolve(track)
|
||||
})
|
||||
.then(track => {
|
||||
resolve(track)
|
||||
})
|
||||
|
||||
|
||||
return
|
||||
return
|
||||
Track.create({
|
||||
id: track.id,
|
||||
title: track.title,
|
||||
@@ -190,5 +202,23 @@ module.exports = {
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
history: {
|
||||
get() {
|
||||
return new Promise((resolve, reject) => {
|
||||
Previous.find({}, {}, { limit: 20 }).then(previous => {
|
||||
resolve(previous)
|
||||
})
|
||||
})
|
||||
},
|
||||
add(tid) {
|
||||
return new Promise((resolve, reject) => {
|
||||
Previous.create({
|
||||
tid: tid
|
||||
}).then(previous => {
|
||||
resolve(previous)
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,17 +7,19 @@ const express = require('express'),
|
||||
pretty = require('pretty-log'),
|
||||
io = require('socket.io'),
|
||||
crypto = require('crypto'),
|
||||
Spotify = require('spotify-web-api-node'),
|
||||
SpotifyWebApi = require('spotify-web-api-node'),
|
||||
db = require('./db');
|
||||
const prettyLog = require('pretty-log');
|
||||
|
||||
class Track {
|
||||
constructor(source, data) {
|
||||
constructor(data, source) {
|
||||
this.source = source
|
||||
switch (source) {
|
||||
case 'spotify': this._spotify(data); break;
|
||||
case 'db': this._db(data); break;
|
||||
}
|
||||
|
||||
this._listen()
|
||||
|
||||
this.votes = null
|
||||
this.placement = null
|
||||
this.flags = {
|
||||
@@ -27,6 +29,17 @@ class Track {
|
||||
}
|
||||
}
|
||||
|
||||
_db(data) {
|
||||
this.source = data.source
|
||||
this.album = data.album
|
||||
this.artists = data.artists
|
||||
this.id = data.id
|
||||
this.duration = data.duration
|
||||
this.title = data.title
|
||||
this.banned = data.banned
|
||||
this.explicit = data.explicit
|
||||
}
|
||||
|
||||
_spotify(data) {
|
||||
this.album = {
|
||||
name: data.album.name,
|
||||
@@ -41,6 +54,16 @@ class Track {
|
||||
this.id = data.id
|
||||
this.duration = data.duration_ms
|
||||
this.title = data.name
|
||||
this.explicit = data.explicit
|
||||
this.banned = false
|
||||
}
|
||||
|
||||
_listen() {
|
||||
switch (this.source) {
|
||||
case 'spotify':
|
||||
this.listen = `https://open.spotify.com/track/${this.id}`
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,6 +73,7 @@ class User {
|
||||
this.name = user.name
|
||||
this.mail = user.mail
|
||||
this.token = user.token
|
||||
this.admin = user.admin
|
||||
}
|
||||
|
||||
info() {
|
||||
@@ -57,16 +81,17 @@ class User {
|
||||
id: this.id,
|
||||
name: this.name,
|
||||
email: this.email,
|
||||
token: this.token
|
||||
token: this.token,
|
||||
admin: this.admin
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function apiSearch(id) {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (typeof id != 'string') reject(new Error('Incorrect id'))
|
||||
if (typeof id != 'string') return reject(new Error('Incorrect id'))
|
||||
spotify.getTrack(id).then(data => {
|
||||
resolve(new Track('spotify', data.body))
|
||||
resolve(data.body)
|
||||
}).catch(err => {
|
||||
reject(err)
|
||||
})
|
||||
@@ -78,7 +103,7 @@ function refreshToken() {
|
||||
spotify.clientCredentialsGrant().then(
|
||||
function (data) {
|
||||
pretty.log({
|
||||
data: `Spotify: New token granted`,
|
||||
data: `Spotify: new token granted`,
|
||||
action: 'info'
|
||||
})
|
||||
|
||||
@@ -100,7 +125,7 @@ function refreshToken() {
|
||||
},
|
||||
function (err) {
|
||||
pretty.log({
|
||||
data: 'Something went wrong when retrieving an access token',
|
||||
data: 'Spotify: something went wrong when retrieving an access token',
|
||||
action: 'error'
|
||||
});
|
||||
}
|
||||
@@ -109,58 +134,72 @@ function refreshToken() {
|
||||
|
||||
const credentials = {
|
||||
spotify: require('./spotify-cred.json')
|
||||
},
|
||||
previous = {
|
||||
tracks: [],
|
||||
new(track) {
|
||||
if (Object.keys(track).length < 1) return
|
||||
pretty.log(`New track`)
|
||||
this.tracks.unshift(track)
|
||||
this._send(track)
|
||||
},
|
||||
_send(track) {
|
||||
pretty.log(`Updating previous history`)
|
||||
server.emit('previous', {
|
||||
new: track.id
|
||||
})
|
||||
},
|
||||
get() {
|
||||
if (this.tracks.length < 1) return []
|
||||
return this.tracks.slice(0, 10).map(track => track.id)
|
||||
}
|
||||
|
||||
const Previous = {
|
||||
tracks: [],
|
||||
new(tid, played) {
|
||||
// if (Object.keys(tid).length < 1) return
|
||||
pretty.log(`Previous: new track`, 2)
|
||||
|
||||
var previous = { tid: tid, played: played.getTime() }
|
||||
this.tracks.push(previous)
|
||||
// tid.played = played.getTime()
|
||||
// this.tracks.unshift(tid)
|
||||
this._send(previous)
|
||||
},
|
||||
_send(previous) {
|
||||
// pretty.log(`Previous: updating previous history`)
|
||||
server.emit('previous', {
|
||||
new: previous,
|
||||
})
|
||||
},
|
||||
async update() {
|
||||
for (previous of await db.history.get()) {
|
||||
this.new(previous.tid, previous.createdAt)
|
||||
}
|
||||
},
|
||||
player = {
|
||||
get() {
|
||||
if (this.tracks.length < 1) return []
|
||||
return {
|
||||
all: this.tracks.slice(0, 20)
|
||||
}
|
||||
}
|
||||
},
|
||||
Player = {
|
||||
now: {},
|
||||
status: 'playing',
|
||||
status: 'paused',
|
||||
set(track) {
|
||||
previous.new(this.now)
|
||||
Previous.new(this.now.id, new Date)
|
||||
this.now = track
|
||||
server.emit('player', {
|
||||
tid: this.now.id,
|
||||
status: this.status
|
||||
})
|
||||
db.history.add(track.id)
|
||||
},
|
||||
status(status) {
|
||||
update(status) {
|
||||
this.status = status
|
||||
server.emit('player', {
|
||||
status: this.status
|
||||
})
|
||||
},
|
||||
},
|
||||
tracks = {
|
||||
Tracks = {
|
||||
_list: {},
|
||||
get(id) {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (!this._list[id]) { // check for track in cache
|
||||
db.tracks.get(id).then(track => { // track not in cache, query db
|
||||
this.set(track)
|
||||
resolve(track)
|
||||
db.tracks.get(id).then(tdata => { // track not in cache, query db
|
||||
this.set(tdata, 'db')
|
||||
resolve(this._list[id])
|
||||
}).catch(err => { // track not in db, query api
|
||||
apiSearch(id).then(track => {
|
||||
this.set(track) // add to cache
|
||||
db.tracks.add(track) // add to db
|
||||
resolve(track)
|
||||
}).catch(err => {
|
||||
apiSearch(id).then(tdata => {
|
||||
this.set(tdata, 'spotify')
|
||||
db.tracks.add(this._list[id]) // add to db
|
||||
resolve(this._list[id])
|
||||
}).catch(err => { // not in api, reject
|
||||
reject(err)
|
||||
pretty.log({ data: err.message, action: 'error' })
|
||||
})
|
||||
})
|
||||
@@ -169,33 +208,100 @@ const credentials = {
|
||||
}
|
||||
})
|
||||
},
|
||||
set(track) {
|
||||
this._list[track.id] = track
|
||||
return track.id
|
||||
set(tdata, source) {
|
||||
this._list[tdata.id] = new Track(tdata, source)
|
||||
return tdata.id
|
||||
}
|
||||
},
|
||||
chart = {
|
||||
_list: [],
|
||||
update() {
|
||||
db.votes.validAll().then(tids => {
|
||||
this._list = (Object.keys(tids).sort(function (a, b) { return tids[a] - tids[b] })).reverse()
|
||||
for (let tid in tids) {
|
||||
tracks.get(tid).then(track => {
|
||||
track.votes = tids[tid]
|
||||
track.placement = this._list.indexOf(tid) + 1
|
||||
})
|
||||
Chart = {
|
||||
tids: [],
|
||||
values: {},
|
||||
_serial: 0,
|
||||
_sentAt: null,
|
||||
get serial(){ return this._serial},
|
||||
set serial(value){
|
||||
this._serial = value
|
||||
if(this._serial - this._sentAt > 5) {
|
||||
this.update()
|
||||
this.changed = false
|
||||
return
|
||||
}
|
||||
this.changed = true
|
||||
},
|
||||
changed: true,
|
||||
delay: 10e3,
|
||||
interval() {
|
||||
if(this.changed) this.update()
|
||||
this.changed = false
|
||||
setTimeout(function () { Chart.interval() }, this.delay)
|
||||
},
|
||||
async update() {
|
||||
var values = await db.votes.validAll()
|
||||
this.values = values
|
||||
this.tids = (Object.keys(values).sort(function (a, b) { return values[a] - values[b] })).reverse()
|
||||
for (let tid in values) {
|
||||
let track = await Tracks.get(tid)
|
||||
// tracks.get(tid).then(track => {
|
||||
// track.votes = values[tid]
|
||||
// track.placement = this.tids.indexOf(tid) + 1
|
||||
// })
|
||||
if (track.banned) {
|
||||
this.tids.splice(this.tids.indexOf(tid), 1)
|
||||
continue
|
||||
}
|
||||
return this._list
|
||||
})
|
||||
track.votes = values[tid]
|
||||
track.placement = this.tids.indexOf(tid) + 1
|
||||
}
|
||||
this.changed = false
|
||||
this._sentAt = this._serial
|
||||
server.emit('chart', this.get())
|
||||
},
|
||||
get() {
|
||||
return this._list
|
||||
return {
|
||||
tids: this.tids,
|
||||
values: this.values,
|
||||
serial: this.serial
|
||||
}
|
||||
},
|
||||
},
|
||||
Stats = {
|
||||
_online: 0,
|
||||
_auth: 0,
|
||||
_authed: {},
|
||||
get(id){
|
||||
return {
|
||||
'online': this._online,
|
||||
'auth': this._auth
|
||||
}[id]
|
||||
},
|
||||
online(){
|
||||
return this._online
|
||||
},
|
||||
connect(){
|
||||
this._online++
|
||||
},
|
||||
disconnect(){
|
||||
this._online--
|
||||
},
|
||||
auth(socket){
|
||||
if(!this._authed[socket.user.id]) this._authed[socket.user.id] = {}
|
||||
this._authed[socket.user.id][socket.id] = {
|
||||
user: socket.user,
|
||||
socket: socket
|
||||
}
|
||||
this._auth++
|
||||
},
|
||||
deauth(socket){
|
||||
if(!socket.user) return
|
||||
delete this._authed[socket.user.id][socket.id]
|
||||
this._auth--
|
||||
}
|
||||
}
|
||||
|
||||
var spotify = new Spotify({
|
||||
var spotify = new SpotifyWebApi({
|
||||
clientId: credentials.spotify.clientId,
|
||||
clientSecret: credentials.spotify.clientSecret,
|
||||
redirectUri: "https://radio-rolnik.mtps.pl/logedin"
|
||||
})
|
||||
|
||||
if (new Date().getTime() >= credentials.spotify.lastToken.expires) {
|
||||
@@ -240,93 +346,177 @@ www.on('error', function (error) {
|
||||
});
|
||||
|
||||
www.on('listening', function () {
|
||||
pretty.log(`Listening on ${port}`)
|
||||
pretty.log(`www: listening on ${port}`)
|
||||
});
|
||||
|
||||
setInterval(function () {
|
||||
chart.update()
|
||||
server.emit('top', chart.get())
|
||||
}, 2e3)
|
||||
// app.get('/login', function (req, res) {
|
||||
// var scopes = ['user-read-private', 'user-read-email'],
|
||||
// redirect = spotify.createAuthorizeURL(scopes, 'what')
|
||||
|
||||
tracks.get('11dFghVXANMlKmJXsNCbNl').then(track => player.set(track))
|
||||
// res.redirect(redirect)
|
||||
// // res.redirect('https://accounts.spotify.com/authorize' +
|
||||
// // '?response_type=code' +
|
||||
// // '&client_id=' + credentials.spotify.clientId +
|
||||
// // (scopes ? '&scope=' + encodeURIComponent(scopes) : '') +
|
||||
// // '&redirect_uri=' + encodeURIComponent('https://radio-rolnik.mtps.pl/logedin'));
|
||||
// });
|
||||
|
||||
// app.get('/logedin', function (req, res) {
|
||||
// console.log(req.query.code)
|
||||
// spotify.authorizationCodeGrant(req.query.code).then(
|
||||
// function (data) {
|
||||
// console.log('The token expires in ' + data.body['expires_in']);
|
||||
// console.log('The access token is ' + data.body['access_token']);
|
||||
// console.log('The refresh token is ' + data.body['refresh_token']);
|
||||
|
||||
// // Set the access token on the API object to use it in later calls
|
||||
// spotify.setAccessToken(data.body['access_token']);
|
||||
// spotify.setRefreshToken(data.body['refresh_token']);
|
||||
// },
|
||||
// function (err) {
|
||||
// console.log('Something went wrong!', err);
|
||||
// }
|
||||
// );
|
||||
// })
|
||||
|
||||
// setInterval(function () {
|
||||
// console.log(Stats._authed)
|
||||
// }, 5e3)
|
||||
|
||||
Chart.interval()
|
||||
Chart.update()
|
||||
Previous.update()
|
||||
|
||||
// Tracks.get('7GhIk7Il098yCjg4BQjzvb').then(track => {
|
||||
// Player.set(track)
|
||||
// Tracks.get('6habFhsOp2NvshLv26DqMb').then(track => {
|
||||
// Player.set(track)
|
||||
// Tracks.get('3yfqSUWxFvZELEM4PmlwIR').then(track => {
|
||||
// Player.set(track)
|
||||
// })
|
||||
// })
|
||||
// })
|
||||
|
||||
server.on('connection', socket => {
|
||||
pretty.log('Socket connected');
|
||||
|
||||
Stats.connect()
|
||||
pretty.log(`Socket: '${socket.id}' '${socket.handshake.headers["x-real-ip"]}' connected`, 3);
|
||||
|
||||
socket.on('disconnect', function () {
|
||||
Stats.disconnect()
|
||||
if(socket.user) Stats.deauth(socket)
|
||||
pretty.log(`Socket: '${socket.id}' disconnected`, 3)
|
||||
})
|
||||
|
||||
socket.on('player', function () {
|
||||
socket.emit('player', {
|
||||
tid: player.now.id,
|
||||
status: player.status
|
||||
tid: Player.now.id,
|
||||
status: Player.status
|
||||
})
|
||||
})
|
||||
|
||||
socket.on('previous', function () {
|
||||
socket.emit('previous', {
|
||||
all: previous.get()
|
||||
})
|
||||
socket.emit('previous', Previous.get())
|
||||
})
|
||||
|
||||
socket.on('clear', function(data){
|
||||
Stats.deauth(socket)
|
||||
socket.user = undefined
|
||||
// socket.emit('auth', { // demand token clear
|
||||
// clear: true
|
||||
// })
|
||||
})
|
||||
|
||||
socket.on('auth', function (tokens) {
|
||||
if (typeof tokens != 'object') return // validate input
|
||||
|
||||
if (tokens.local) {
|
||||
db.users.login(tokens.local).then(user => {
|
||||
socket.user = new User(user)
|
||||
pretty.log(`Socket authenticated by token.local as '${socket.user.name}'`)
|
||||
if (typeof tokens.local != 'string') return // validate token
|
||||
db.users.login(tokens.local).then(udata => { // get user from db
|
||||
socket.user = new User(udata)
|
||||
socket.emit('auth', socket.user.info())
|
||||
}).catch(err => {
|
||||
console.log('not in db')
|
||||
socket.emit('auth', {
|
||||
pretty.log(`Socket: '${socket.id}' auth by token.local as '${socket.user.name}'`, 3)
|
||||
Stats.auth(socket)
|
||||
}).catch(err => { // invalid token.local
|
||||
socket.user = undefined
|
||||
socket.emit('auth', { // demand token clear
|
||||
clear: true
|
||||
})
|
||||
pretty.log(`Socket: '${socket.id}' auth by token.local failed`, 3)
|
||||
})
|
||||
} else if (tokens.fb) {
|
||||
if (typeof tokens.fb != 'string') return // validate token
|
||||
|
||||
https.get(`https://graph.facebook.com/v8.0/me?fields=id,name,email&access_token=${tokens.fb}`, (resp) => {
|
||||
let data = ''
|
||||
resp.on('data', (chunk) => data += chunk)
|
||||
|
||||
resp.on('end', () => {
|
||||
let creds = JSON.parse(data)
|
||||
if (creds.error) return console.error(new Error(creds.error.message))
|
||||
db.users.get(creds.id).then(user => {
|
||||
if (creds.error) {socket.emit('meta', {
|
||||
type: 'error',
|
||||
action: 'auth',
|
||||
message: `Auth: there was and error with your facebook token: ${creds.error}`
|
||||
})
|
||||
return pretty.log({ data: creds.error.message, action: 'error' })
|
||||
}
|
||||
|
||||
db.users.get(creds.id).then(user => { // user found in db
|
||||
return user
|
||||
}).catch(async err => {
|
||||
pretty.log(`Creating new user with token.fb`)
|
||||
}).catch(async err => { // not in db, add user
|
||||
pretty.log(`Auth: adding new user '${creds.name}'`, 3)
|
||||
return await db.users.add(creds)
|
||||
}).then(user => {
|
||||
}).then(user => { // finalize auth
|
||||
socket.user = new User(user)
|
||||
pretty.log(`Socket authenticated by token.fb as '${socket.user.name}'`)
|
||||
socket.emit('auth', socket.user.info())
|
||||
pretty.log(`Socket: ${socket.id} auth by token.fb as '${socket.user.name}'`, 3)
|
||||
Stats.auth(socket)
|
||||
})
|
||||
});
|
||||
|
||||
}).on("error", (err) => { throw new Error(err.message) })
|
||||
}).on("error", (err) => {
|
||||
socket.emit('meta', {
|
||||
type: 'error',
|
||||
action: 'auth',
|
||||
message: `Auth: there was and error while fetching facebook data: ${err.message}`
|
||||
})
|
||||
throw err
|
||||
})
|
||||
}
|
||||
// socket.emit('auth', {
|
||||
// token: {
|
||||
// value: 'asdasd',
|
||||
// expires: new Date().getTime()+(1e3*60*60*24*30)
|
||||
// }
|
||||
// })
|
||||
return
|
||||
|
||||
|
||||
})
|
||||
|
||||
socket.on('search', function (data) {
|
||||
if (typeof data != 'object') return // validate input
|
||||
if (typeof data.query != 'string') return
|
||||
spotify.searchTracks(data.query)
|
||||
.then(function (data) {
|
||||
socket.emit('results', {
|
||||
tids: data.body.tracks.items.map(track => tracks.set(new Track('spotify', track))), //new Track('spotify', track)
|
||||
total: data.body.tracks.total
|
||||
})
|
||||
}, function (err) {
|
||||
console.error(err);
|
||||
});
|
||||
if (typeof data.source != 'string') return
|
||||
|
||||
if (data.source == 'spotify') {
|
||||
spotify.searchTracks(data.query)
|
||||
.then(function (response) {
|
||||
socket.emit('results', {
|
||||
tids: response.body.tracks.items.map(tdata => tdata.id),
|
||||
total: response.body.tracks.total
|
||||
})
|
||||
}, function (err) {
|
||||
socket.emit('meta', {
|
||||
type: 'error',
|
||||
action: 'search',
|
||||
message: `'${data.query}' not found: ${err.message}`
|
||||
})
|
||||
pretty.log({ data: err.message, action: 'error' });
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
socket.on('track', function (data) {
|
||||
tracks.get(data.query).then(track => {
|
||||
Tracks.get(data.tid).then(track => {
|
||||
socket.emit('track', track)
|
||||
}).catch(err => {
|
||||
socket.emit('meta', {
|
||||
type: 'error',
|
||||
action: 'track',
|
||||
message: `tid '${data.tid}' not found: ${err.message}`
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
@@ -337,18 +527,43 @@ server.on('connection', socket => {
|
||||
tid: tid,
|
||||
flags: flags
|
||||
})
|
||||
}).catch(err => {
|
||||
socket.emit('meta', {
|
||||
type: 'error',
|
||||
action: 'flags',
|
||||
message: `Flags: api error for '${data.query}'`
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
socket.on('vote', function (data) {
|
||||
if (!socket.user) return
|
||||
tracks.get(data.tid).then(track => {
|
||||
db.votes.add(socket.user, track, data.flag, data.comment)
|
||||
Tracks.get(data.tid).then(track => {
|
||||
db.votes.add(socket.user, track, data.flag).then(vote => {
|
||||
Chart.serial++
|
||||
}).catch(err => {
|
||||
socket.emit('meta', {
|
||||
type: 'error',
|
||||
action: 'vote',
|
||||
message: `Vote: ignored: ${err.message}`
|
||||
})
|
||||
})
|
||||
}).catch(err => {
|
||||
socket.emit('meta', {
|
||||
type: 'error',
|
||||
action: 'vote',
|
||||
message: `Vote: tid '${data.tid}' not found: ${err.message}`
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
socket.on('top', function (data) {
|
||||
socket.emit('top', chart.get())
|
||||
socket.on('chart', function (data) {
|
||||
socket.emit('chart', Chart.get())
|
||||
})
|
||||
|
||||
socket.on('admin', function (data) {
|
||||
if (!(socket.user.admin <= 0)) return
|
||||
console.log(data)
|
||||
|
||||
})
|
||||
|
||||
});
|
||||
@@ -418,6 +418,14 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"express-metatag": {
|
||||
"version": "0.1.0",
|
||||
"resolved": "https://registry.npmjs.org/express-metatag/-/express-metatag-0.1.0.tgz",
|
||||
"integrity": "sha1-R1WSdzLuDEOQEVwMqd5bRz7b9FU=",
|
||||
"requires": {
|
||||
"underscore": "~1.4.2"
|
||||
}
|
||||
},
|
||||
"extend": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
|
||||
@@ -1083,6 +1091,11 @@
|
||||
"mime-types": "~2.1.24"
|
||||
}
|
||||
},
|
||||
"underscore": {
|
||||
"version": "1.4.4",
|
||||
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.4.4.tgz",
|
||||
"integrity": "sha1-YaajIBBiKvoHljvzJSA88SI51gQ="
|
||||
},
|
||||
"unpipe": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "radio-rolnik",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.0",
|
||||
"description": "rolniknysa radio",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
@@ -26,6 +26,7 @@
|
||||
"dependencies": {
|
||||
"cookie-parser": "^1.4.5",
|
||||
"express": "^4.17.1",
|
||||
"express-metatag": "^0.1.0",
|
||||
"mongoose": "^5.10.0",
|
||||
"pretty-log": "github:maathias/pretty-log",
|
||||
"socket.io": "^2.3.0",
|
||||
|
||||
|
After Width: | Height: | Size: 107 KiB |
@@ -293,6 +293,66 @@
|
||||
"css": "expand-right",
|
||||
"code": 61778,
|
||||
"src": "fontawesome"
|
||||
},
|
||||
{
|
||||
"uid": "0f4cae16f34ae243a6144c18a003f2d8",
|
||||
"css": "cancel-circled",
|
||||
"code": 59417,
|
||||
"src": "fontawesome"
|
||||
},
|
||||
{
|
||||
"uid": "43ab845088317bd348dee1d975700c48",
|
||||
"css": "ok-circled",
|
||||
"code": 59418,
|
||||
"src": "fontawesome"
|
||||
},
|
||||
{
|
||||
"uid": "eeadb020bb75d089b25d8424aabe19e0",
|
||||
"css": "minus-circled",
|
||||
"code": 59419,
|
||||
"src": "fontawesome"
|
||||
},
|
||||
{
|
||||
"uid": "19c50c52858a81de58f9db488aba77bc",
|
||||
"css": "mic",
|
||||
"code": 61744,
|
||||
"src": "fontawesome"
|
||||
},
|
||||
{
|
||||
"uid": "f6766a8b042c2453a4e153af03294383",
|
||||
"css": "list-numbered",
|
||||
"code": 61643,
|
||||
"src": "fontawesome"
|
||||
},
|
||||
{
|
||||
"uid": "3d4ea8a78dc34efe891f3a0f3d961274",
|
||||
"css": "info",
|
||||
"code": 61737,
|
||||
"src": "fontawesome"
|
||||
},
|
||||
{
|
||||
"uid": "9ea0a737ccc45d6c510dcbae56058849",
|
||||
"css": "music",
|
||||
"code": 59420,
|
||||
"src": "fontawesome"
|
||||
},
|
||||
{
|
||||
"uid": "9c0fabd22e5b65b3ef7ed847eb864bcb",
|
||||
"css": "pause-circle",
|
||||
"code": 62091,
|
||||
"src": "fontawesome"
|
||||
},
|
||||
{
|
||||
"uid": "5717236f6134afe2d2a278a5c9b3927a",
|
||||
"css": "play-circled",
|
||||
"code": 61764,
|
||||
"src": "fontawesome"
|
||||
},
|
||||
{
|
||||
"uid": "3363990fa5a224d75ed1740e1ec50bb6",
|
||||
"css": "stop-circle",
|
||||
"code": 62093,
|
||||
"src": "fontawesome"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -24,6 +24,10 @@
|
||||
.icon-cog-alt:before { content: '\e816'; } /* '' */
|
||||
.icon-search:before { content: '\e817'; } /* '' */
|
||||
.icon-check:before { content: '\e818'; } /* '' */
|
||||
.icon-cancel-circled:before { content: '\e819'; } /* '' */
|
||||
.icon-ok-circled:before { content: '\e81a'; } /* '' */
|
||||
.icon-minus-circled:before { content: '\e81b'; } /* '' */
|
||||
.icon-music:before { content: '\e81c'; } /* '' */
|
||||
.icon-spin3:before { content: '\e832'; } /* '' */
|
||||
.icon-spin4:before { content: '\e834'; } /* '' */
|
||||
.icon-spin5:before { content: '\e838'; } /* '' */
|
||||
@@ -31,8 +35,12 @@
|
||||
.icon-check-empty:before { content: '\f096'; } /* '' */
|
||||
.icon-bookmark-empty:before { content: '\f097'; } /* '' */
|
||||
.icon-list-bullet:before { content: '\f0ca'; } /* '' */
|
||||
.icon-list-numbered:before { content: '\f0cb'; } /* '' */
|
||||
.icon-plus-squared:before { content: '\f0fe'; } /* '' */
|
||||
.icon-unlink:before { content: '\f127'; } /* '' */
|
||||
.icon-info:before { content: '\f129'; } /* '' */
|
||||
.icon-mic:before { content: '\f130'; } /* '' */
|
||||
.icon-play-circled:before { content: '\f144'; } /* '' */
|
||||
.icon-minus-squared:before { content: '\f146'; } /* '' */
|
||||
.icon-ok-squared:before { content: '\f14a'; } /* '' */
|
||||
.icon-expand:before { content: '\f150'; } /* '' */
|
||||
@@ -46,4 +54,6 @@
|
||||
.icon-trash:before { content: '\f1f8'; } /* '' */
|
||||
.icon-toggle-off:before { content: '\f204'; } /* '' */
|
||||
.icon-toggle-on:before { content: '\f205'; } /* '' */
|
||||
.icon-facebook-official:before { content: '\f230'; } /* '' */
|
||||
.icon-facebook-official:before { content: '\f230'; } /* '' */
|
||||
.icon-pause-circle:before { content: '\f28b'; } /* '' */
|
||||
.icon-stop-circle:before { content: '\f28d'; } /* '' */
|
||||
@@ -1,15 +1,15 @@
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.eot?60322354');
|
||||
src: url('../font/fontello.eot?60322354#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.svg?60322354#fontello') format('svg');
|
||||
src: url('../font/fontello.eot?86500050');
|
||||
src: url('../font/fontello.eot?86500050#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.svg?86500050#fontello') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('data:application/octet-stream;base64,d09GRgABAAAAADJsAA8AAAAAUlwAAQAAAA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NgE0LwEmIg8BBhQfARYyNycuAjU0NhcyFh8BFh8BNgEUDwEGIi8BJjQ3JwYiLwEmND8BNjIfARYUBxc2Mh8BFgMtEHQQLhAWAwwBAiAWCA4OBBYTEHMPLRBSEP53D3MQLBBSEBB0Dy4RFwMKBB4XCQ4HCwQIChIB9DBSLocucy4xMTCHL3QvL1Ivhi9zLjExMIcvdC+rFw90EBIWAxAGDxceAQQKBBYRLg90Dw9REAGfFhBzEA9SDywQdA8RFwMODgkWIAEEBQgDCQsR/o5CL1EvMHMvhzAxMS90L4YuUi4vdC6IMDExL3QvAAACAAD/+QKDAwsABwAfACpAJwUDAgABAgEAAm0AAgJuAAQBAQRUAAQEAVgAAQQBTCMTJTYTEAYFGisTITU0Jg4BFwURFAYHISImJxE0NhczNTQ2MhYHFTMyFrMBHVR2VAEB0CAW/ekXHgEgFhGUzJYCEhceAaVsO1QCUD2h/r4WHgEgFQFCFiABbGaUlGZsHgABAAD/+QOhAwwAJQAwQC0EAQIBAAECAG0AAAMBAANrAAMDbgAFAQEFVAAFBQFYAAEFAUwTJTUjFSQGBRorARUUBgcjIiY9ATLine truncated
|
||||
}
|
||||
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
|
||||
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
|
||||
@@ -17,7 +17,7 @@
|
||||
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.svg?60322354#fontello') format('svg');
|
||||
src: url('../font/fontello.svg?86500050#fontello') format('svg');
|
||||
}
|
||||
}
|
||||
*/
|
||||
@@ -77,6 +77,10 @@
|
||||
.icon-cog-alt:before { content: '\e816'; } /* '' */
|
||||
.icon-search:before { content: '\e817'; } /* '' */
|
||||
.icon-check:before { content: '\e818'; } /* '' */
|
||||
.icon-cancel-circled:before { content: '\e819'; } /* '' */
|
||||
.icon-ok-circled:before { content: '\e81a'; } /* '' */
|
||||
.icon-minus-circled:before { content: '\e81b'; } /* '' */
|
||||
.icon-music:before { content: '\e81c'; } /* '' */
|
||||
.icon-spin3:before { content: '\e832'; } /* '' */
|
||||
.icon-spin4:before { content: '\e834'; } /* '' */
|
||||
.icon-spin5:before { content: '\e838'; } /* '' */
|
||||
@@ -84,8 +88,12 @@
|
||||
.icon-check-empty:before { content: '\f096'; } /* '' */
|
||||
.icon-bookmark-empty:before { content: '\f097'; } /* '' */
|
||||
.icon-list-bullet:before { content: '\f0ca'; } /* '' */
|
||||
.icon-list-numbered:before { content: '\f0cb'; } /* '' */
|
||||
.icon-plus-squared:before { content: '\f0fe'; } /* '' */
|
||||
.icon-unlink:before { content: '\f127'; } /* '' */
|
||||
.icon-info:before { content: '\f129'; } /* '' */
|
||||
.icon-mic:before { content: '\f130'; } /* '' */
|
||||
.icon-play-circled:before { content: '\f144'; } /* '' */
|
||||
.icon-minus-squared:before { content: '\f146'; } /* '' */
|
||||
.icon-ok-squared:before { content: '\f14a'; } /* '' */
|
||||
.icon-expand:before { content: '\f150'; } /* '' */
|
||||
@@ -99,4 +107,6 @@
|
||||
.icon-trash:before { content: '\f1f8'; } /* '' */
|
||||
.icon-toggle-off:before { content: '\f204'; } /* '' */
|
||||
.icon-toggle-on:before { content: '\f205'; } /* '' */
|
||||
.icon-facebook-official:before { content: '\f230'; } /* '' */
|
||||
.icon-facebook-official:before { content: '\f230'; } /* '' */
|
||||
.icon-pause-circle:before { content: '\f28b'; } /* '' */
|
||||
.icon-stop-circle:before { content: '\f28d'; } /* '' */
|
||||
@@ -24,6 +24,10 @@
|
||||
.icon-cog-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-search { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-check { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cancel-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-ok-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-minus-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-music { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-spin3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-spin4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-spin5 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
@@ -31,8 +35,12 @@
|
||||
.icon-check-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-bookmark-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-list-bullet { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-list-numbered { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-plus-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-unlink { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-info { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-mic { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-play-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-minus-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-ok-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-expand { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
@@ -46,4 +54,6 @@
|
||||
.icon-trash { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-toggle-off { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-toggle-on { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-facebook-official { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-facebook-official { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-pause-circle { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-stop-circle { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
@@ -35,6 +35,10 @@
|
||||
.icon-cog-alt { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-search { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-check { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cancel-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-ok-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-minus-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-music { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-spin3 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-spin4 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-spin5 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
@@ -42,8 +46,12 @@
|
||||
.icon-check-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-bookmark-empty { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-list-bullet { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-list-numbered { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-plus-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-unlink { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-info { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-mic { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-play-circled { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-minus-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-ok-squared { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-expand { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
@@ -57,4 +65,6 @@
|
||||
.icon-trash { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-toggle-off { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-toggle-on { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-facebook-official { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-facebook-official { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-pause-circle { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-stop-circle { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
@@ -1,11 +1,11 @@
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.eot?74295980');
|
||||
src: url('../font/fontello.eot?74295980#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.woff2?74295980') format('woff2'),
|
||||
url('../font/fontello.woff?74295980') format('woff'),
|
||||
url('../font/fontello.ttf?74295980') format('truetype'),
|
||||
url('../font/fontello.svg?74295980#fontello') format('svg');
|
||||
src: url('../font/fontello.eot?92047896');
|
||||
src: url('../font/fontello.eot?92047896#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.woff2?92047896') format('woff2'),
|
||||
url('../font/fontello.woff?92047896') format('woff'),
|
||||
url('../font/fontello.ttf?92047896') format('truetype'),
|
||||
url('../font/fontello.svg?92047896#fontello') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@@ -15,7 +15,7 @@
|
||||
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.svg?74295980#fontello') format('svg');
|
||||
src: url('../font/fontello.svg?92047896#fontello') format('svg');
|
||||
}
|
||||
}
|
||||
*/
|
||||
@@ -80,6 +80,10 @@
|
||||
.icon-cog-alt:before { content: '\e816'; } /* '' */
|
||||
.icon-search:before { content: '\e817'; } /* '' */
|
||||
.icon-check:before { content: '\e818'; } /* '' */
|
||||
.icon-cancel-circled:before { content: '\e819'; } /* '' */
|
||||
.icon-ok-circled:before { content: '\e81a'; } /* '' */
|
||||
.icon-minus-circled:before { content: '\e81b'; } /* '' */
|
||||
.icon-music:before { content: '\e81c'; } /* '' */
|
||||
.icon-spin3:before { content: '\e832'; } /* '' */
|
||||
.icon-spin4:before { content: '\e834'; } /* '' */
|
||||
.icon-spin5:before { content: '\e838'; } /* '' */
|
||||
@@ -87,8 +91,12 @@
|
||||
.icon-check-empty:before { content: '\f096'; } /* '' */
|
||||
.icon-bookmark-empty:before { content: '\f097'; } /* '' */
|
||||
.icon-list-bullet:before { content: '\f0ca'; } /* '' */
|
||||
.icon-list-numbered:before { content: '\f0cb'; } /* '' */
|
||||
.icon-plus-squared:before { content: '\f0fe'; } /* '' */
|
||||
.icon-unlink:before { content: '\f127'; } /* '' */
|
||||
.icon-info:before { content: '\f129'; } /* '' */
|
||||
.icon-mic:before { content: '\f130'; } /* '' */
|
||||
.icon-play-circled:before { content: '\f144'; } /* '' */
|
||||
.icon-minus-squared:before { content: '\f146'; } /* '' */
|
||||
.icon-ok-squared:before { content: '\f14a'; } /* '' */
|
||||
.icon-expand:before { content: '\f150'; } /* '' */
|
||||
@@ -102,4 +110,6 @@
|
||||
.icon-trash:before { content: '\f1f8'; } /* '' */
|
||||
.icon-toggle-off:before { content: '\f204'; } /* '' */
|
||||
.icon-toggle-on:before { content: '\f205'; } /* '' */
|
||||
.icon-facebook-official:before { content: '\f230'; } /* '' */
|
||||
.icon-facebook-official:before { content: '\f230'; } /* '' */
|
||||
.icon-pause-circle:before { content: '\f28b'; } /* '' */
|
||||
.icon-stop-circle:before { content: '\f28d'; } /* '' */
|
||||
@@ -229,11 +229,11 @@ body {
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('./font/fontello.eot?77589802');
|
||||
src: url('./font/fontello.eot?77589802#iefix') format('embedded-opentype'),
|
||||
url('./font/fontello.woff?77589802') format('woff'),
|
||||
url('./font/fontello.ttf?77589802') format('truetype'),
|
||||
url('./font/fontello.svg?77589802#fontello') format('svg');
|
||||
src: url('./font/fontello.eot?18300490');
|
||||
src: url('./font/fontello.eot?18300490#iefix') format('embedded-opentype'),
|
||||
url('./font/fontello.woff?18300490') format('woff'),
|
||||
url('./font/fontello.ttf?18300490') format('truetype'),
|
||||
url('./font/fontello.svg?18300490#fontello') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@@ -335,6 +335,12 @@ body {
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="the-icons span3" title="Code: 0xe818"><i class="demo-icon icon-check"></i> <span class="i-name">icon-check</span><span class="i-code">0xe818</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xe819"><i class="demo-icon icon-cancel-circled"></i> <span class="i-name">icon-cancel-circled</span><span class="i-code">0xe819</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xe81a"><i class="demo-icon icon-ok-circled"></i> <span class="i-name">icon-ok-circled</span><span class="i-code">0xe81a</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xe81b"><i class="demo-icon icon-minus-circled"></i> <span class="i-name">icon-minus-circled</span><span class="i-code">0xe81b</span></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="the-icons span3" title="Code: 0xe81c"><i class="demo-icon icon-music"></i> <span class="i-name">icon-music</span><span class="i-code">0xe81c</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xe832"><i class="demo-icon icon-spin3 animate-spin"></i> <span class="i-name">icon-spin3</span><span class="i-code">0xe832</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xe834"><i class="demo-icon icon-spin4 animate-spin"></i> <span class="i-name">icon-spin4</span><span class="i-code">0xe834</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xe838"><i class="demo-icon icon-spin5 animate-spin"></i> <span class="i-name">icon-spin5</span><span class="i-code">0xe838</span></div>
|
||||
@@ -346,8 +352,14 @@ body {
|
||||
<div class="the-icons span3" title="Code: 0xf0ca"><i class="demo-icon icon-list-bullet"></i> <span class="i-name">icon-list-bullet</span><span class="i-code">0xf0ca</span></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="the-icons span3" title="Code: 0xf0cb"><i class="demo-icon icon-list-numbered"></i> <span class="i-name">icon-list-numbered</span><span class="i-code">0xf0cb</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xf0fe"><i class="demo-icon icon-plus-squared"></i> <span class="i-name">icon-plus-squared</span><span class="i-code">0xf0fe</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xf127"><i class="demo-icon icon-unlink"></i> <span class="i-name">icon-unlink</span><span class="i-code">0xf127</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xf129"><i class="demo-icon icon-info"></i> <span class="i-name">icon-info</span><span class="i-code">0xf129</span></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="the-icons span3" title="Code: 0xf130"><i class="demo-icon icon-mic"></i> <span class="i-name">icon-mic</span><span class="i-code">0xf130</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xf144"><i class="demo-icon icon-play-circled"></i> <span class="i-name">icon-play-circled</span><span class="i-code">0xf144</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xf146"><i class="demo-icon icon-minus-squared"></i> <span class="i-name">icon-minus-squared</span><span class="i-code">0xf146</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xf14a"><i class="demo-icon icon-ok-squared"></i> <span class="i-name">icon-ok-squared</span><span class="i-code">0xf14a</span></div>
|
||||
</div>
|
||||
@@ -369,6 +381,10 @@ body {
|
||||
<div class="the-icons span3" title="Code: 0xf205"><i class="demo-icon icon-toggle-on"></i> <span class="i-name">icon-toggle-on</span><span class="i-code">0xf205</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xf230"><i class="demo-icon icon-facebook-official"></i> <span class="i-name">icon-facebook-official</span><span class="i-code">0xf230</span></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="the-icons span3" title="Code: 0xf28b"><i class="demo-icon icon-pause-circle"></i> <span class="i-name">icon-pause-circle</span><span class="i-code">0xf28b</span></div>
|
||||
<div class="the-icons span3" title="Code: 0xf28d"><i class="demo-icon icon-stop-circle"></i> <span class="i-name">icon-stop-circle</span><span class="i-code">0xf28d</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container footer">Generated by <a href="http://fontello.com">fontello.com</a></div>
|
||||
</body>
|
||||
|
||||
@@ -56,6 +56,14 @@
|
||||
|
||||
<glyph glyph-name="check" unicode="" d="M786 331v-177q0-67-47-114t-114-47h-464q-67 0-114 47t-47 114v464q0 66 47 113t114 48h464q35 0 65-14 9-4 10-13 2-10-5-16l-27-28q-6-5-13-5-1 0-5 1-13 3-25 3h-464q-37 0-63-26t-27-63v-464q0-37 27-63t63-27h464q37 0 63 27t26 63v141q0 8 5 13l36 35q6 6 13 6 3 0 7-2 11-4 11-16z m129 273l-455-454q-13-14-31-14t-32 14l-240 240q-14 13-14 31t14 32l61 62q14 13 32 13t32-13l147-147 361 361q13 13 31 13t32-13l62-61q13-14 13-32t-13-32z" horiz-adv-x="928.6" />
|
||||
|
||||
<glyph glyph-name="cancel-circled" unicode="" d="M641 224q0 14-10 25l-101 101 101 101q10 11 10 25 0 15-10 26l-51 50q-10 11-25 11-15 0-25-11l-101-101-101 101q-11 11-25 11-16 0-26-11l-50-50q-11-11-11-26 0-14 11-25l101-101-101-101q-11-11-11-25 0-15 11-26l50-50q10-11 26-11 14 0 25 11l101 101 101-101q10-11 25-11 15 0 25 11l51 50q10 11 10 26z m216 126q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="ok-circled" unicode="" d="M717 440q0 16-10 26l-51 50q-11 11-25 11t-25-11l-228-227-126 126q-11 11-25 11t-25-11l-51-50q-10-10-10-26 0-15 10-25l202-202q10-10 25-10 15 0 26 10l303 303q10 10 10 25z m140-90q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="minus-circled" unicode="" d="M679 314v72q0 14-11 25t-25 10h-429q-14 0-25-10t-10-25v-72q0-14 10-25t25-10h429q14 0 25 10t11 25z m178 36q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="music" unicode="" d="M857 725v-625q0-28-19-50t-48-33-58-18-53-6-54 6-58 18-48 33-19 50 19 50 48 33 58 18 54 6q58 0 107-22v300l-429-132v-396q0-28-19-50t-48-33-58-18-53-6-54 6-58 18-48 33-19 50 19 50 48 34 58 17 54 6q58 0 107-21v539q0 17 10 32t28 20l464 142q7 3 16 3 22 0 38-16t15-38z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="spin3" unicode="" d="M494 850c-266 0-483-210-494-472-1-19 13-20 13-20l84 0c16 0 19 10 19 18 10 199 176 358 378 358 107 0 205-45 273-118l-58-57c-11-12-11-27 5-31l247-50c21-5 46 11 37 44l-58 227c-2 9-16 22-29 13l-65-60c-89 91-214 148-352 148z m409-508c-16 0-19-10-19-18-10-199-176-358-377-358-108 0-205 45-274 118l59 57c10 12 10 27-5 31l-248 50c-21 5-46-11-37-44l58-227c2-9 16-22 30-13l64 60c89-91 214-148 353-148 265 0 482 210 493 473 1 18-13 19-13 19l-84 0z" horiz-adv-x="1000" />
|
||||
|
||||
<glyph glyph-name="spin4" unicode="" d="M498 850c-114 0-228-39-320-116l0 0c173 140 428 130 588-31 134-134 164-332 89-495-10-29-5-50 12-68 21-20 61-23 84 0 3 3 12 15 15 24 71 180 33 393-112 539-99 98-228 147-356 147z m-409-274c-14 0-29-5-39-16-3-3-13-15-15-24-71-180-34-393 112-539 185-185 479-195 676-31l0 0c-173-140-428-130-589 31-134 134-163 333-89 495 11 29 6 50-12 68-11 11-27 17-44 16z" horiz-adv-x="1001" />
|
||||
@@ -70,10 +78,18 @@
|
||||
|
||||
<glyph glyph-name="list-bullet" unicode="" d="M214 64q0-44-31-76t-76-31-76 31-31 76 31 76 76 31 76-31 31-76z m0 286q0-45-31-76t-76-31-76 31-31 76 31 76 76 31 76-31 31-76z m786-232v-107q0-7-5-13t-13-5h-678q-8 0-13 5t-5 13v107q0 7 5 12t13 6h678q7 0 13-6t5-12z m-786 518q0-45-31-76t-76-31-76 31-31 76 31 76 76 31 76-31 31-76z m786-232v-108q0-7-5-12t-13-5h-678q-8 0-13 5t-5 12v108q0 7 5 12t13 5h678q7 0 13-5t5-12z m0 285v-107q0-7-5-12t-13-6h-678q-8 0-13 6t-5 12v107q0 8 5 13t13 5h678q7 0 13-5t5-13z" horiz-adv-x="1000" />
|
||||
|
||||
<glyph glyph-name="list-numbered" unicode="" d="M213-54q0-45-31-70t-75-26q-60 0-96 37l31 49q28-25 60-25 16 0 28 8t12 24q0 35-59 31l-14 31q4 6 18 24t24 31 20 21v1q-9 0-27-1t-27 0v-30h-59v85h186v-49l-53-65q28-6 45-27t17-49z m1 350v-89h-202q-4 20-4 30 0 29 14 52t31 38 37 27 31 24 14 25q0 14-9 22t-22 7q-25 0-45-32l-47 33q13 28 40 44t59 16q40 0 68-23t28-63q0-28-19-51t-42-36-42-28-20-30h71v34h59z m786-178v-107q0-7-5-13t-13-5h-678q-8 0-13 5t-5 13v107q0 8 5 13t13 5h678q7 0 13-6t5-12z m-786 502v-56h-187v56h60q0 22 0 67t1 68v7h-1q-5-10-28-30l-40 42 76 71h59v-225h60z m786-216v-108q0-7-5-12t-13-5h-678q-8 0-13 5t-5 12v108q0 7 5 12t13 5h678q7 0 13-5t5-12z m0 285v-107q0-7-5-12t-13-6h-678q-8 0-13 6t-5 12v107q0 8 5 13t13 5h678q7 0 13-5t5-13z" horiz-adv-x="1000" />
|
||||
|
||||
<glyph glyph-name="plus-squared" unicode="" d="M714 314v72q0 14-10 25t-25 10h-179v179q0 15-11 25t-25 11h-71q-15 0-25-11t-11-25v-179h-178q-15 0-25-10t-11-25v-72q0-14 11-25t25-10h178v-179q0-14 11-25t25-11h71q15 0 25 11t11 25v179h179q14 0 25 10t10 25z m143 304v-536q0-66-47-113t-114-48h-535q-67 0-114 48t-47 113v536q0 66 47 113t114 48h535q67 0 114-48t47-113z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="unlink" unicode="" d="M245 141l-143-143q-6-5-13-5t-12 5q-6 6-6 13t6 13l142 142q6 5 13 5t13-5q5-5 5-12t-5-13z m94-23v-179q0-8-5-13t-13-5-12 5-5 13v179q0 8 5 13t12 5 13-5 5-13z m-125 125q0-8-5-13t-13-5h-178q-8 0-13 5t-5 13 5 13 13 5h178q8 0 13-5t5-13z m706-72q0-66-48-113l-82-81q-46-47-113-47-68 0-114 48l-186 187q-12 12-24 31l134 10 152-153q15-15 38-15t38 15l82 81q16 16 16 37 0 23-16 38l-153 154 10 133q20-11 31-23l188-188q47-48 47-114z m-345 404l-133-10-152 153q-16 16-38 16-22 0-38-15l-82-82q-16-15-16-37 0-22 16-38l153-153-10-134q-20 12-32 24l-187 187q-47 48-47 114 0 67 47 113l82 82q47 46 114 46 67 0 114-47l186-187q12-12 23-32z m354-46q0-8-5-13t-13-5h-179q-8 0-13 5t-5 13 5 12 13 5h179q8 0 13-5t5-12z m-304 303v-178q0-8-5-13t-13-5-13 5-5 13v178q0 8 5 13t13 5 13-5 5-13z m227-84l-143-143q-6-5-13-5t-12 5q-5 6-5 13t5 13l143 143q5 5 12 5t13-5q5-6 5-13t-5-13z" horiz-adv-x="928.6" />
|
||||
|
||||
<glyph glyph-name="info" unicode="" d="M357 100v-71q0-15-10-25t-26-11h-285q-15 0-25 11t-11 25v71q0 15 11 25t25 11h35v214h-35q-15 0-25 11t-11 25v71q0 15 11 25t25 11h214q15 0 25-11t11-25v-321h35q15 0 26-11t10-25z m-71 643v-107q0-15-11-25t-25-11h-143q-14 0-25 11t-11 25v107q0 14 11 25t25 11h143q15 0 25-11t11-25z" horiz-adv-x="357.1" />
|
||||
|
||||
<glyph glyph-name="mic" unicode="" d="M643 457v-71q0-124-82-215t-204-104v-74h143q15 0 25-11t11-25-11-25-25-11h-357q-15 0-25 11t-11 25 11 25 25 11h143v74q-121 13-204 104t-82 215v71q0 15 11 25t25 11 25-11 10-25v-71q0-103 74-177t176-73 177 73 73 177v71q0 15 11 25t25 11 25-11 11-25z m-143 214v-285q0-74-52-126t-127-53-126 53-52 126v285q0 74 52 127t126 52 127-52 52-127z" horiz-adv-x="642.9" />
|
||||
|
||||
<glyph glyph-name="play-circled" unicode="" d="M429 779q116 0 215-58t156-156 57-215-57-215-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58z m214-460q18 10 18 31t-18 31l-304 178q-17 11-35 1-18-11-18-31v-358q0-20 18-31 9-4 17-4 10 0 18 5z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="minus-squared" unicode="" d="M714 314v72q0 14-10 25t-25 10h-500q-15 0-25-10t-11-25v-72q0-14 11-25t25-10h500q14 0 25 10t10 25z m143 304v-536q0-66-47-113t-114-48h-535q-67 0-114 48t-47 113v536q0 66 47 113t114 48h535q67 0 114-48t47-113z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="ok-squared" unicode="" d="M382 125l343 343q11 10 11 25t-11 25l-57 57q-11 11-25 11t-25-11l-261-261-118 118q-10 11-25 11t-25-11l-57-57q-10-10-10-25t10-25l200-200q11-10 25-10t25 10z m475 493v-536q0-66-47-113t-114-48h-535q-67 0-114 48t-47 113v536q0 66 47 113t114 48h535q67 0 114-48t47-113z" horiz-adv-x="857.1" />
|
||||
@@ -101,6 +117,10 @@
|
||||
<glyph glyph-name="toggle-on" unicode="" d="M0 350q0 73 29 139t76 114 114 76 138 28h429q72 0 138-28t114-76 76-114 29-139-29-139-76-113-114-77-138-28h-429q-72 0-138 28t-114 77-76 113-29 139z m786-286q58 0 111 23t91 61 61 91 22 111-22 111-61 91-91 61-111 23-111-23-91-61-61-91-23-111 23-111 61-91 91-61 111-23z" horiz-adv-x="1142.9" />
|
||||
|
||||
<glyph glyph-name="facebook-official" unicode="" d="M810 779q19 0 33-14t14-34v-762q0-20-14-34t-33-14h-218v333h111l16 129h-127v83q0 31 13 46t51 16l68 1v115q-35 5-100 5-75 0-121-44t-45-127v-95h-112v-129h112v-333h-411q-19 0-33 14t-14 34v762q0 20 14 34t33 14h763z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="pause-circle" unicode="" d="M393 189v322q0 8-5 13t-13 5h-143q-8 0-13-5t-5-13v-322q0-7 5-12t13-6h143q8 0 13 6t5 12z m250 0v322q0 8-5 13t-13 5h-143q-8 0-13-5t-5-13v-322q0-7 5-12t13-6h143q8 0 13 6t5 12z m214 161q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="stop-circle" unicode="" d="M607 189v322q0 8-5 13t-13 5h-321q-8 0-13-5t-5-13v-322q0-7 5-12t13-6h321q8 0 13 6t5 12z m250 161q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
|
||||
</font>
|
||||
</defs>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 29 KiB |
@@ -1,11 +1,21 @@
|
||||
:root {
|
||||
--color-primary: #ca3e47;
|
||||
--color-secondary: #f1d450;
|
||||
--color-dark: #15242d;
|
||||
--color-light: #f6f6f6;
|
||||
--color-1grey: #313131;
|
||||
--color-2grey: #414141;
|
||||
--color-3grey: #525252;
|
||||
}
|
||||
|
||||
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
|
||||
body {
|
||||
background-color: #313131;
|
||||
color: #f6f6f6;
|
||||
background-color: var(--color-1grey);
|
||||
color: var(--color-light);
|
||||
margin: 0rem;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
|
||||
}
|
||||
|
||||
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
|
||||
.hidden {
|
||||
display: none !important;
|
||||
}
|
||||
@@ -24,8 +34,8 @@ body {
|
||||
-webkit-transform: translateX(-50%);
|
||||
transform: translateX(-50%);
|
||||
z-index: 5;
|
||||
background: #00dcff;
|
||||
color: #15242d;
|
||||
background: var(--color-secondary);
|
||||
color: var(--color-dark);
|
||||
font-weight: bold;
|
||||
padding: 4px 8px;
|
||||
transition: top .2s ease-in-out;
|
||||
@@ -37,9 +47,9 @@ body {
|
||||
|
||||
#wrapper {
|
||||
/* height: calc(100vh - 2rem); */
|
||||
height: 100%;
|
||||
height: 100vh;
|
||||
max-width: 900px;
|
||||
background: #414141;
|
||||
background: var(--color-2grey);
|
||||
box-sizing: border-box;
|
||||
/* border-radius: 5px; */
|
||||
position: relative;
|
||||
@@ -50,6 +60,10 @@ body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* #wrapper.admin {
|
||||
max-width: 100%;
|
||||
} */
|
||||
|
||||
#player {
|
||||
position: relative;
|
||||
}
|
||||
@@ -57,7 +71,7 @@ body {
|
||||
#player>.current {
|
||||
width: 100%;
|
||||
/* padding: 0.5rem; */
|
||||
background: #ca3e47;
|
||||
background: var(--color-primary);
|
||||
/* border-radius: 5px 5px 0px 0px; */
|
||||
transition: background .3s ease-in-out;
|
||||
box-sizing: border-box;
|
||||
@@ -68,11 +82,7 @@ body {
|
||||
}
|
||||
|
||||
#player>.current.off {
|
||||
background: #414141;
|
||||
}
|
||||
|
||||
#player>.current>.track>.icons {
|
||||
display: none;
|
||||
background: var(--color-3grey);
|
||||
}
|
||||
|
||||
#player>.status {
|
||||
@@ -93,30 +103,50 @@ body {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
background: #525252;
|
||||
#nav>.button {
|
||||
background: var(--color-3grey);
|
||||
width: 100%;
|
||||
color: #e6e6e6;
|
||||
padding: 1rem;
|
||||
color: var(--color-light);
|
||||
padding: 1rem .5rem;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nav-item.active {
|
||||
background-color: #ca3e47;
|
||||
#nav>.button.active {
|
||||
background-color: var(--color-primary);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.nav-item:not(.active):hover {
|
||||
#nav>.button:not(.active):hover {
|
||||
background-color: #93474C;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 768px) {
|
||||
.admin>#nav>.button>.label {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 630px) {
|
||||
#nav>.button>.label {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.albumart {
|
||||
background-size: cover;
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
a, a:visited {
|
||||
color: var(--color-light)
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: var(--color-primary)
|
||||
}
|
||||
|
||||
/* Track list */
|
||||
|
||||
.list {
|
||||
@@ -128,8 +158,7 @@ body {
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
.list>.track,
|
||||
.current>.track {
|
||||
.list>.track, .current>.track {
|
||||
background: inherit;
|
||||
padding: .5rem;
|
||||
white-space: nowrap;
|
||||
@@ -140,7 +169,7 @@ body {
|
||||
}
|
||||
|
||||
.list>.track:nth-child(odd) {
|
||||
background: #525252;
|
||||
background: var(--color-3grey);
|
||||
padding: .5rem;
|
||||
}
|
||||
|
||||
@@ -155,6 +184,11 @@ body {
|
||||
background: inherit;
|
||||
}
|
||||
|
||||
.track>.icons>div {
|
||||
display: none;
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.track>.albumart {
|
||||
width: 2.6rem;
|
||||
height: 2.6rem;
|
||||
@@ -183,12 +217,18 @@ body {
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
/* History */
|
||||
|
||||
.pane.history>#previous>.track>.icons>.played {
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
/* Search */
|
||||
|
||||
.pane.search>.query {
|
||||
position: relative;
|
||||
padding: .5rem;
|
||||
border-bottom: 1px solid #f6f6f6;
|
||||
border-bottom: 1px solid var(--color-light);
|
||||
}
|
||||
|
||||
.pane.search>.query>.input {
|
||||
@@ -196,8 +236,8 @@ body {
|
||||
border-radius: 0px;
|
||||
width: 100%;
|
||||
font-size: 1.5rem;
|
||||
background: #313131;
|
||||
color: #f6f6f6;
|
||||
background: var(--color-1grey);
|
||||
color: var(--color-light);
|
||||
padding: 5px 12px;
|
||||
height: 2.5rem;
|
||||
}
|
||||
@@ -207,7 +247,7 @@ body {
|
||||
}
|
||||
|
||||
.pane.search>.query>.icons {
|
||||
background: #313131;
|
||||
background: var(--color-1grey);
|
||||
/* float: right; */
|
||||
/* height: 2.5rem; */
|
||||
padding: .5rem;
|
||||
@@ -220,13 +260,23 @@ body {
|
||||
}
|
||||
|
||||
.pane.search>.query>.icons>i {
|
||||
background: #f6f6f608;
|
||||
background: var(--color-light)08;
|
||||
padding: 12px 5px;
|
||||
margin: 1px 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.pane.search>.query>.icons>i:hover {
|
||||
background: #93474C;
|
||||
}
|
||||
|
||||
.pane.search>.query>.icons>i.active {
|
||||
background: var(--color-primary);
|
||||
}
|
||||
|
||||
.icons>i.icon-search {
|
||||
background: #ca3e47 !important;
|
||||
background: var(--color-primary) !important;
|
||||
margin-left: .5rem !important;
|
||||
padding-left: 18px !important;
|
||||
padding-right: 18px !important;
|
||||
}
|
||||
@@ -258,7 +308,7 @@ body {
|
||||
.pane.preview>.buttons {
|
||||
clear: both;
|
||||
font-size: 2rem;
|
||||
padding: .5rem;
|
||||
padding: .5rem 0;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@@ -266,15 +316,22 @@ body {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: .5rem 0;
|
||||
margin: 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.pane.preview>.buttons.disabled>i.icon-flag, .pane.preview>.buttons.disabled>i.icon-thumbs-up, .pane.preview>.buttons.disabled>i.icon-thumbs-down {
|
||||
background: var(--color-3grey);
|
||||
color: var(--color-2grey);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.pane.preview>.buttons>i:hover {
|
||||
background: #313131;
|
||||
background: var(--color-1grey);
|
||||
}
|
||||
|
||||
.pane.preview>.buttons>i.clicked {
|
||||
background: #ca3e47;
|
||||
background: var(--color-primary);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
@@ -284,13 +341,32 @@ body {
|
||||
border-top: solid white 1px;
|
||||
}
|
||||
|
||||
.pane.preview>.params>thead {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.pane.preview>.params>tbody>tr.highlight {
|
||||
font-weight: bold;
|
||||
/* background: #ffffff11; */
|
||||
}
|
||||
|
||||
.pane.preview>.params>tbody>tr.highlight::before {
|
||||
background: white;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/* Settings */
|
||||
|
||||
.pane.settings {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
#profile {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
border-bottom: 1px solid white;
|
||||
}
|
||||
|
||||
#profilePic {
|
||||
@@ -299,7 +375,7 @@ body {
|
||||
background-size: cover;
|
||||
display: inline-block;
|
||||
border-radius: 6rem;
|
||||
background-color: #f6f6f6;
|
||||
background-color: var(--color-light);
|
||||
}
|
||||
|
||||
#username {
|
||||
@@ -308,30 +384,148 @@ body {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
#fbLogin {
|
||||
display: block;
|
||||
.pane.settings>.params {
|
||||
width: 100%;
|
||||
border-bottom: 1px solid white;
|
||||
}
|
||||
|
||||
.pane.settings>.params>thead {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.pane.settings>.actions {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
padding: 1rem 0;
|
||||
border-bottom: 1px solid white;
|
||||
}
|
||||
|
||||
.pane.settings>.actions>div {
|
||||
background: var(--color-primary);
|
||||
color: var(--color-light);
|
||||
font-weight: bold;
|
||||
padding: .5rem;
|
||||
margin: 3px 0;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.pane.settings>.actions>div:hover {
|
||||
background: #93474C;
|
||||
}
|
||||
|
||||
.pane.settings>.about {
|
||||
width: 100%;
|
||||
padding: 1rem 0;
|
||||
}
|
||||
|
||||
.pane.settings>.about>.section {
|
||||
background: var(--color-3grey);
|
||||
padding: .3rem;
|
||||
margin: 3px 0;
|
||||
}
|
||||
|
||||
.pane.settings>.about>.section>.value {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Chart */
|
||||
.top>.list {
|
||||
|
||||
.chart>.list {
|
||||
counter-reset: number;
|
||||
}
|
||||
|
||||
.top>.list>.track {
|
||||
.chart>.list>.track {
|
||||
counter-increment: number;
|
||||
}
|
||||
|
||||
.top>.list>.track::before {
|
||||
content: counter(number)" ";
|
||||
position: absolute;
|
||||
left: .5rem;
|
||||
top: 50%;
|
||||
/* height: 2.6rem; */
|
||||
/* -webkit-transform: translateX(-50%); */
|
||||
transform: translateY(-50%);
|
||||
.chart>.list>.track>.icons>.votes {
|
||||
display: inherit;
|
||||
}
|
||||
|
||||
.top>.list>.track>.albumart {
|
||||
.chart>.list>.track::before {
|
||||
content: counter(number)" ";
|
||||
position: absolute;
|
||||
left: .75rem;
|
||||
top: 1.1rem;
|
||||
font-size: 1rem;
|
||||
/* height: 2.6rem; */
|
||||
/* -webkit-transform: translateX(-50%); */
|
||||
/* transform: translateY(-50%); */
|
||||
}
|
||||
|
||||
.chart>.list>.track>.albumart {
|
||||
margin-left: 1.5rem;
|
||||
}
|
||||
|
||||
.chart>.list>.track:nth-child(n+10)::before {
|
||||
left: .45rem;
|
||||
}
|
||||
|
||||
/* Modals */
|
||||
|
||||
#modals {
|
||||
position: fixed;
|
||||
z-index: 10;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
#modals>.modal {
|
||||
position: relative;
|
||||
background: var(--color-secondary);
|
||||
max-width: 800px;
|
||||
box-sizing: border-box;
|
||||
margin: auto;
|
||||
margin-top: 1rem;
|
||||
padding: 1rem;
|
||||
color: var(--color-1grey);
|
||||
-webkit-box-shadow: 0px 0px 60px -8px rgba(0, 0, 0, 0.75);
|
||||
-moz-box-shadow: 0px 0px 60px -8px rgba(0, 0, 0, 0.75);
|
||||
box-shadow: 0px 0px 60px -8px rgba(0, 0, 0, 0.75);
|
||||
animation: .2s fade;
|
||||
}
|
||||
|
||||
@keyframes fade {
|
||||
0% {
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
transform: 1;
|
||||
}
|
||||
}
|
||||
|
||||
#modals>.modal>i.icon-trash {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
padding: 0.5rem;
|
||||
font-size: 1.4rem;
|
||||
color: #ffffff99;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#modals>.modal>h1 {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
#modals>.modal>.buttons {
|
||||
text-align: right;
|
||||
margin-top: .5rem;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
#modals>.modal>.buttons>i {
|
||||
background: #ffffff99;
|
||||
width: 100%;
|
||||
margin: 0 .5rem;
|
||||
text-align: center;
|
||||
padding: .5rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Admin */
|
||||
|
||||
.pane.admin {
|
||||
padding: .5rem;
|
||||
}
|
||||
@@ -1,14 +1,20 @@
|
||||
<html lang="en">
|
||||
<!DOCTYPE html>
|
||||
<html lang="pl">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Radio Rolnik Nysa</title>
|
||||
<meta name="theme-color" content="#ca3e47">
|
||||
<meta name="description" content="Radio Rolnik Nysa">
|
||||
<title>radio-rolnik</title>
|
||||
|
||||
<link rel="stylesheet" href="/index.css">
|
||||
<link rel="stylesheet" href="fontello.css">
|
||||
<script src="/index.js"></script>
|
||||
<script src="/socket.io/socket.io.js"></script>
|
||||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
||||
<link rel="apple-touch-icon" href="/media/icon_192.png">
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-150749288-3"></script>
|
||||
@@ -47,10 +53,11 @@
|
||||
|
||||
<body>
|
||||
<div id="offline" class=''>Offline <i class="icon-unlink"></i></div>
|
||||
</fb:login-button>
|
||||
<div id="modals">
|
||||
</div>
|
||||
<div id="wrapper">
|
||||
<div id="player">
|
||||
<div class="current">
|
||||
<div class="current off">
|
||||
<div class="track">
|
||||
<div class="albumart"></div>
|
||||
<span class="title">-</span>
|
||||
@@ -59,12 +66,11 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="status">
|
||||
<i class="volume icon-volume-off"></i>
|
||||
<i class="volume icon-stop-circle"></i>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="panes">
|
||||
<div class="pane history active">
|
||||
<div id="previous" class="list">
|
||||
@@ -78,7 +84,7 @@
|
||||
<span class="info"></span>
|
||||
<i class="icon-youtube"></i>
|
||||
<i class="icon-soundcloud-1"></i>
|
||||
<i class="icon-spotify-1"></i>
|
||||
<i class="icon-spotify-1 active"></i>
|
||||
<i class="icon-search"></i>
|
||||
</div>
|
||||
</div>
|
||||
@@ -86,45 +92,84 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="pane top">
|
||||
|
||||
<div class="pane chart">
|
||||
<div class="list"></div>
|
||||
</div>
|
||||
|
||||
<div class="pane preview">
|
||||
<div class="albumart"></div>
|
||||
<div class="title">-</div>
|
||||
<div class="artists">-</div>
|
||||
<div class="buttons">
|
||||
<div class="buttons disabled">
|
||||
<i class="icon-thumbs-up"></i>
|
||||
<i class="icon-thumbs-down"></i>
|
||||
<i class="icon-link"></i>
|
||||
<i class="icon-spotify-1"></i>
|
||||
<i class="icon-music"></i>
|
||||
<i class="icon-flag"></i>
|
||||
</div>
|
||||
<table class="params">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Głosy</td>
|
||||
<td>123123</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="pane settings">
|
||||
<div id="profile">
|
||||
<div id="profilePic"></div>
|
||||
<span id="username">-</span>
|
||||
<span id="username">~</span>
|
||||
</div>
|
||||
<!-- <div id="fbLogin"></div> -->
|
||||
<fb:login-button scope="public_profile,email" onlogin="checkLoginState();" id="fbLogin" class="hidden">
|
||||
<table class="params"></table>
|
||||
<div class="actions">
|
||||
<div data-target='fb'>
|
||||
Zaloguj się przez Facebook
|
||||
<!-- <fb:login-button class="fb_button" length="long" size="large" scope="public_profile,email"
|
||||
onlogin="auth.fbReq();" class="hidden">
|
||||
<span style="margin-right: 10px;">Zaloguj się przez Facebook</span>
|
||||
</fb:login-button> -->
|
||||
|
||||
<!-- <div class="fb-login-button" data-size="medium" data-button-type="login_with" data-layout="default" data-auto-logout-link="false" data-use-continue-as="true" data-width="" onlogin="auth.fbReq();"></div> -->
|
||||
</div>
|
||||
<div data-target='autologin'> Automatyczne logowanie </div>
|
||||
<div data-target='forget'> Zapomnij mnie </div>
|
||||
</div>
|
||||
<div class="about">
|
||||
<div class="section">Regulamin:
|
||||
<div class="value"><a target="_blank" href="/regulamin.html">Regulamin</a></div>
|
||||
</div>
|
||||
<div class="section">Facebook
|
||||
<div class="value"><a target="_blank" href="https://www.facebook.com/Radio-Rolnik-Nysa-116248583541852">Radio Rolnik Nysa</a></div>
|
||||
</div>
|
||||
<div class="section">E-Mail
|
||||
<div class="value"><a target="_blank" href="mailto:radio-rolnik@mtps.pl">radio-rolnik@mtps.pl</a></div>
|
||||
</div>
|
||||
<div class="section">Wersja
|
||||
<div class="value">v1.1.0</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="nav">
|
||||
<div class="nav-item history active" data-target='history'>Historia</div>
|
||||
<div class="nav-item search" data-target='search'>Wyszukaj</div>
|
||||
<div class="nav-item top" data-target='top'>Top</div>
|
||||
<div class="nav-item preview" data-target='preview'>Utwór</div>
|
||||
<div class="nav-item settings" data-target='settings'><i class="icon-cog-alt"></i></div>
|
||||
<div class="button active" data-target='history'>
|
||||
<i class="icon-align-left"></i>
|
||||
<span class="label">Historia</span>
|
||||
</div>
|
||||
<div class="button" data-target='search'>
|
||||
<i class="icon-search"></i>
|
||||
<span class="label">Wyszukaj</span>
|
||||
</div>
|
||||
<div class="button" data-target='chart'>
|
||||
<i class="icon-list-numbered"></i>
|
||||
<span class="label">Top</span></div>
|
||||
<div class="button" data-target='preview'>
|
||||
<i class="icon-info"></i>
|
||||
<span class="label">Utwór</span></div>
|
||||
<div class="button" data-target='settings'>
|
||||
<i class="icon-cog-alt"></i>
|
||||
<span class="label">Ustawienia</span></div>
|
||||
<div class="button hidden" data-target='admin'>
|
||||
<i class="icon-flag"></i>
|
||||
<span class="label">Admin</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"version": "1.1.0",
|
||||
"short_name": "radio-rolnik",
|
||||
"name": "Radio Rolnik Nysa",
|
||||
"description": "",
|
||||
"icons": [{
|
||||
"src": "/media/icon_512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512",
|
||||
"purpose": "any maskable"
|
||||
},
|
||||
{
|
||||
"src": "/media/icon_256.png",
|
||||
"type": "image/png",
|
||||
"sizes": "256x256"
|
||||
}
|
||||
],
|
||||
"start_url": "/#history",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"orientation": "portrait",
|
||||
"background_color": "#313131",
|
||||
"theme_color": "#ca3e47",
|
||||
"lang": "pl"
|
||||
}
|
||||
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 22 KiB |
@@ -0,0 +1,73 @@
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>radio-rolnik</title>
|
||||
|
||||
<link rel="stylesheet" href="fontello.css">
|
||||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" href="/index.css">
|
||||
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-150749288-3"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag() { dataLayer.push(arguments); }
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'UA-150749288-3', { 'page_path': location.pathname + location.hash });
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
|
||||
|
||||
body {
|
||||
background-color: var(--color-1grey);
|
||||
color: var(--color-light);
|
||||
padding: 1rem;
|
||||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
color: (var(--color-primary))
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<h1>Regulamin radio-rolnik</h1>
|
||||
|
||||
<h2>Playlisty</h2>
|
||||
|
||||
<h3>Okres głosowania</h3>
|
||||
<p>
|
||||
Głosy zbierane są w okresie tygodnia lub jednego dnia (może się to zmieniać zależnie od naszych możliwości). Na pojedynczy utwór jeden użytkownik może zagłosować tylko raz w okresie 24h (od północy). Utwory z największą ilością głosów będą puszczane w następnym okresie.
|
||||
</p>
|
||||
|
||||
<h3>Administracja</h3>
|
||||
<p>
|
||||
Zalogowany użytkownik może zgłosić utwór, jeżeli uważa że wymaga on uwagi od Administracji
|
||||
</p>
|
||||
<p>
|
||||
Utwory zawierające przekleństwa będą usuwane z listy. Administracja zastrzega sobie możliwość usunięcia utworu bez żadnego powodu.
|
||||
</p>
|
||||
|
||||
<h2>Prywatność</h2>
|
||||
|
||||
<h3>Integracja z Facebook</h3>
|
||||
<p>
|
||||
Strona radio-rolnik wymaga połączenia z kontem Facebook jedynie do weryfikacji, w celu liczenia głosów. Dane pobierane przy logowaniu to: adres e-mail, nazwa konta (imię i nazwisko), facebook id oraz zdjęcie profilowe. Każde z tych informacji jest zawsze publiczne na każdym koncie Facebook.
|
||||
</p>
|
||||
|
||||
<h3>Automatyczne logowanie</h3>
|
||||
<p>
|
||||
Podczas weryfikacji możliwe są dwie metody: token otrzymany przy logowaniu przez Facebook, oraz token lokalny. Oba tokeny sa zapisywane w przeglądarce do użycia w przyszłości. Cały proces weryfikacji domyślnie odbywa się automatycznie. Jest możliwe wyłączenie weryfikacji podczas otwarcia strony, w zakładce ustawienia. W tym przypadku, aby korzystać z głosowania, wymagane jest ręczne zalogowanie sie, także w zakładce ustawienia
|
||||
</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -0,0 +1,64 @@
|
||||
const CACHE_NAME = 'radio-v1.0.2',
|
||||
ALLOWED_CACHE = [CACHE_NAME]
|
||||
|
||||
self.addEventListener('install', function (event) {
|
||||
event.waitUntil(
|
||||
caches.open(CACHE_NAME)
|
||||
.then(function (cache) {
|
||||
return cache.addAll([
|
||||
'/',
|
||||
'/fontello.css',
|
||||
'/fontello/css/animation.css',
|
||||
'/fontello/css/fontello.css',
|
||||
'/fontello/font/fontello.woff',
|
||||
'/fontello/font/fontello.woff2',
|
||||
'/fontello/font/fontello.ttf',
|
||||
'/media/icon.png',
|
||||
'/media/icon_192.png',
|
||||
'/media/icon_256.png',
|
||||
'/favicon.ico',
|
||||
'/regulamin.html',
|
||||
'/index.js',
|
||||
'/index.css',
|
||||
]);
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
self.addEventListener('fetch', function (event) {
|
||||
event.respondWith(caches.match(event.request).then(function (response) {
|
||||
// Cache hit - return response
|
||||
if (response) return response;
|
||||
|
||||
return fetch(event.request).then(function (response) {
|
||||
// Check if we received a valid response
|
||||
if (!response || response.status !== 200 || response.type !== 'basic') return response
|
||||
|
||||
if(response.url.includes('/socket.io/')) if(!response.url.includes('socket.io.js')) return
|
||||
// IMPORTANT: Clone the response. A response is a stream
|
||||
// and because we want the browser to consume the response
|
||||
// as well as the cache consuming the response, we need
|
||||
// to clone it so we have two streams.
|
||||
var responseToCache = response.clone();
|
||||
|
||||
caches.open(CACHE_NAME).then(function (cache) {
|
||||
cache.put(event.request, responseToCache);
|
||||
});
|
||||
}
|
||||
);
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
self.addEventListener('activate', function (event) {
|
||||
event.waitUntil(caches.keys().then(function (cacheNames) {
|
||||
return Promise.all(
|
||||
cacheNames.map(function (cacheName) {
|
||||
if (ALLOWED_CACHE.indexOf(cacheName) === -1) {
|
||||
return caches.delete(cacheName);
|
||||
}
|
||||
})
|
||||
);
|
||||
})
|
||||
);
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"clientId": "95d8d4e954bd4a52a312786c591b2158",
|
||||
"clientSecret": "6bf7c8c7bf2c4a6ca4ea2b64d92100a4",
|
||||
"lastToken": {
|
||||
"value": "BQAZYEprAYKsyjdDYUyu-VynBsAlFBKyQXNH0wGdxvaF9We04JJrQwasKk-KYzQQeAVmYAi4aBRnIdVFEQs",
|
||||
"expires": 1599136198615
|
||||
}
|
||||
}
|
||||