-
Notifications
You must be signed in to change notification settings - Fork 11
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
split homepage into 2 separate templates #27
Open
sophiaso
wants to merge
2
commits into
devel
Choose a base branch
from
separate-header-template
base: devel
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+135
−130
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
$(function () { | ||
$("#free_link").on("click", function() { | ||
$.get("/free-account"); | ||
}); | ||
|
||
$("#login_link").on("click", function() { | ||
$.get("/login-account"); | ||
}); | ||
}); |
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,36 @@ | ||
<nav class="navbar header-nav" role="navigation" aria-label="main navigation"> | ||
<div class="small-container container"> | ||
<div class="navbar-brand"> | ||
<a href="https://azure.microsoft.com/en-us/" class="navbar-item azure-logo"> | ||
Microsoft Azure | ||
</a> | ||
</div> | ||
<div class="navbar-menu is-active"> | ||
<div class="navbar-start"> | ||
<h1 class="navbar-item nav-title" > | ||
Azure Spring Cloud Playground | ||
</h1> | ||
</div> | ||
<div class="navbar-end" id="free_link"> | ||
<a href="https://azure.microsoft.com/en-us/free/" title="Free account" target="_blank" >Free account</a> | ||
</div> | ||
<div class="navbar-end" id="login_link"> | ||
<a>Login</a> | ||
</div> | ||
<div class="navbar-end" id="user_dropdown"> | ||
<div class="navbar-item has-dropdown is-hoverable"> | ||
<a class="truncate" id="logged_user"> | ||
</a> | ||
<div class="navbar-dropdown" id="logout_link"> | ||
<a class="navbar-item"> | ||
Logout | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="navbar-end" id="about_link"> | ||
<a title="{{build.information}}">About</a> | ||
</div> | ||
</div> | ||
</div> | ||
</nav> | ||
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,87 @@ | ||
<div id="get-started"> | ||
<div class="tabs small-container container"> | ||
<ul> | ||
<li id="generate-tab" class="is-active"><a>Generate Project</a></li> | ||
<li id="build-run-tab"><a>Build & Run</a></li> | ||
</ul> | ||
</div> | ||
<div id="generate-animation" class="small-container container"> | ||
<video class="start-video" width="800px" height="430px" autoplay muted loop controls> | ||
<source src="{{#linkTo}}/img/generate-project.mp4{{/linkTo}}" type="video/mp4"> | ||
Your browser does not support the video tag. | ||
</video> | ||
</div> | ||
<div id="build-run-animation" class="hidden small-container container"> | ||
<video class="start-video" width="800px" height="430px" autoplay muted loop controls> | ||
<source src="{{#linkTo}}/img/run.mp4{{/linkTo}}" type="video/mp4"> | ||
Your browser does not support the video tag. | ||
</video> | ||
</div> | ||
</div> | ||
<form id="form" action="/microservice.zip" method="get" role="form"> | ||
<div class="small-container container"> | ||
<p class="help is-danger app-error"></p> | ||
<input id="baseDir" name="baseDir" type="hidden" value="{{artifactId.content}}"> | ||
|
||
<div class="row metadata-row"> | ||
<h4 class="title is-5">Generate your Spring Cloud application</h4> | ||
<div class="columns"> | ||
<div class="column"> | ||
<label for="groupId" class="label">{{groupId.title}}</label> | ||
<input tabindex="4" id="groupId" class="input" type="text" value="{{groupId.content}}" | ||
name="groupId"> | ||
</div> | ||
<div class="column"> | ||
<label for="artifactId" class="label">{{artifactId.title}}</label> | ||
<input tabindex="5" id="artifactId" class="input" type="text" | ||
value="{{artifactId.content}}" | ||
name="artifactId"> | ||
</div> | ||
<div class="column hidden"> | ||
<label for="name" class="label">{{name.title}}</label> | ||
<input tabindex="6" id="name" class="input" type="text" value="{{name.content}}" | ||
name="name"> | ||
</div> | ||
<div class="column hidden"> | ||
<label for="description" class="label">{{description.title}}</label> | ||
<input tabindex="7" id="description" class="input" type="text" | ||
value="{{description.content}}" name="description"> | ||
</div> | ||
<div class="column hidden"> | ||
<label for="packageName" class="label">{{packageName.title}}</label> | ||
<input tabindex="8" id="packageName" class="input" type="text" | ||
value="{{packageName.content}}" | ||
name="packageName"> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div id="services" class="columns"> | ||
{{#services.content}} | ||
<div class="column is-half medium-top-margin"> | ||
<h3 class="title is-6">Select {{name}}</h3> | ||
{{#content}} | ||
<div class="small-top-margin"> | ||
<label class="checkbox module-checkbox"> | ||
<input tabindex="13" type="checkbox" name="services" value="{{id}}"> | ||
{{name}} | ||
<input class="hidden port-input" type="number" tabindex="14" name="{{portName}}" value="{{defaultPort}}"> | ||
<p class="help-block">{{#description}}{{.}}{{/description}}</p> | ||
</label> | ||
</div> | ||
{{/content}} | ||
</div> | ||
{{/services.content}} | ||
</div> | ||
</div> | ||
<div class="large-vertical-margin"> | ||
<p class="has-text-centered"> | ||
<button onclick="gtag('event', 'click', { event_category: 'Project Generation', event_action: 'click'});" | ||
tabindex="12" id="generate-project" type="submit" class="button" role="button"> | ||
Generate Project | ||
</button> | ||
</p> | ||
Want to <a id="config-port" class="is-7">configure your services ?</a> | ||
</div> | ||
</div> | ||
</form> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new line here.