initial commit - porting over
No files matched your search
@@ -0,0 +1,230 @@
|
||||
from flask import Flask
|
||||
from flask.ext.sqlalchemy import SQLAlchemy
|
||||
from flask.ext.openid import OpenID
|
||||
from flask.ext.cache import Cache
|
||||
|
||||
app = Flask(__name__)
|
||||
app.config.from_object('config')
|
||||
db = SQLAlchemy(app)
|
||||
oid = OpenID(app)
|
||||
cache = Cache(app, config={'CACHE_TYPE': app.config['CACHE_TYPE']})
|
||||
|
||||
from app import views
|
||||
|
||||
'''
|
||||
from flask import Flask, render_template
|
||||
from flask.ext.mongoengine import MongoEngine
|
||||
from flask.ext.openid import OpenID
|
||||
from flask.ext.cache import Cache
|
||||
import utils
|
||||
import ts3
|
||||
|
||||
app = Flask(__name__)
|
||||
app.config.from_object('config')
|
||||
|
||||
#Setup mongo database
|
||||
db = MongoEngine(app)
|
||||
|
||||
#Setup OpenID and Caching
|
||||
oid = OpenID(app)
|
||||
cache = Cache(app, config={'CACHE_TYPE': app.config['CACHE_TYPE']})
|
||||
|
||||
from app import views
|
||||
@app.route('/')
|
||||
def inx():
|
||||
return render_template('main.html')
|
||||
|
||||
##### INTO UTILS LATER #####
|
||||
RADIANT_TEAM = 2
|
||||
DIRE_TEAM = 3
|
||||
RADIANT_COLOR = 'b'
|
||||
DIRE_COLOR = 'r'
|
||||
|
||||
def get_hero_data():
|
||||
xhr = urllib2.build_opener().open(urllib2.Request("https://api.steampowered.com/IEconDOTA2_570/GETHeroes/v0001/?key="+DOTA2_API_KEY+"&language=en_us"))
|
||||
data = json.load(xhr)
|
||||
return data
|
||||
|
||||
@app.context_processor
|
||||
def utility_processor():
|
||||
@cache.memoize(60*5)
|
||||
def ts3_viewer():
|
||||
try:
|
||||
server = ts3.TS3Server(app.config['TS3_HOST'], app.config['TS3_PORT'])
|
||||
server.login(app.config['TS3_USERNAME'], app.config['TS3_PASSWORD'])
|
||||
server.use(1)
|
||||
|
||||
serverinfo = server.send_command('serverinfo').data
|
||||
channellist = server.send_command('channellist', opts=("limits", "flags", "voice", "icon")).data
|
||||
clientlist = server.send_command('clientlist', opts=("away", "voice", "info", "icon", "groups", "country")).data
|
||||
servergrouplist = server.send_command('servergrouplist').data
|
||||
channelgrouplist = server.send_command('channelgrouplist').data
|
||||
|
||||
soup = BeautifulSoup()
|
||||
div_tag = soup.new_tag('div')
|
||||
div_tag['class'] ='devmx-webviewer'
|
||||
soup.append(div_tag)
|
||||
|
||||
def construct_channels(parent_tag, cid):
|
||||
num_clients = 0
|
||||
for channel in channellist:
|
||||
if int(channel['pid']) == int(cid):
|
||||
# Construct the channel
|
||||
channel_tag = soup.new_tag('div')
|
||||
channel_tag['class'] = 'tswv-channel'
|
||||
# Channel image
|
||||
image_tag = soup.new_tag('span')
|
||||
image_tag['class'] = 'tswv-image tswv-image-right'
|
||||
if int(channel['channel_flag_password']) == 1:
|
||||
image_tag['class'] += ' tswv-channel-password-right'
|
||||
if int(channel['channel_flag_default']) == 1:
|
||||
image_tag['class'] += ' tswv-channel-home'
|
||||
if int(channel['channel_needed_talk_power']) > 0:
|
||||
image_tag['class'] += ' tswv-channel-moderated'
|
||||
if int(channel['channel_icon_id']) != 0:
|
||||
raise NotImplementedError
|
||||
image_tag.append(' ')
|
||||
channel_tag.append(image_tag)
|
||||
# Status image
|
||||
status_tag = soup.new_tag('span')
|
||||
status_tag['class'] = 'tswv-image'
|
||||
if int(channel['channel_flag_password']) == 1:
|
||||
status_tag['class'] += ' tswv-channel-password'
|
||||
elif int(channel['total_clients']) == int(channel['channel_maxclients']):
|
||||
status_tag['class'] += ' tswv-channel-full'
|
||||
else:
|
||||
status_tag['class'] += ' tswv-channel-normal'
|
||||
status_tag.append(' ')
|
||||
channel_tag.append(status_tag)
|
||||
# Label
|
||||
label_tag = soup.new_tag('span')
|
||||
label_tag['class'] = 'tswv-label'
|
||||
label_tag.append(channel['channel_name'])
|
||||
channel_tag.append(label_tag)
|
||||
# Clients
|
||||
channel_tag, channel_clients = construct_clients(channel_tag, channel['cid'])
|
||||
# Recurse through sub-channels, collecting total number of clients as we go
|
||||
channel_tag, sub_clients = construct_channels(channel_tag, channel['cid'])
|
||||
channel_clients += sub_clients
|
||||
# Only show non-empty channels
|
||||
if channel_clients > 0:
|
||||
parent_tag.append(channel_tag)
|
||||
num_clients += channel_clients
|
||||
return parent_tag, num_clients
|
||||
|
||||
def construct_clients(parent_tag, cid):
|
||||
num_clients = 0
|
||||
for client in clientlist:
|
||||
if int(client['cid']) == int(cid):
|
||||
# Skip ServerQuery clients
|
||||
if int(client['client_type']) == 1: continue
|
||||
num_clients += 1
|
||||
client_tag = soup.new_tag('div')
|
||||
client_tag['class'] = 'tswv-client'
|
||||
# Status image
|
||||
status_tag = soup.new_tag('span')
|
||||
status_tag['class'] = 'tswv-image'
|
||||
if int(client['client_type']) == 1:
|
||||
status_tag['class'] += ' tswv-client-query'
|
||||
elif int(client['client_away']) == 1:
|
||||
status_tag['class'] += " tswv-client-away"
|
||||
elif int(client['client_input_muted']) == 1:
|
||||
status_tag['class'] += " tswv-client-input-muted"
|
||||
elif int(client['client_output_muted']) == 1:
|
||||
status_tag['class'] += " tswv-client-output-muted"
|
||||
elif int(client['client_input_hardware']) == 0:
|
||||
status_tag['class'] += " tswv-client-input-muted-hardware"
|
||||
elif int(client['client_output_hardware']) == 0:
|
||||
status_tag['class'] += " tswv-client-output-muted-hardware"
|
||||
elif (int(client['client_flag_talking']) == 1) and (int(client['client_is_channel_commander']) == 1):
|
||||
status_tag['class'] += " tswv-client-channel-commander-talking"
|
||||
elif int(client['client_is_channel_commander']) == 1:
|
||||
status_tag['class'] += " tswv-client-channel-commander"
|
||||
elif int(client['client_flag_talking']) == 1:
|
||||
status_tag['class'] += " tswv-client-talking"
|
||||
else:
|
||||
status_tag['class'] += " tswv-client-normal"
|
||||
status_tag.append(' ')
|
||||
client_tag.append(status_tag)
|
||||
# Country image
|
||||
country_tag = soup.new_tag('span')
|
||||
country_tag['class'] = 'tswv-image tswv-image-right'
|
||||
country_tag['title'] = ' '.join([word.capitalize() for word in utils.ISO3166_MAPPING[client['client_country']].split(' ')])
|
||||
country_tag['style'] = 'background: url("%s") center center no-repeat;' % url_for('static', filename='img/ts3_viewer/countries/%s.png' % client['client_country'].lower())
|
||||
country_tag.append(' ')
|
||||
client_tag.append(country_tag)
|
||||
# Server group images
|
||||
sgids = [int(sg) for sg in client['client_servergroups'].split(',')]
|
||||
servergroups = [servergroup for servergroup in servergrouplist if int(servergroup['sgid']) in sgids]
|
||||
servergroups.sort(key=operator.itemgetter('sortid'))
|
||||
for servergroup in servergroups:
|
||||
if not servergroup['iconid']: continue
|
||||
img_fname = 'img/ts3_viewer/%s.png' % servergroup['iconid']
|
||||
if not os.path.exists(os.path.join(app.static_folder, img_fname)):
|
||||
continue
|
||||
image_tag = soup.new_tag('span')
|
||||
image_tag['class'] = 'tswv-image tswv-image-right'
|
||||
image_tag['title'] = servergroup['name']
|
||||
image_tag['style'] = 'background-image: url("%s")' % url_for('static', filename=img_fname)
|
||||
image_tag.append(' ')
|
||||
client_tag.append(image_tag)
|
||||
# Check if client is in a moderated channel
|
||||
channel = [channel for channel in channellist if int(channel['cid']) == int(client['cid'])][0]
|
||||
if int(channel['channel_needed_talk_power']) > 0:
|
||||
status_tag = soup.new_tag('span')
|
||||
status_tag['class'] = 'tswv-image tswv-image-right'
|
||||
if int(client['client_is_talker']) == 0:
|
||||
status_tag['class'] += ' tswv-client-input-muted'
|
||||
else:
|
||||
status_tag['class'] += ' tswv-client-talkpower-granted'
|
||||
status_tag.append(' ')
|
||||
client_tag.append(status_tag)
|
||||
# Label
|
||||
label_tag = soup.new_tag('span')
|
||||
label_tag['class'] = 'tswv-label'
|
||||
label_tag.append(client['client_nickname'])
|
||||
client_tag.append(label_tag)
|
||||
parent_tag.append(client_tag)
|
||||
return parent_tag, num_clients
|
||||
div_tag, num_clients = construct_channels(div_tag, 0)
|
||||
return soup.prettify()
|
||||
except Exception as inst:
|
||||
return "error: %s" % inst
|
||||
def shorten_text(text, num_words=10):
|
||||
text = utils.fix_bad_unicode(text)
|
||||
space_iter = re.finditer('\s+', text)
|
||||
output = u''
|
||||
while num_words > 0:
|
||||
match = space_iter.next()
|
||||
if not match: break
|
||||
output = text[:match.end()]
|
||||
num_words -= 1
|
||||
else:
|
||||
output += '...'
|
||||
return output
|
||||
def num_unique_clients(teamspeak_data):
|
||||
unique_clients = set()
|
||||
for data in teamspeak_data:
|
||||
unique_clients.update(data.clients)
|
||||
return len(unique_clients)
|
||||
def num_unique_clients_by_country(teamspeak_data):
|
||||
unique_clients = {}
|
||||
for data in teamspeak_data:
|
||||
for client_id, client_data in data.clients.iteritems():
|
||||
unique_clients[client_id] = (client_data['country'] or 'Unknown').lower()
|
||||
country = {}
|
||||
for client_id, country_code in unique_clients.iteritems():
|
||||
country[country_code] = country.get(country_code, 0) + 1
|
||||
return country
|
||||
def country_abbreviation_mapping():
|
||||
mapping = {}
|
||||
for key, name in utils.ISO3166_MAPPING.iteritems():
|
||||
mapping[key.lower()] = ' '.join([word.capitalize() for word in name.split(' ')])
|
||||
return mapping
|
||||
return dict(timestamp_to_js_date=utils.timestamp_to_js_date, ts3_viewer=ts3_viewer, shorten_text=shorten_text, getTeamspeakWindow=doob.getTeamspeakWindow,
|
||||
num_unique_clients=num_unique_clients,
|
||||
num_unique_clients_by_country=num_unique_clients_by_country,
|
||||
country_abbreviation_mapping=country_abbreviation_mapping)
|
||||
|
||||
|
||||
'''
|
||||
@@ -0,0 +1,469 @@
|
||||
import os
|
||||
from time import strftime, gmtime
|
||||
from peewee import *
|
||||
from app import app, cache
|
||||
|
||||
db = MySQLDatabase(app.config['FORUM_NAME'], **{'passwd': app.config['FORUM_PASSWORD'],
|
||||
'host': app.config['FORUM_HOST'], 'user': app.config['FORUM_USERNAME']})
|
||||
|
||||
@cache.memoize(60*5)
|
||||
def latest_news(num=2):
|
||||
latest_news = []
|
||||
try:
|
||||
db.connect()
|
||||
news_forum = Forums.get(fn.Lower(Forums.title) % '%news%')
|
||||
for thread in Threads.select().where(
|
||||
Threads.forum == news_forum.id).order_by(Threads.date).limit(num):
|
||||
# Last revision of the first post
|
||||
post = Posts.select().where(Posts.thread == thread.id).get()
|
||||
text = PostsText.select().where(PostsText.pid == post.id).order_by(PostsText.revision.desc()).limit(1).get()
|
||||
timestamp = thread.date
|
||||
date = strftime('%B %d, %Y %H:%M:%S UTC', gmtime(timestamp))
|
||||
if not date:
|
||||
post = Posts.select().where(Posts.thread == thread.id).get()
|
||||
date = post and post.date
|
||||
url = 'http://board.dotanoobs.com/?page=thread&id=%d' % thread.id
|
||||
latest_news.append({'title':thread.title, 'text':text.text, 'date':date, 'timestamp':timestamp, 'url':url})
|
||||
except Exception as e:
|
||||
latest_news.append({'title':'Error with forum db', 'text':e, 'url':''})
|
||||
finally:
|
||||
db.close()
|
||||
return latest_news
|
||||
|
||||
class UnknownFieldType(object):
|
||||
pass
|
||||
|
||||
class BaseModel(Model):
|
||||
class Meta:
|
||||
database = db
|
||||
|
||||
class Badges(BaseModel):
|
||||
color = IntegerField()
|
||||
name = CharField()
|
||||
owner = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'badges'
|
||||
|
||||
class Blockedlayouts(BaseModel):
|
||||
blockee = IntegerField()
|
||||
user = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'blockedlayouts'
|
||||
|
||||
class Categories(BaseModel):
|
||||
corder = IntegerField()
|
||||
name = CharField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'categories'
|
||||
|
||||
class Enabledplugins(BaseModel):
|
||||
plugin = CharField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'enabledplugins'
|
||||
|
||||
class Forummods(BaseModel):
|
||||
forum = IntegerField()
|
||||
user = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'forummods'
|
||||
|
||||
class Forums(BaseModel):
|
||||
catid = IntegerField()
|
||||
description = TextField(null=True)
|
||||
forder = IntegerField()
|
||||
hidden = IntegerField()
|
||||
lastpostdate = IntegerField()
|
||||
lastpostid = IntegerField()
|
||||
lastpostuser = IntegerField()
|
||||
minpower = IntegerField()
|
||||
minpowerreply = IntegerField()
|
||||
minpowerthread = IntegerField()
|
||||
numposts = IntegerField()
|
||||
numthreads = IntegerField()
|
||||
title = CharField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'forums'
|
||||
|
||||
class Guests(BaseModel):
|
||||
bot = IntegerField()
|
||||
date = IntegerField()
|
||||
ip = CharField()
|
||||
lastforum = IntegerField()
|
||||
lasturl = CharField()
|
||||
useragent = CharField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'guests'
|
||||
|
||||
class Ignoredforums(BaseModel):
|
||||
fid = IntegerField()
|
||||
uid = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'ignoredforums'
|
||||
|
||||
class Ip2C(BaseModel):
|
||||
cc = CharField(null=True)
|
||||
ip_from = BigIntegerField()
|
||||
ip_to = BigIntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'ip2c'
|
||||
|
||||
class Ipbans(BaseModel):
|
||||
date = IntegerField()
|
||||
ip = CharField()
|
||||
reason = CharField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'ipbans'
|
||||
|
||||
class Log(BaseModel):
|
||||
date = IntegerField()
|
||||
forum = IntegerField()
|
||||
forum2 = IntegerField()
|
||||
ip = CharField()
|
||||
pm = IntegerField()
|
||||
post = IntegerField()
|
||||
text = CharField()
|
||||
thread = IntegerField()
|
||||
type = CharField()
|
||||
user = IntegerField()
|
||||
user2 = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'log'
|
||||
|
||||
class Misc(BaseModel):
|
||||
hotcount = IntegerField()
|
||||
maxpostsday = IntegerField()
|
||||
maxpostsdaydate = IntegerField()
|
||||
maxpostshour = IntegerField()
|
||||
maxpostshourdate = IntegerField()
|
||||
maxusers = IntegerField()
|
||||
maxusersdate = IntegerField()
|
||||
maxuserstext = TextField(null=True)
|
||||
milestone = TextField(null=True)
|
||||
version = IntegerField()
|
||||
views = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'misc'
|
||||
|
||||
class Moodavatars(BaseModel):
|
||||
mid = IntegerField()
|
||||
name = CharField()
|
||||
uid = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'moodavatars'
|
||||
|
||||
class Notifications(BaseModel):
|
||||
description = TextField(null=True)
|
||||
link = IntegerField()
|
||||
linklocation = CharField()
|
||||
time = IntegerField()
|
||||
title = CharField()
|
||||
type = CharField()
|
||||
uid = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'notifications'
|
||||
|
||||
class Pmsgs(BaseModel):
|
||||
date = IntegerField()
|
||||
deleted = IntegerField()
|
||||
drafting = IntegerField()
|
||||
ip = CharField()
|
||||
msgread = IntegerField()
|
||||
userfrom = IntegerField()
|
||||
userto = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'pmsgs'
|
||||
|
||||
class PmsgsText(BaseModel):
|
||||
pid = IntegerField()
|
||||
text = TextField(null=True)
|
||||
title = CharField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'pmsgs_text'
|
||||
|
||||
class Poll(BaseModel):
|
||||
briefing = TextField(null=True)
|
||||
closed = IntegerField()
|
||||
doublevote = IntegerField()
|
||||
question = CharField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'poll'
|
||||
|
||||
class PollChoices(BaseModel):
|
||||
choice = CharField()
|
||||
color = CharField()
|
||||
poll = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'poll_choices'
|
||||
|
||||
class Pollvotes(BaseModel):
|
||||
choiceid = IntegerField()
|
||||
poll = IntegerField()
|
||||
user = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'pollvotes'
|
||||
|
||||
class Postplusones(BaseModel):
|
||||
post = IntegerField()
|
||||
user = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'postplusones'
|
||||
|
||||
class Posts(BaseModel):
|
||||
currentrevision = IntegerField()
|
||||
date = IntegerField()
|
||||
deleted = IntegerField()
|
||||
deletedby = IntegerField()
|
||||
ip = CharField()
|
||||
mood = IntegerField()
|
||||
num = IntegerField()
|
||||
options = IntegerField()
|
||||
postplusones = IntegerField()
|
||||
reason = CharField()
|
||||
thread = IntegerField()
|
||||
user = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'posts'
|
||||
|
||||
class PostsText(BaseModel):
|
||||
date = IntegerField()
|
||||
pid = IntegerField(primary_key=True)
|
||||
revision = IntegerField()
|
||||
text = TextField(null=True)
|
||||
user = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'posts_text'
|
||||
|
||||
class Proxybans(BaseModel):
|
||||
ip = CharField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'proxybans'
|
||||
|
||||
class Queryerrors(BaseModel):
|
||||
cookie = TextField(null=True)
|
||||
error = TextField(null=True)
|
||||
get = TextField(null=True)
|
||||
ip = CharField()
|
||||
post = TextField(null=True)
|
||||
query = TextField(null=True)
|
||||
time = IntegerField()
|
||||
user = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'queryerrors'
|
||||
|
||||
class Reports(BaseModel):
|
||||
hidden = IntegerField()
|
||||
ip = CharField()
|
||||
request = TextField(null=True)
|
||||
severity = IntegerField()
|
||||
text = CharField()
|
||||
time = IntegerField()
|
||||
user = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'reports'
|
||||
|
||||
class Sessions(BaseModel):
|
||||
autoexpire = IntegerField()
|
||||
expiration = IntegerField()
|
||||
id = CharField()
|
||||
iplock = IntegerField()
|
||||
iplockaddr = CharField()
|
||||
lastip = CharField()
|
||||
lasttime = IntegerField()
|
||||
lasturl = CharField()
|
||||
user = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'sessions'
|
||||
|
||||
class Settings(BaseModel):
|
||||
name = CharField()
|
||||
plugin = CharField()
|
||||
value = TextField(null=True)
|
||||
|
||||
class Meta:
|
||||
db_table = 'settings'
|
||||
|
||||
class Smilies(BaseModel):
|
||||
code = CharField()
|
||||
image = CharField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'smilies'
|
||||
|
||||
class Threads(BaseModel):
|
||||
closed = IntegerField()
|
||||
date = IntegerField()
|
||||
firstpostid = IntegerField()
|
||||
forum = IntegerField()
|
||||
icon = CharField()
|
||||
lastpostdate = IntegerField()
|
||||
lastposter = IntegerField()
|
||||
lastpostid = IntegerField()
|
||||
poll = IntegerField()
|
||||
replies = IntegerField()
|
||||
sticky = IntegerField()
|
||||
title = CharField()
|
||||
user = IntegerField()
|
||||
views = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'threads'
|
||||
|
||||
class Threadsread(BaseModel):
|
||||
date = IntegerField()
|
||||
thread = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'threadsread'
|
||||
|
||||
class Uploader(BaseModel):
|
||||
category = IntegerField()
|
||||
date = IntegerField()
|
||||
description = CharField()
|
||||
downloads = IntegerField()
|
||||
filename = CharField()
|
||||
private = IntegerField()
|
||||
user = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'uploader'
|
||||
|
||||
class UploaderCategories(BaseModel):
|
||||
description = TextField(null=True)
|
||||
name = CharField()
|
||||
ord = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'uploader_categories'
|
||||
|
||||
class Usercomments(BaseModel):
|
||||
cid = IntegerField()
|
||||
date = IntegerField()
|
||||
text = TextField(null=True)
|
||||
uid = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'usercomments'
|
||||
|
||||
class Usergroups(BaseModel):
|
||||
inherits = IntegerField()
|
||||
permissions = TextField(null=True)
|
||||
title = CharField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'usergroups'
|
||||
|
||||
class Userpermissions(BaseModel):
|
||||
permissions = TextField(null=True)
|
||||
uid = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'userpermissions'
|
||||
|
||||
class Users(BaseModel):
|
||||
bio = TextField(null=True)
|
||||
birthday = IntegerField()
|
||||
blocklayouts = IntegerField()
|
||||
color = CharField()
|
||||
dateformat = CharField()
|
||||
displayname = CharField()
|
||||
email = CharField()
|
||||
fontsize = IntegerField()
|
||||
forbiddens = CharField()
|
||||
globalblock = IntegerField()
|
||||
hascolor = IntegerField()
|
||||
homepagename = CharField()
|
||||
homepageurl = CharField()
|
||||
karma = IntegerField()
|
||||
lastactivity = IntegerField()
|
||||
lastforum = IntegerField()
|
||||
lastip = CharField()
|
||||
lastknownbrowser = TextField(null=True)
|
||||
lastposttime = IntegerField()
|
||||
lasturl = CharField()
|
||||
location = CharField()
|
||||
loggedin = IntegerField()
|
||||
lostkey = CharField()
|
||||
lostkeytimer = IntegerField()
|
||||
minipic = CharField()
|
||||
name = CharField()
|
||||
newcomments = IntegerField()
|
||||
password = CharField()
|
||||
picture = CharField()
|
||||
pluginsettings = TextField(null=True)
|
||||
postheader = TextField(null=True)
|
||||
postplusones = IntegerField()
|
||||
postplusonesgiven = IntegerField()
|
||||
posts = IntegerField()
|
||||
postsperpage = IntegerField()
|
||||
powerlevel = IntegerField()
|
||||
pss = CharField()
|
||||
rankset = CharField()
|
||||
realname = CharField()
|
||||
regdate = IntegerField()
|
||||
sex = IntegerField()
|
||||
showemail = IntegerField()
|
||||
signature = TextField(null=True)
|
||||
signsep = IntegerField()
|
||||
tempbanpl = IntegerField()
|
||||
tempbantime = BigIntegerField()
|
||||
theme = CharField()
|
||||
threadsperpage = IntegerField()
|
||||
timeformat = CharField()
|
||||
timezone = FloatField()
|
||||
title = CharField()
|
||||
usebanners = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'users'
|
||||
|
||||
class Uservotes(BaseModel):
|
||||
uid = IntegerField()
|
||||
up = IntegerField()
|
||||
voter = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'uservotes'
|
||||
|
||||
class WikiPages(BaseModel):
|
||||
flags = IntegerField()
|
||||
id = CharField()
|
||||
revision = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'wiki_pages'
|
||||
|
||||
class WikiPagesText(BaseModel):
|
||||
date = IntegerField()
|
||||
id = CharField()
|
||||
revision = IntegerField()
|
||||
text = TextField(null=True)
|
||||
user = IntegerField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'wiki_pages_text'
|
||||
@@ -0,0 +1,20 @@
|
||||
from flask.ext.sqlalchemy import SQLAlchemy
|
||||
from app import db
|
||||
|
||||
class User(db.Model):
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
steam_id = db.Column(db.String(40), unique=True)
|
||||
nickname = db.Column(db.String(80))
|
||||
avatar = db.Column(db.String(255))
|
||||
|
||||
@staticmethod
|
||||
def get_or_create(steam_id):
|
||||
rv = User.query.filter_by(steam_id=steam_id).first()
|
||||
if rv is None:
|
||||
rv = User()
|
||||
rv.steam_id = steam_id
|
||||
db.session.add(rv)
|
||||
return rv
|
||||
|
||||
def __repr__(self):
|
||||
return '<User {}>'.format(self.steam_id)
|
||||
@@ -0,0 +1,56 @@
|
||||
body {
|
||||
/*background:url("../img/back_pattern.png") repeat fixed 0 0 transparent;*/
|
||||
}
|
||||
#container {
|
||||
width: 80%;
|
||||
margin: 1em auto 6em;
|
||||
}
|
||||
#biglogo {
|
||||
width:75%;
|
||||
}
|
||||
.dark-panel {
|
||||
background: -moz-linear-gradient(center top, #222222 0%, #313331 100%);
|
||||
border: 5px solid #999999;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 2px 5px rgba(0,0,0,0.25);
|
||||
color: #fff;
|
||||
}
|
||||
.uk-navbar-brand > img, .uk-navbar-flip > img {
|
||||
height:35px;
|
||||
}
|
||||
|
||||
footer {
|
||||
width:60%;
|
||||
text-align:center;
|
||||
border-top: 1px solid #999;
|
||||
padding:8px 30px;
|
||||
}
|
||||
|
||||
#ocnav-header {
|
||||
padding-left:22%;
|
||||
color: white;
|
||||
}
|
||||
.uk-nav-side > li.uk-active > a {
|
||||
background-color: #6FAC34;
|
||||
}
|
||||
|
||||
.dn-news-article > .uk-article-title {
|
||||
font-size:26px;
|
||||
}
|
||||
.dn-news-article > .uk-article-title:hover {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
#about-us-more, #less {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.team_logo {
|
||||
border-radius:6px;
|
||||
margin-right: 1em;
|
||||
box-shadow: 0 2px 5px rgba(0,0,0,0.25);
|
||||
}
|
||||
|
||||
.botpad {
|
||||
padding-bottom:80px;
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
.uk-panel.tavern {
|
||||
border-left: 2px solid #CCCCCC;
|
||||
display: inline-block;
|
||||
padding: 2px;
|
||||
}
|
||||
.uk-panel.tavern > img {
|
||||
padding:4px;
|
||||
margin:2px;
|
||||
}
|
||||
#tavernStrength, #tavernAgility, #tavernIntelligence {
|
||||
display:block;
|
||||
background-image:url('http://media.steampowered.com/apps/dota2/images/heropedia/overviewicon_str.png');
|
||||
background-repeat:no-repeat;
|
||||
overflow:visible;
|
||||
text-transform:uppercase;
|
||||
color: rgba(105,211,50,0.75);
|
||||
padding:6px 10px 15px 40px;
|
||||
}
|
||||
#tavernAgility{
|
||||
background-image:url('http://media.steampowered.com/apps/dota2/images/heropedia/overviewicon_agi.png');
|
||||
}
|
||||
#tavernIntelligence{
|
||||
background-image:url('http://media.steampowered.com/apps/dota2/images/heropedia/overviewicon_int.png');
|
||||
}
|
||||
|
||||
.heroIcons {
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
.heroCol {
|
||||
float:left;
|
||||
width:277px;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
.filterMatchedHero {
|
||||
background-color:#000;
|
||||
}
|
||||
.filterUnmatchedHero {
|
||||
filter:alpha(opacity=25);
|
||||
-moz-opacity: .25;
|
||||
opacity: .25;
|
||||
background-color:#000000;
|
||||
cursor:default;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
/*! UIkit 1.0.1 | http://www.getuikit.com | (c) 2013 YOOtheme | MIT License */
|
||||
|
||||
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:Consolas,monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:0;margin:0;padding:0}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}input[type="radio"],input[type="checkbox"]{cursor:pointer}button:disabled,input:disabled{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0}input[type="search"]{-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}::-moz-placeholder{opacity:1}table{border-collapse:collapse;border-spacing:0}html{font-size:14px}body{background:#fff;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;line-height:20px;color:#444}@media(max-width:767px){body{word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;-moz-hyphens:auto;hyphens:auto}}a{text-decoration:none}a:hover{text-decoration:underline}a{color:#07d}a:hover{color:#059}em{color:#d05}ins{background:#ffa;color:#444;text-decoration:none}mark{background:#ffa;color:#444}::-moz-selection{background:#39f;color:#fff;text-shadow:none}::selection{background:#39f;color:#fff;text-shadow:none}abbr[title],dfn[title]{cursor:help}dfn[title]{border-bottom:1px dotted;font-style:normal}img{-moz-box-sizing:border-box;box-sizing:border-box;max-width:100%;height:auto;vertical-align:middle}.uk-img-preserve,.uk-img-preserve img,img[src*="maps.gstatic.com"],img[src*="googleapis.com"]{max-width:none}p,hr,ul,ol,dl,blockquote,pre,address,fieldset,figure{margin:0 0 15px 0}*+p,*+hr,*+ul,*+ol,*+dl,*+blockquote,*+pre,*+address,*+fieldset,*+figure{margin-top:15px}h1,h2,h3,h4,h5,h6{margin:0 0 15px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;color:#444;text-transform:none}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:25px}h1,.uk-h1{font-size:36px;line-height:42px}h2,.uk-h2{font-size:24px;line-height:30px}h3,.uk-h3{font-size:18px;line-height:24px}h4,.uk-h4{font-size:16px;line-height:22px}h5,.uk-h5{font-size:14px;line-height:20px}h6,.uk-h6{font-size:12px;line-height:18px}ul,ol{padding-left:30px}ul>li>ul,ul>li>ol,ol>li>ol,ol>li>ul{margin:0}dt{font-weight:bold}dd{margin-left:0}hr{display:block;padding:0;border:0;border-top:1px solid #ddd}address{font-style:normal}q,blockquote{font-style:italic}blockquote{padding-left:15px;border-left:5px solid #ddd;font-size:16px;line-height:22px}blockquote small{display:block;color:#999;font-style:normal}blockquote p:last-of-type{margin-bottom:5px}code{color:#d05;font-size:12px;white-space:nowrap;padding:0 4px;border:1px solid #ddd;border-radius:3px;background:#fafafa}pre code{color:inherit;white-space:pre-wrap;padding:0;border:0;background:transparent}pre{padding:10px;background:#fafafa;color:#444;font-size:12px;line-height:18px;-moz-tab-size:4;tab-size:4;border:1px solid #ddd;border-radius:3px}button,input:not([type="radio"]):not([type="checkbox"]),select{vertical-align:middle}iframe{border:0}@-ms-viewport{width:device-width}.uk-grid:before,.uk-grid:after{content:" ";display:table}.uk-grid:after{clear:both}.uk-grid{margin:0 0 0 -25px;padding:0;list-style:none}.uk-grid+.uk-grid{margin-top:25px}.uk-grid>[class*='uk-width-']{margin:0;padding-left:25px;float:left}.uk-grid>[class*='uk-width-']>:last-child{margin-bottom:0}.uk-grid>.uk-grid-margin{margin-top:25px}.uk-grid-divider:not(:empty){margin-left:-25px;margin-right:-25px}.uk-grid-divider:not(:empty)>[class*='uk-width-']{padding-left:25px;padding-right:25px}.uk-grid-divider:not(:empty)>[class*='uk-width-1-']:not(.uk-width-1-1):nth-child(n+2),.uk-grid-divider:not(:empty)>[class*='uk-width-2-']:nth-child(n+2),.uk-grid-divider:not(:empty)>[class*='uk-width-3-']:nth-child(n+2),.uk-grid-divider:not(:empty)>[class*='uk-width-4-']:nth-child(n+2),.uk-grid-divider:not(:empty)>[class*='uk-width-5-']:nth-child(n+2),.uk-grid-divider:not(:empty)>[claLine truncated
|
||||
@@ -0,0 +1,3 @@
|
||||
/*! UIkit 1.0.1 | http://www.getuikit.com | (c) 2013 YOOtheme | MIT License */
|
||||
|
||||
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:Consolas,monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:0;margin:0;padding:0}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}input[type="radio"],input[type="checkbox"]{cursor:pointer}button:disabled,input:disabled{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0}input[type="search"]{-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}::-moz-placeholder{opacity:1}table{border-collapse:collapse;border-spacing:0}html{font-size:14px}body{background:#fff;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;line-height:20px;color:#444;background-image:-webkit-radial-gradient(100% 100%,center,#fff,#fff);background-image:radial-gradient(100% 100% at center,#fff,#fff)}@media(max-width:767px){body{word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;-moz-hyphens:auto;hyphens:auto}}a{text-decoration:none}a:hover{text-decoration:underline}a{color:#07d}a:hover{color:#059}em{color:#d05}ins{background:#ffa;color:#444;text-decoration:none}mark{background:#ffa;color:#444}::-moz-selection{background:#39f;color:#fff;text-shadow:none}::selection{background:#39f;color:#fff;text-shadow:none}abbr[title],dfn[title]{cursor:help}dfn[title]{border-bottom:1px dotted;font-style:normal}img{-moz-box-sizing:border-box;box-sizing:border-box;max-width:100%;height:auto;vertical-align:middle}.uk-img-preserve,.uk-img-preserve img,img[src*="maps.gstatic.com"],img[src*="googleapis.com"]{max-width:none}p,hr,ul,ol,dl,blockquote,pre,address,fieldset,figure{margin:0 0 15px 0}*+p,*+hr,*+ul,*+ol,*+dl,*+blockquote,*+pre,*+address,*+fieldset,*+figure{margin-top:15px}h1,h2,h3,h4,h5,h6{margin:0 0 15px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;color:#444;text-transform:none}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:25px}h1,.uk-h1{font-size:36px;line-height:42px}h2,.uk-h2{font-size:24px;line-height:30px}h3,.uk-h3{font-size:18px;line-height:24px}h4,.uk-h4{font-size:16px;line-height:22px}h5,.uk-h5{font-size:14px;line-height:20px}h6,.uk-h6{font-size:12px;line-height:18px}ul,ol{padding-left:30px}ul>li>ul,ul>li>ol,ol>li>ol,ol>li>ul{margin:0}dt{font-weight:bold}dd{margin-left:0}hr{display:block;padding:0;border:0;border-top:1px solid #ddd}address{font-style:normal}q,blockquote{font-style:italic}blockquote{padding-left:15px;border-left:5px solid #ddd;font-size:16px;line-height:22px}blockquote small{display:block;color:#999;font-style:normal}blockquote p:last-of-type{margin-bottom:5px}code{color:#d05;font-size:12px;white-space:nowrap;padding:0 4px;border:1px solid #ddd;border-radius:3px;background:#fafafa}pre code{color:inherit;white-space:pre-wrap;padding:0;border:0;background:transparent}pre{padding:10px;background:#fafafa;color:#444;font-size:12px;line-height:18px;-moz-tab-size:4;tab-size:4;border:1px solid #ddd;border-radius:3px}button,input:not([type="radio"]):not([type="checkbox"]),select{vertical-align:middle}iframe{border:0}@-ms-viewport{width:device-width}.uk-grid:before,.uk-grid:after{content:" ";display:table}.uk-grid:after{clear:both}.uk-grid{margin:0 0 0 -25px;padding:0;list-style:none}.uk-grid+.uk-grid{margin-top:25px}.uk-grid>[class*='uk-width-']{margin:0;padding-left:25px;float:left}.uk-grid>[class*='uk-width-']>:last-child{margin-bottom:0}.uk-grid>.uk-grid-margin{margin-top:25px}.uk-grid-divider:not(:empty){margin-left:-25px;margin-right:-25px}.uk-grid-divider:not(:empty)>[class*='uk-width-']{padding-left:25px;padding-right:25px}.uk-grid-divider:not(:empty)>[class*='uk-width-1-']:not(.uk-width-1-1):nth-child(n+2),.uk-grid-divider:not(:empty)>[class*='uk-width-2-']:nth-child(n+2),.uk-grid-divider:not(:empty)>[class*='uk-width-3-']:nth-child(n+2),.uk-grid-divider:not(:empty)>[clasLine truncated
|
||||
@@ -0,0 +1,3 @@
|
||||
/*! UIkit 1.0.1 | http://www.getuikit.com | (c) 2013 YOOtheme | MIT License */
|
||||
|
||||
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:Consolas,monospace,serif;font-size:1em}pre{white-space:pre-wrap}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{border:0;margin:0;padding:0}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}input[type="radio"],input[type="checkbox"]{cursor:pointer}button:disabled,input:disabled{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0}input[type="search"]{-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}::-moz-placeholder{opacity:1}table{border-collapse:collapse;border-spacing:0}html{font-size:14px}body{background:#fff;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;line-height:20px;color:#444}@media(max-width:767px){body{word-wrap:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;-moz-hyphens:auto;hyphens:auto}}a{text-decoration:none}a:hover{text-decoration:underline}a{color:#07d}a:hover{color:#059}em{color:#d05}ins{background:#ffa;color:#444;text-decoration:none}mark{background:#ffa;color:#444}::-moz-selection{background:#39f;color:#fff;text-shadow:none}::selection{background:#39f;color:#fff;text-shadow:none}abbr[title],dfn[title]{cursor:help}dfn[title]{border-bottom:1px dotted;font-style:normal}img{-moz-box-sizing:border-box;box-sizing:border-box;max-width:100%;height:auto;vertical-align:middle}.uk-img-preserve,.uk-img-preserve img,img[src*="maps.gstatic.com"],img[src*="googleapis.com"]{max-width:none}p,hr,ul,ol,dl,blockquote,pre,address,fieldset,figure{margin:0 0 15px 0}*+p,*+hr,*+ul,*+ol,*+dl,*+blockquote,*+pre,*+address,*+fieldset,*+figure{margin-top:15px}h1,h2,h3,h4,h5,h6{margin:0 0 15px 0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:normal;color:#444;text-transform:none}*+h1,*+h2,*+h3,*+h4,*+h5,*+h6{margin-top:25px}h1,.uk-h1{font-size:36px;line-height:42px}h2,.uk-h2{font-size:24px;line-height:30px}h3,.uk-h3{font-size:18px;line-height:24px}h4,.uk-h4{font-size:16px;line-height:22px}h5,.uk-h5{font-size:14px;line-height:20px}h6,.uk-h6{font-size:12px;line-height:18px}ul,ol{padding-left:30px}ul>li>ul,ul>li>ol,ol>li>ol,ol>li>ul{margin:0}dt{font-weight:bold}dd{margin-left:0}hr{display:block;padding:0;border:0;border-top:1px solid #ddd}address{font-style:normal}q,blockquote{font-style:italic}blockquote{padding-left:15px;border-left:5px solid #ddd;font-size:16px;line-height:22px}blockquote small{display:block;color:#999;font-style:normal}blockquote p:last-of-type{margin-bottom:5px}code{color:#d05;font-size:12px;white-space:nowrap}pre code{color:inherit;white-space:pre-wrap}pre{padding:10px;background:#f5f5f5;color:#444;font-size:12px;line-height:18px;-moz-tab-size:4;tab-size:4}button,input:not([type="radio"]):not([type="checkbox"]),select{vertical-align:middle}iframe{border:0}@-ms-viewport{width:device-width}.uk-grid:before,.uk-grid:after{content:" ";display:table}.uk-grid:after{clear:both}.uk-grid{margin:0 0 0 -25px;padding:0;list-style:none}.uk-grid+.uk-grid{margin-top:25px}.uk-grid>[class*='uk-width-']{margin:0;padding-left:25px;float:left}.uk-grid>[class*='uk-width-']>:last-child{margin-bottom:0}.uk-grid>.uk-grid-margin{margin-top:25px}.uk-grid-divider:not(:empty){margin-left:-25px;margin-right:-25px}.uk-grid-divider:not(:empty)>[class*='uk-width-']{padding-left:25px;padding-right:25px}.uk-grid-divider:not(:empty)>[class*='uk-width-1-']:not(.uk-width-1-1):nth-child(n+2),.uk-grid-divider:not(:empty)>[class*='uk-width-2-']:nth-child(n+2),.uk-grid-divider:not(:empty)>[class*='uk-width-3-']:nth-child(n+2),.uk-grid-divider:not(:empty)>[class*='uk-width-4-']:nth-child(n+2),.uk-grid-divider:not(:empty)>[class*='uk-width-5-']:nth-child(n+2),.uk-grid-divider:not(:empty)>[class*='uk-width-6-']:nth-child(n+2),.uk-grid-divider:not(:empty)>[class*='uk-width-7-']:nth-child(n+2),.uk-grid-divider:not(:empty)>[class*='uk-width-8-']:ntLine truncated
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 424 B |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 53 KiB |
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 42 KiB |
|
After Width: | Height: | Size: 9.9 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 44 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 44 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 10 KiB |