|
8 | 8 | {{ key }}
|
9 | 9 | </div>
|
10 | 10 | </div>
|
11 |
| - <div class="row"> |
12 |
| - <div class="btn-group btn-group-xs btn-group-justified" role="group"> |
13 |
| - <div class="btn-group btn-group-xs" role="group"> |
14 |
| - {% if entry.abstract %} |
15 |
| - <button class="button" data-toggle="modal" data-target="#modal{{ key }}Abstract" aria-expanded="false" |
16 |
| - aria-controls="modal{{ key }}Abstract"> |
17 |
| - Abstract |
18 |
| - </button> |
19 |
| - {% else %} |
20 |
| - <button class="button" disabled="disabled" data-toggle="modal" data-target="#modal{{ key }}Abstract" |
21 |
| - aria-expanded="false" aria-controls="modal{{ key }}Abstract"> |
22 |
| - Abstract |
23 |
| - </button> |
24 |
| - {% endif %} |
25 |
| - </div> |
26 |
| - </div> |
27 |
| - </div> |
28 | 11 | </div>
|
29 | 12 |
|
30 | 13 | <div class="bibtex-ref-entry">
|
31 | 14 | {{ reference | trim_ieee_citation }}
|
32 | 15 | </div>
|
| 16 | + |
| 17 | + |
| 18 | + <div class="row mt-4"> |
| 19 | + <div class="btn-group btn-group-xs btn-group-justified" role="group"> |
| 20 | + <div class="btn-group btn-group-xs" role="group"> |
| 21 | + {% if entry.bibtex %} |
| 22 | + <button class="button" data-toggle="modal" data-target="#modal{{ key }}Bibtex" aria-expanded="false" |
| 23 | + aria-controls="modal{{ key }}Bibtex"> |
| 24 | + BibTeX |
| 25 | + </button> |
| 26 | + {% else %} |
| 27 | + <button class="button" disabled="disabled" data-toggle="modal" data-target="#modal{{ key }}Bibtex" |
| 28 | + aria-expanded="false" aria-controls="modal{{ key }}Bibtex"> |
| 29 | + BibTeX |
| 30 | + </button> |
| 31 | + {% endif %} |
| 32 | + </div> |
| 33 | + <div class="btn-group btn-group-xs" role="group"> |
| 34 | + {% if entry.abstract %} |
| 35 | + <button class="button" data-toggle="modal" data-target="#modal{{ key }}Abstract" aria-expanded="false" |
| 36 | + aria-controls="modal{{ key }}Abstract"> |
| 37 | + Abstract |
| 38 | + </button> |
| 39 | + {% else %} |
| 40 | + <button class="button" disabled="disabled" data-toggle="modal" data-target="#modal{{ key }}Abstract" |
| 41 | + aria-expanded="false" aria-controls="modal{{ key }}Abstract"> |
| 42 | + Abstract |
| 43 | + </button> |
| 44 | + {% endif %} |
| 45 | + </div> |
| 46 | + </div> |
| 47 | + </div> |
33 | 48 | </div>
|
34 |
| - <div class="collapse" id="collapse{{ key }}Bibtex"> |
35 |
| - <div class="row"> |
36 |
| - <div class="col-md-12"> |
37 |
| - <pre class="abstract">{{ entry.bibtex }}</pre> |
| 49 | + {% if entry.bibtex %} |
| 50 | + <div class="modal" id="modal{{ key }}Bibtex" tabindex="-1" role="dialog" |
| 51 | + aria-labelledby="modal{{ key }}BibtexTitle" aria-hidden="true"> |
| 52 | + <div class="modal-background"> |
| 53 | + <div class="modal-card"> |
| 54 | + <div class="modal-content"> |
| 55 | + <header class="modal-card-head"> |
| 56 | + <div class="modal-card-head-content"> |
| 57 | + <div> |
| 58 | + <p class="modal-card-title" id="modal{{ key }}BibtexTitle"> |
| 59 | + BibTeX entry <code>{{ key }}</code> |
| 60 | + </p> |
| 61 | + </div> |
| 62 | + <button type="button" class="delete" data-dismiss="modal" aria-label="Close"><span |
| 63 | + aria-hidden="true">×</span></button> |
| 64 | + </div> |
| 65 | + </header> |
| 66 | + <section class="modal-card-body"> |
| 67 | + <pre class="abstract">{{ entry.bibtex }}</pre> |
| 68 | + </section> |
| 69 | + </div> |
38 | 70 | </div>
|
39 | 71 | </div>
|
40 | 72 | </div>
|
| 73 | + {% endif %} |
41 | 74 | {% if entry.abstract %}
|
42 | 75 | <div class="modal" id="modal{{ key }}Abstract" tabindex="-1" role="dialog"
|
43 |
| - aria-labelledby="modal{{ key }}AbstractTitle" aria-hidden="true"> |
| 76 | + aria-labelledby="modal{{ key }}AbstractTitle" aria-hidden="true"> |
44 | 77 | <div class="modal-background">
|
45 | 78 | <div class="modal-card">
|
46 | 79 | <div class="modal-content">
|
|
52 | 85 | </p>
|
53 | 86 | </div>
|
54 | 87 | <button type="button" class="delete" data-dismiss="modal" aria-label="Close"><span
|
55 |
| - aria-hidden="true">×</span></button> |
| 88 | + aria-hidden="true">×</span></button> |
56 | 89 | </div>
|
57 | 90 | </header>
|
58 | 91 | <section class="modal-card-body">
|
|
0 commit comments