diff options
| -rw-r--r-- | archaeological_operations/forms.py | 3 | ||||
| -rw-r--r-- | archaeological_operations/views.py | 2 | ||||
| -rw-r--r-- | ishtar_common/static/media/style.css | 4 | 
3 files changed, 5 insertions, 4 deletions
| diff --git a/archaeological_operations/forms.py b/archaeological_operations/forms.py index f8aafb362..d10019aa8 100644 --- a/archaeological_operations/forms.py +++ b/archaeological_operations/forms.py @@ -396,9 +396,6 @@ class OperationFormGeneral(forms.Form):  class OperationFormModifGeneral(OperationFormGeneral):      operation_code = forms.IntegerField(label=_(u"Operation code"),                          initial=models.Operation.get_available_operation_code) -    def __init__(self, *args, **kwargs): -        super(OperationFormGeneral, self).__init__(*args, **kwargs) -        self.fields['operation_code'].widget.attrs['readonly'] = True  class OperationFormPreventive(forms.Form):      form_label = _(u"Preventive informations - excavation") diff --git a/archaeological_operations/views.py b/archaeological_operations/views.py index b0676b45c..1f698b4e1 100644 --- a/archaeological_operations/views.py +++ b/archaeological_operations/views.py @@ -1,6 +1,6 @@  #!/usr/bin/env python  # -*- coding: utf-8 -*- -# Copyright (C) 2010-2013  Étienne Loks  <etienne.loks_AT_peacefrogsDOTnet> +# Copyright (C) 2010-2014  Étienne Loks  <etienne.loks_AT_peacefrogsDOTnet>  # This program is free software: you can redistribute it and/or modify  # it under the terms of the GNU Affero General Public License as diff --git a/ishtar_common/static/media/style.css b/ishtar_common/static/media/style.css index bbd14dd99..be86d84cb 100644 --- a/ishtar_common/static/media/style.css +++ b/ishtar_common/static/media/style.css @@ -82,6 +82,10 @@ h3{      margin:1em 0 0.5em 0;  } +select{ +    max-width:550px; +} +  /*label{display:block}*/  label:first-letter { | 
