aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/pubmed_modal.html
blob: f1bb05cb367a9c9b84961c4e5470edaa6a16789a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<style type="text/css">
	
	 .collapsible-btn:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: white;
  float: right;
  margin-left: 5px;
}

.active-btn, .collapsible-btn:hover {
  background-color: #ccc;
}



.active-btn:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}



</style>
<div>
            <div class="modal fade  bd-pubmed-modal-lg-{{reference.doc_id}} " id="pubmedModal-{{reference.doc_id}}" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel-{{reference.doc_id}}" aria-hidden="true">
  <div class="modal-dialog modal-lg" role="document" >
    <div class="modal-content">
      <div class="modal-header">
        
        <div style='line-height:2.6rem;line-height: 1.4;font-weight: 700;font-family: "Merriweather","Georgia","Cambria","Times New Roman","Times",serif;'>
            
        <h2 class="modal-title" id="pubmedModalLabel-{{reference.doc_id}}" style="font-weight: bold">{{reference.pubmed[0].get('title')}}</h2>
        </div>
         


        <div>
        	<p style="margin: 12px;">
        <span><b>Authors:</b></span>
		  <button class="btn btn-primary collapsible-btn" type="button" data-toggle="collapse" data-target="#collapseExample-{{reference.doc_id}}" aria-expanded="false" aria-controls="collapseExample-{{reference.doc_id}}" style="color:white;">
		    Expand
		  </button>
		</p>
		<div class="collapse" id="collapseExample-{{reference.doc_id}}">
		        <div style="color:#0071bc; padding: 15px;" class="card card-body">
		            {{reference.pubmed[0].get('authors')}}
		        </div>
		</div>

        </div>

        <h3 style="font-weight: bold;"> PMID:{{reference.pubmed[0].get('pub_id')}}</h3>

      </div>
            <div class="modal-body">
         <h3 style="font-weight:bold"> 
            Abstract 
         </h3>
   <div style="font-size:1.7rem;padding: 0 2rem;margin: 0 auto;" class="pubmed-abstract">
        <div >{{reference.pubmed[0].get('abstract')|safe}}

        </div>           
      
   </div> 
      </div>
      <div class="modal-footer" style="font-weight:bold;text-decoration: underline;">
        <a href="{{reference.pubmed[0].get('source')}}" target="_blank" style="float:left;">See full Article on Pubmed</a>
     </div>
    </div>
  </div>
</div>
</div>