Ignore:
Timestamp:
8 Jan 2012, 15:53:12 (13 years ago)
Author:
Henrik Bettermann
Message:

Backup local changes in branch (work in progress, not yet presentable).

Location:
main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/browser_templates/fileupload.pt

    r7319 r7442  
    2121             tal:attributes="id python:('delete_%s' % viewlet.input_name);
    2222                name python:('delete_%s' % viewlet.input_name)"
    23              value="Delete attachment" class="button" />
     23             value="Delete attachment" class="btn" />
    2424      <input type="submit"
    2525               tal:attributes="id python:('upload_%s' % viewlet.input_name);
    2626                  name python:('upload_%s' % viewlet.input_name)"
    27                value="Upload new file" class="button" />
     27               value="Upload new file" class="btn" />
    2828      <span i18n:translate="">
    2929        Max. file size:
  • main/waeup.sirp/branches/henrik-bootstrap/src/waeup/sirp/students/viewlets.py

    r7366 r7442  
    5757    def render(self):
    5858        url = self.view.url(self.context.getStudent(), self.link)
    59         return u'<div class="portlet"><a href="%s">%s</a></div>' % (
     59        return u'<li><a href="%s">%s</a></li>' % (
    6060                url, self.text)
    6161
     
    7575        if slip:
    7676            url = self.view.url(self.context,self.link)
    77             return u'<div class="portlet"><a href="%s">%s</a></div>' % (
     77            return u'<li"><a href="%s">%s</a></li>' % (
    7878                    url, self.text)
    7979        return ''
Note: See TracChangeset for help on using the changeset viewer.