Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve web cv #5

Closed
bamos opened this issue Dec 8, 2014 · 1 comment
Closed

Improve web cv #5

bamos opened this issue Dec 8, 2014 · 1 comment

Comments

@bamos
Copy link
Owner

bamos commented Dec 8, 2014

No description provided.

@bamos
Copy link
Owner Author

bamos commented Dec 20, 2014

Collapse items. Current problem is that markdown isn't parsed inside of the blocks.

<div class="panel-group" id="accordion" role="tablist"
     aria-multiselectable="false">

  ~{ for n in contents }~
  <div class="panel panel-default">
    <div class="panel-heading" role="tab" id="heading~{{loop.index}}~">
      <h4 class="panel-title">
        <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapse~{{loop.index}}~" aria-expanded="false" aria-controls="collapse~{{loop.index}}~">
          <b>~{{n.place}}~</b>: ~{{n.title}}~
        </a>
      </h4>
    </div>
    <div id="collapse~{{loop.index}}~" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading~{{loop.index}}~">
      <div class="panel-body">
        <ul>
          <li> ~{{n.location}}~
          ~{ if n.advisor -}~
          &#124; Advisor: ~{{n.advisor}}~
          ~{ endif -}~
          &#124; ~{{n.dates}}~
          </li>
          ~{- if n.details -}~
          ~{- for detail in n.details }~
          <li>~{{detail}}~</li>
          ~{- endfor }~
          ~{- endif -}~
        </ul>
      </div>
    </div>
  </div>
  ~{ endfor }~
</div>

@bamos bamos closed this as completed in 1706622 Dec 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant