Changeset 9839 for main


Ignore:
Timestamp:
7 Jan 2013, 11:21:23 (12 years ago)
Author:
Henrik Bettermann
Message:

Add filter column. Align buttons.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r9837 r9839  
    207207        exporter_title = getattr(exporter, 'title', 'Unknown')
    208208        args = ', '.join([str(x) for x in job.kwargs.values()])
    209         descr = '%s <br> (%s)' % (exporter_title, args)
    210209        status = job.finished and 'ready' or 'running'
    211210        status = job.failed and 'FAILED' or status
     
    219218        new_entry = dict(
    220219            job=job_id,
    221             descr=descr,
    222220            creator=user_id,
     221            args=args,
     222            exporter=exporter_title,
    223223            status=status,
    224224            start_time=start_time,
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/static/waeup-base.css

    r9415 r9839  
    9898  padding-right: 8px;
    9999  padding-top: 4px;
     100  text-align: center;
     101}
     102
     103.btn.small {
     104    font-size: 11px;
     105    padding: 4px 6px;
     106    width: 50px;
    100107}
    101108
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/datacenterexportpage.pt

    r9836 r9839  
    4343    <tr>
    4444      <th i18n:translate="">Export Number</th>
    45       <th i18n:translate="">Description</th>
     45      <th i18n:translate="">Exporter</th>
     46      <th i18n:translate="">Filter</th>
    4647      <th i18n:translate="">Creator</th>
    4748      <th i18n:translate="">Creation Date</th>
     
    5657      </td>
    5758      <td>
    58         <span tal:replace="structure job/descr">DESCRIPTION</span>
     59        <span tal:replace="structure job/exporter">EXPORTER</span>
     60      </td>
     61      <td>
     62        <span tal:replace="structure job/args">ARGS</span>
    5963      </td>
    6064      <td>
     
    6872      </td>
    6973      <td nowrap>
    70         <a href="" class="btn" i18n:translate=""
     74        <a href="" class="btn small" i18n:translate=""
    7175           tal:condition="job/show_refresh_button">
    7276          <img tal:attributes="src static/actionicon_reload.png" />
    7377          Reload
    7478        </a>
    75         <a href="" class="btn primary"
    76                tal:attributes="href job/download_url"
    77                tal:condition="job/show_download_button">
    78           Download</a>
    7979        <form method="POST">
     80          <a href="" class="btn primary small"
     81                 tal:attributes="href job/download_url"
     82                 tal:condition="job/show_download_button">
     83            Download</a>
     84
    8085          <input type="hidden" name="job_id"
    8186                 tal:attributes="value job/job" />
    82           <input type="submit" class="btn secondary"
     87          <input type="submit" class="btn small"
    8388                 name="DISCARD" value="Discard"
    8489                 tal:condition="job/show_discard_button" />
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/exportjobsindex.pt

    r9822 r9839  
    33    <tr>
    44      <th i18n:translate="">Export Number</th>
    5       <th i18n:translate="">Description</th>
     5      <th i18n:translate="">Exporter</th>
     6      <th i18n:translate="">Filter</th>
    67      <th i18n:translate="">Creator</th>
    78      <th i18n:translate="">Creation Date</th>
     
    1617      </td>
    1718      <td>
    18         <span tal:replace="structure job/descr">DESCRIPTION</span>
     19        <span tal:replace="structure job/exporter">EXPORTER</span>
     20      </td>
     21      <td>
     22        <span tal:replace="structure job/args">ARGS</span>
    1923      </td>
    2024      <td>
     
    3337          Reload
    3438        </a>
    35         <a href="" class="btn primary"
    36                tal:attributes="href job/download_url"
    37                tal:condition="job/show_download_button">
    38           Download</a>
     39
    3940        <form method="POST">
     41          <a href="" class="btn primary small"
     42                 tal:attributes="href job/download_url"
     43                 tal:condition="job/show_download_button">
     44            Download</a>
     45
    4046          <input type="hidden" name="job_id"
    4147                 tal:attributes="value job/job" />
    42           <input type="submit" class="btn secondary"
     48          <input type="submit" class="btn small"
    4349                 name="DISCARD" value="Discard"
    4450                 tal:condition="job/show_discard_button" />
Note: See TracChangeset for help on using the changeset viewer.