simplify css style
authorJulien Jehannet <julien.jehannet@logilab.fr>
Wed, 11 Feb 2009 16:46:18 +0100
changeset 852 105893288777
parent 851 33957ff2b790
child 853 4f6cd02bd71f
simplify css style
web/views/basetemplates.py
web/views/bookmark.py
web/views/boxes.py
--- a/web/views/basetemplates.py	Wed Feb 11 16:41:19 2009 +0100
+++ b/web/views/basetemplates.py	Wed Feb 11 16:46:18 2009 +0100
@@ -56,8 +56,9 @@
     title = 'logged out'
 
     def content(self, w):
+        # FIXME Deprecated code ?
         msg = self.req._('you have been logged out')
-        w(u'<h1 class="noborder">%s</h1>\n' % msg)
+        w(u'<h2>%s</h2>\n' % msg)
         if self.config['anonymous-user']:
             indexurl = self.build_url('view', vid='index', __message=msg)
             w(u'<p><a href="%s">%s</a><p>' % (
--- a/web/views/bookmark.py	Wed Feb 11 16:41:19 2009 +0100
+++ b/web/views/bookmark.py	Wed Feb 11 16:46:18 2009 +0100
@@ -68,9 +68,9 @@
                 dlink = u'[<a href="javascript:removeBookmark(%s)" title="%s">-</a>]' % (
                     bookmark.eid, _('delete this bookmark'))
                 label = '%s %s' % (dlink, label)
-            box.append(RawBoxItem(label, liclass=u'invisible'))
+            box.append(RawBoxItem(label))
         if eschema.has_perm(req, 'add') and rschema.has_perm(req, 'add', toeid=ueid):
-            boxmenu = BoxMenu(req._('manage bookmarks'), liclass=u'invisible')
+            boxmenu = BoxMenu(req._('manage bookmarks'))
             linkto = 'bookmarked_by:%s:subject' % ueid
             # use a relative path so that we can move the application without
             # loosing bookmarks
--- a/web/views/boxes.py	Wed Feb 11 16:41:19 2009 +0100
+++ b/web/views/boxes.py	Wed Feb 11 16:46:18 2009 +0100
@@ -143,7 +143,7 @@
 <input type="hidden" name="__fromsearchbox" value="1" />
 <input type="hidden" name="subvid" value="tsearch" />
 </td><td>
-<input tabindex="%s" type="submit" id="rqlboxsubmit" value="" />
+<input tabindex="%s" type="submit" id="rqlboxsubmit" class="rqlsubmit" value="" />
 </td></tr></table>
 </form>"""