-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
359 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package components | ||
|
||
templ Breadcrumb(currentPage string) { | ||
<div> | ||
if currentPage == "Home" { | ||
<br> | ||
} else { | ||
<div class="cdc-breadcrumb"> | ||
<div class="cdc-breadcrumb__content cdc-page-offset"> | ||
<a href="/">PHIN VADS Home</a> <img src="/assets/img/usa-icons/chevron_right.svg" /> {currentPage} | ||
</div> | ||
</div> | ||
} | ||
</div> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package components | ||
|
||
templ SearchBar() { | ||
<div class="search"> | ||
<p>Search PHIN VADS</p> | ||
<div class="grid-row"> | ||
<form class="usa-form"> | ||
<section class="grid-col-auto"> | ||
<select class="usa-select" name="options" id="options"> | ||
<option value> All Vocabulary </option> | ||
<option value="value1">Option A</option> | ||
<option value="value2">Option B</option> | ||
<option value="value3">Option C</option> | ||
</select> | ||
</section> | ||
</form> | ||
<section class="grid-col-fill" aria-label="Big search component"> | ||
<form class="usa-search usa-search--big" role="search"> | ||
<label class="usa-sr-only" for="search-field-en-big">Search</label> | ||
<input | ||
class="usa-input" | ||
id="search-field-en-big" | ||
type="search" | ||
name="search" | ||
/> | ||
<button class="usa-button" type="submit"> | ||
<span class="usa-search__submit-text">Search </span> | ||
<img | ||
src="/assets/img/usa-icons-bg/search--white.svg" | ||
class="usa-search__submit-icon" | ||
alt="Search" | ||
/> | ||
</button> | ||
</form> | ||
</section> | ||
</div> | ||
<div class="grid-row advanced-search-link"> | ||
<p><a href="#">Advanced Search</a></p> | ||
</div> | ||
</div> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package components | ||
|
||
templ ResultRow(conceptCode, conceptName, prefName, codeSystem, valueSet string, alternate bool) { | ||
<div | ||
if alternate == true { | ||
class="row content-row" role="row" | ||
} else { | ||
class="row content-row alternate-bg" role="row" | ||
} | ||
> | ||
<div class="col check"> | ||
<div role="cell"> | ||
<input | ||
type="checkbox" | ||
value={conceptCode} | ||
> | ||
</div> | ||
</div> | ||
<div class="col"> | ||
<div role="cell"> | ||
<p>{conceptCode}</p> | ||
</div> | ||
</div> | ||
<div class="col"> | ||
<div role="cell"> | ||
<p>{conceptName}</p> | ||
</div> | ||
</div> | ||
<div class="col"> | ||
<div role="cell"> | ||
<p>{prefName}</p> | ||
</div> | ||
</div> | ||
<div class="col"> | ||
<div role="cell"> | ||
<p>{codeSystem}</p> | ||
</div> | ||
</div> | ||
<div class="col"> | ||
<div role="cell"> | ||
<p>{valueSet}</p> | ||
</div> | ||
</div> | ||
</div> | ||
} |
Oops, something went wrong.