Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds link to github page for dependency in UI. #607

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions initializr-web/src/main/resources/static/css/spring.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,28 @@ input[type=text] {
.version-requirement {
display: none;
}

.dependency-info {
display:flex;
}

.disabled .version-requirement {
display: block;
}

.link {
padding-left: 1em;
}

.github.link > a:before{
content: "\f09b";
font-family: "Font Awesome 5 Brands";
display: inline-block;
padding-right: 6px;
vertical-align: middle;
color: black;
}

/* autocomplete */

#autocomplete, .twitter-typeahead, .tt-hint {
Expand Down
Binary file not shown.
1,008 changes: 1,008 additions & 0 deletions initializr-web/src/main/resources/static/webfonts/fa-brands-400.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
366 changes: 366 additions & 0 deletions initializr-web/src/main/resources/static/webfonts/fa-regular-400.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1,467 changes: 1,467 additions & 0 deletions initializr-web/src/main/resources/static/webfonts/fa-solid-900.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 10 additions & 1 deletion initializr-web/src/main/resources/templates/home.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<link rel="stylesheet" href="{{#linkTo}}/css/bootstrap.min.css{{/linkTo}}"/>
<link rel="stylesheet" href="{{#linkTo}}/css/bootstrap-theme.min.css{{/linkTo}}"/>
<link rel="stylesheet" href="{{#linkTo}}/css/spring.css{{/linkTo}}"/>
<link rel="stylesheet" href="{{#linkTo}}/css/fontawesome-all.min.css{{/linkTo}}"/>
<link rel="shortcut icon" type="image/x-icon" href="/img/favicon.png"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
{{#trackingCode}}
Expand Down Expand Up @@ -147,7 +148,15 @@ new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
{{#content}}
<div class="checkbox" data-range="{{#versionRange}}{{versionRange}}{{/versionRange}}">
<label>
<input tabindex="13" type="checkbox" name="style" value="{{id}}">{{name}}
<input tabindex="13" type="checkbox" name="style" value="{{id}}">
<div class="dependency-info">
{{name}}
{{#links}}
<div class="link {{rel}}">
<a href="{{href}}" target="_blank"></a>
</div>
{{/links}}
</div>
<p class="help-block">{{#description}}{{.}}{{/description}}</p>
{{#versionRequirement}}
<p class="help-block version-requirement">requires Spring Boot {{.}}</p>
Expand Down