diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/document_details.html | 8 | ||||
-rw-r--r-- | templates/home.html | 6 | ||||
-rw-r--r-- | templates/search.gtpl | 2 | ||||
-rw-r--r-- | templates/search_results.html | 6 |
4 files changed, 11 insertions, 11 deletions
diff --git a/templates/document_details.html b/templates/document_details.html index ea83539..a078e46 100644 --- a/templates/document_details.html +++ b/templates/document_details.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>{{.SearchResults.id}} - DogeKnows</title> + <title>{{.SearchResults.id}} - {{.GlobalVars.Name}}</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css"> <script src="https://kit.fontawesome.com/32c297b57b.js" crossorigin="anonymous"></script> </head> @@ -22,7 +22,7 @@ <section class="section"> <nav class="breadcrumb" aria-label="breadcrumbs"> <ul> - <li><a href="/">DogeKnows</a></li> + <li><a href="/">{{.GlobalVars.Name}}</a></li> <li class="is-active"><a href="#" aria-current="page">{{.SearchResults.id}}</a></li> </ul> </nav> @@ -110,9 +110,9 @@ <td>{{.SearchResults.THIRDPARTY}}</td> </tr> <tr> - <th>Full Text (OCR)</th> + <th>Summary</th> <td> - {{.SearchResults.full_text}} + <a href="{{.SummaryPDF}}">Summary</a> </td> </tr> </tbody> diff --git a/templates/home.html b/templates/home.html index 830f376..ab185d4 100644 --- a/templates/home.html +++ b/templates/home.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>DogeKnows!</title> + <title>{{.GlobalVars.Name}}</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css"> <script src="https://kit.fontawesome.com/32c297b57b.js" crossorigin="anonymous"></script> </head> @@ -11,7 +11,7 @@ <section class="hero is-medium is-primary"> <div class="hero-body"> <h1 class="title"> - DogeKnows + {{ .GlobalVars.Name }} </h1> <p class="subtitle"> Full-text search FDA 510(k) database @@ -23,7 +23,7 @@ <form action="/search" method="GET"> <div class="field has-addons"> <div class="control is-expanded has-icons-left"> - <input class="input is-large" type="text" name="query" value="{{.OriginalQuery.Query}}" placeholder="Query" spellcheck="false"> + <input class="input is-large" type="text" name="query" placeholder="Query" spellcheck="false"> <span class="icon is-small is-left"> <i class="fa-regular fa-magnifying-glass"></i> </span> diff --git a/templates/search.gtpl b/templates/search.gtpl index c14c02b..b892f19 100644 --- a/templates/search.gtpl +++ b/templates/search.gtpl @@ -1,7 +1,7 @@ <!DOCTYPE html> <html> <body> - <h1>DogeKnows</h1> + <h1>{{.GlobalVars.Name}}</h1> <form action="/classic/search" method="GET"> <input type="text" name="query" value="{{.OriginalQuery.Query}}" placeholder="Search Query" spellcheck="false"> <input type="submit"> diff --git a/templates/search_results.html b/templates/search_results.html index 6214320..dba3362 100644 --- a/templates/search_results.html +++ b/templates/search_results.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <title>{{.OriginalQuery.Query}} - DogeKnows</title> + <title>{{.OriginalQuery.Query}} - {{.GlobalVars.Name}}</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css"> <script src="https://kit.fontawesome.com/32c297b57b.js" crossorigin="anonymous"></script> </head> @@ -11,7 +11,7 @@ <section class="hero is-small is-primary"> <div class="hero-body"> <h1 class="title"> - DogeKnows + {{.GlobalVars.Name}} </h1> <p class="subtitle"> Full-text search FDA 510(k) database @@ -21,7 +21,7 @@ <section class="section"> <nav class="breadcrumb" aria-label="breadcrumbs"> <ul> - <li><a href="/">DogeKnows</a></li> + <li><a href="/">{{.GlobalVars.Name}}</a></li> <li class="is-active"><a href="#" aria-current="page">Search Results For "{{.OriginalQuery.Query}}"</a></li> </ul> </nav> |