diff --git a/fas/fas/controllers.py b/fas/fas/controllers.py index f9eaff7..9cebfd5 100644 --- a/fas/fas/controllers.py +++ b/fas/fas/controllers.py @@ -45,7 +45,7 @@ class newPerson(widgets.WidgetsList): # cn = widgets.TextField(label='Username', validator=validators.PlainText(not_empty=True, max=10)) cn = widgets.TextField(label=_('Username'), validator=validators.All(knownUser(not_empty=True, max=10), validators.String(max=32, min=3))) givenName = widgets.TextField(label=_('Full Name'), validator=validators.String(not_empty=True, max=42)) - mail = widgets.TextField(label=_('email'), validator=validators.Email(not_empty=True, strip=True)) + mail = widgets.TextField(label=_('Email'), validator=validators.Email(not_empty=True, strip=True)) telephoneNumber = widgets.TextField(label=_('Telephone Number'), validator=validators.PhoneNumber(not_empty=True)) postalAddress = widgets.TextArea(label=_('Postal Address'), validator=validators.NotEmpty) diff --git a/fas/fas/fasLDAP.py b/fas/fas/fasLDAP.py index 75851e0..5f661ca 100644 --- a/fas/fas/fasLDAP.py +++ b/fas/fas/fasLDAP.py @@ -457,7 +457,7 @@ def delete(base, ldapServer=None): s = Server() ldapServer = s.ldapConn - ldapServer.simple_bind_s('cn=directory manager', 'fedoraproject') + ldapServer.simple_bind_s('cn=directory manager', 'test') print "Deleteing %s " % base ldapServer.delete_s(base) @@ -468,7 +468,7 @@ def add(base, attributes, ldapServer=None): ldapServer = s.ldapConn attributes=[ (k,v) for k,v in attributes.items() ] - ldapServer.simple_bind_s('cn=directory manager', 'fedoraproject') + ldapServer.simple_bind_s('cn=directory manager', 'test') ldapServer.add_s(base, attributes) def modify(base, attribute, new, old=None, ldapServer=None): @@ -481,7 +481,7 @@ def modify(base, attribute, new, old=None, ldapServer=None): ldapServer = s.ldapConn from ldap import modlist - ldapServer.simple_bind_s('cn=directory manager', 'fedoraproject') + ldapServer.simple_bind_s('cn=directory manager', 'test') if old == None: old = 'None' @@ -505,7 +505,7 @@ def search(base, filter, attributes=None, ldapServer=None): scope = ldap.SCOPE_SUBTREE count = 0 timeout = 2 - ldapServer.simple_bind_s('cn=directory manager', 'fedoraproject') + ldapServer.simple_bind_s('cn=directory manager', 'test') result_set = [] try: result_id = ldapServer.search(base, scope, filter, attributes) diff --git a/fas/fas/feeds.py b/fas/fas/feeds.py index f758bdb..93a64c8 100644 --- a/fas/fas/feeds.py +++ b/fas/fas/feeds.py @@ -3,7 +3,7 @@ from xml.dom import minidom class Koji: - def __init__(self, userName, url='http://publictest8.fedora.redhat.com/koji/recentbuilds?user='): + def __init__(self, userName, url='http://publictest8/koji/recentbuilds?user='): buildFeed = minidom.parse(urllib.urlopen(url + userName)) try: self.userLink = buildFeed.getElementsByTagName('link')[0].childNodes[0].data diff --git a/fas/fas/static/css/style.css b/fas/fas/static/css/style.css index 69ba0e3..42ec9fc 100644 --- a/fas/fas/static/css/style.css +++ b/fas/fas/static/css/style.css @@ -203,7 +203,6 @@ a #content h3 { font-size: 2.2ex; - border-bottom: 1px solid #C0C0C0; margin-bottom: 0.25ex; } @@ -411,16 +410,17 @@ pre form ul { list-style: none; + margin: 1ex 0!important; } -form li +form ul li { margin: 0 0 1ex; text-align: left; - overflow: auto; + overflow: hidden; } -form li label +form ul label { float: left; clear: left; @@ -430,7 +430,7 @@ form li label padding: 0 2ex 0 0; } -form li input, form li textarea +form ul input, form ul textarea { margin: 0; } diff --git a/fas/fas/templates/dump.kid b/fas/fas/templates/dump.kid index be628d7..26a1308 100644 --- a/fas/fas/templates/dump.kid +++ b/fas/fas/templates/dump.kid @@ -1,7 +1,7 @@ - - -
-