summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornavanchauhan <navanchauhan@gmail.com>2022-10-17 00:05:18 -0600
committernavanchauhan <navanchauhan@gmail.com>2022-10-17 00:05:18 -0600
commit652115908a85013264faf9041f1e63d06d52e50e (patch)
treed91ec5177942a2094bf23d11f39aafa7df4f9bb9
parent18f922f1d9e7307003bc7c4e904e8e02b6193d31 (diff)
made responsive with card class
-rw-r--r--templates/search_results.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/search_results.html b/templates/search_results.html
index 4f6b46c..ad9c19f 100644
--- a/templates/search_results.html
+++ b/templates/search_results.html
@@ -44,7 +44,7 @@
<div class="card mb-4">
<header class="card-header">
<p class="card-header-title">
- {{.applicant}} - <a href="https://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfPMN/pmn.cfm?ID={{.id}}">{{ .id }}</a></p>
+ {{.applicant}}&nbsp;<a href="https://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfPMN/pmn.cfm?ID={{.id}}">{{ .id }}</a></p>
</header>
<div class="card-content">
<div class="media">
@@ -58,10 +58,11 @@
</div>
<footer class="card-footer">
<div class="card-footer-item">
+ <p class="content">
{{ range .predicates}}
- <a href="https://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfPMN/pmn.cfm?ID={{.}}" >{{ . }}</a>
+ <a href="https://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfPMN/pmn.cfm?ID={{.}}">{{ . }}</a>&#32;
{{ end }}
- </div>
+ </p></div>
</footer>
</div>
{{ end }}