I use djangocms-table <https://github.com/divio/djangocms-table>. And this 
plugin return

    <div class="container">
      <h2>Tabela exemplo</h2>
      <table>
        <tr>
          <td>2</td>
          <td>3</td>
          <td>5</td>
          <td>8</td>
          <td></td>
        </tr>
        <tr>
          <td>a</td>
          <td>b</td>
          <td>c</td>
          <td>d</td>
          <td>e</td>
        </tr>
        <tr>
          <td>f</td>
          <td>g</td>
          <td>h</td>
          <td>i</td>
          <td>j</td>
        </tr>
      </table>
    </div>


But i need with Bootstrap style. I need

<div class="table-responsive">
  <table border="0" align="center" class="table table-striped" style="max-
width: 600px">
    <tr>
      <td align="center">&nbsp;</td>
      <td align="center"><strong>2<br></strong></td>
      <td align="center"><strong>3<br></strong></td>
      <td align="center"><strong>5<br></strong></td>
      <td align="center"><strong>8<br></strong></td>
    </tr>
    <tr>
      <td align="center">a<br></td>
      <td align="center">b<br></td>
      <td align="center">c<br></td>
      <td align="center">d<br></td>
      <td align="center">e<br></td>
    </tr>
    <tr>
      <td align="center">f<br></td>
      <td align="center">g<br></td>
      <td align="center">h<br></td>
      <td align="center">i<br></td>
      <td align="center">j<br></td>
    </tr>
  </table>
</div>

I'm not talking to insert the CSS properly, but extend the plugin so that 
it returns this bootstrap style.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e0b99e1a-173d-4c8e-9ec2-ee920931d244%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to