-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from wso2/release-2.0.0
sync with upstream
- Loading branch information
Showing
8 changed files
with
106 additions
and
69 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
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
33 changes: 19 additions & 14 deletions
33
...ain/resources/extensions/store/assets/api/themes/store/partials/sub-domain-token-prod.hbs
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 |
---|---|---|
@@ -1,20 +1,25 @@ | ||
<!-- Domain token view | ||
The view is used to display the domain details | ||
--> | ||
<form> | ||
{{#if isAppNameAvailable}} | ||
<fieldset> | ||
<h5>Allowed Domains</h5> | ||
<textarea class='input-xlarge' id='input-{{ environment }}-allowedDomains'>{{allowedDomains}}</textarea> | ||
<span class='help-block'>Leaving empty or filling with ALL will allow all domains</span> | ||
<span class='help-block'>Please subscribe to APIs to view domain information</span> | ||
</fieldset> | ||
</form> | ||
|
||
<!--View # 1: Token data--> | ||
<h5>Token Validity</h5> | ||
<form class='form form-inline'> | ||
<fieldset> | ||
<input type='text' class='input-small' id='input-{{ environment }}-validityTime' value='{{validityTime}}'/> | ||
<label>seconds</label> | ||
</fieldset> | ||
</form> | ||
{{else}} | ||
<form> | ||
<fieldset> | ||
<h5>Allowed Domains</h5> | ||
<textarea class='input-xlarge' id='input-{{ environment }}-allowedDomains'>{{allowedDomains}}</textarea> | ||
<span class='help-block'>Leaving empty or filling with ALL will allow all domains</span> | ||
</fieldset> | ||
</form> | ||
|
||
<!--View # 1: Token data--> | ||
<h5>Token Validity</h5> | ||
<form class='form form-inline'> | ||
<fieldset> | ||
<input type='text' class='input-small' id='input-{{ environment }}-validityTime' value='{{validityTime}}'/> | ||
<label>seconds</label> | ||
</fieldset> | ||
</form> | ||
{{/if}} |
27 changes: 17 additions & 10 deletions
27
...in/resources/extensions/store/assets/api/themes/store/partials/sub-domain-update-prod.hbs
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 |
---|---|---|
@@ -1,15 +1,22 @@ | ||
<!-- Domain update view | ||
--> | ||
<form> | ||
{{#if isAppNameAvailable}} | ||
<fieldset> | ||
<h5>Allowed Domains</h5> | ||
<textarea class='input-xlarge' id='input-{{ environment }}-allowedDomains'>{{allowedDomains}}</textarea> | ||
<span class='help-block'>Leaving empty or filling with ALL will allow all domains</span> | ||
<span class='help-block'>Please subscribe to APIs to view domain information</span> | ||
</fieldset> | ||
</form> | ||
{{else}} | ||
<form> | ||
<fieldset> | ||
<h5>Allowed Domains</h5> | ||
<textarea class='input-xlarge' id='input-{{ environment }}-allowedDomains'>{{allowedDomains}}</textarea> | ||
<span class='help-block'>Leaving empty or filling with ALL will allow all domains</span> | ||
</fieldset> | ||
</form> | ||
|
||
<form> | ||
<fieldset> | ||
<input type='button' class='btn btn-primary btn-block' value='Update Domains' id='btn-{{ environment }}-updateDomains'> | ||
</fieldset> | ||
</form> | ||
<form> | ||
<fieldset> | ||
<input type='button' class='btn btn-primary btn-block' value='Update Domains' | ||
id='btn-{{ environment }}-updateDomains'> | ||
</fieldset> | ||
</form> | ||
{{/if}} |
14 changes: 10 additions & 4 deletions
14
...in/resources/extensions/store/assets/api/themes/store/partials/sub-keys-generate-prod.hbs
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 |
---|---|---|
@@ -1,10 +1,16 @@ | ||
<!--Key generation view | ||
This view is shown when a key has not been generated | ||
--> | ||
<form> | ||
{{#if isAppNameAvailable}} | ||
<fieldset> | ||
<span class='help-block'>{{ environment }} keys are not yet generated for this app </span> | ||
<input type='button' class='btn btn-primary' value='Generate ' id='btn-generate-{{ environment }}-token'/> | ||
<span class='help-block'>Please subscribe to APIs to view tokens</span> | ||
</fieldset> | ||
</form> | ||
{{else}} | ||
<form> | ||
<fieldset> | ||
<span class='help-block'>{{ environment }} keys are not yet generated for this app </span> | ||
<input type='button' class='btn btn-primary' value='Generate ' id='btn-generate-{{ environment }}-token'/> | ||
</fieldset> | ||
</form> | ||
{{/if}} | ||
|