Fixing admin table colors & some PEPify

This commit is contained in:
Adolfo Gómez García 2014-11-09 00:24:46 +01:00
parent 727f455e99
commit 8ccf48564a
2 changed files with 27 additions and 25 deletions

View File

@ -105,10 +105,10 @@ div.dataTables_scrollFoot table {
color: white;
}
.table-striped > tbody > tr:nth-child(2n+1) > td { background-color: #d9edf7; }
.table-striped > tbody > tr:nth-child(2n) > td { background-color: white; }
.table-striped > tbody > tr:nth-child(2n+1) > td { background-color: #606060; color: #F0F0F0; }
.table-striped > tbody > tr:nth-child(2n) > td { background-color: white; color: #000000;}
.table-striped > tbody > tr:nth-child(2n+1) > td.sorting_1 { background-color: #b3dbef; }
.table-striped > tbody > tr:nth-child(2n+1) > td.sorting_1 { background-color: #505050; color: #FFFFFF; }
.table-striped > tbody > tr:nth-child(2n) > td.sorting_1 { background-color: #F5F5F5; }

View File

@ -41,12 +41,14 @@ The registration of modules is done locating subclases of :py:class:`uds.core.au
.. moduleauthor:: Adolfo Gómez, dkmaster at dkmon dot com
'''
def __init__():
'''
This imports all packages that are descendant of this package, and, after that,
it register all subclases of service provider as
'''
import os.path, pkgutil
import os.path
import pkgutil
import sys
from uds.core import transports