frontend: small fixes for form controls
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
6c8d06428f
commit
0b192fa95c
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
kubectl port-forward $(kubectl get pods -l app=currencyservice -o=name | head -n 1) 7000:7000 &
|
kubectl port-forward $(kubectl get pods -l app=currencyservice -o=name | head -n 1) 7000:7000 &
|
||||||
kubectl port-forward $(kubectl get pods -l app=recommendationservice -o=name | head -n 1) 8081:8080 &
|
kubectl port-forward $(kubectl get pods -l app=recommendationservice -o=name | head -n 1) 8021:8080 &
|
||||||
kubectl port-forward $(kubectl get pods -l app=cartservice -o=name | head -n 1) 7070:7070 &
|
kubectl port-forward $(kubectl get pods -l app=cartservice -o=name | head -n 1) 7070:7070 &
|
||||||
kubectl port-forward $(kubectl get pods -l app=productcatalogservice -o=name | head -n 1) 3550:3550 &
|
kubectl port-forward $(kubectl get pods -l app=productcatalogservice -o=name | head -n 1) 3550:3550 &
|
||||||
kubectl port-forward $(kubectl get pods -l app=checkoutservice -o=name | head -n 1) 5050:5050 &
|
kubectl port-forward $(kubectl get pods -l app=checkoutservice -o=name | head -n 1) 5050:5050 &
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
{{ if $.currencies }}
|
{{ if $.currencies }}
|
||||||
<form class="form-inline ml-auto" method="POST" action="/setCurrency" id="currency_form">
|
<form class="form-inline ml-auto" method="POST" action="/setCurrency" id="currency_form">
|
||||||
<select name="currency_code" class="form-control"
|
<select name="currency_code" class="form-control"
|
||||||
onchange="document.getElementById('currency_form').submit();">
|
onchange="document.getElementById('currency_form').submit();" style="width:auto;">
|
||||||
{{range $.currencies}}
|
{{range $.currencies}}
|
||||||
<option value="{{.}}" {{if eq . $.user_currency}}selected="selected"{{end}}>{{.}}</option>
|
<option value="{{.}}" {{if eq . $.user_currency}}selected="selected"{{end}}>{{.}}</option>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -36,8 +36,8 @@
|
||||||
<option>5</option>
|
<option>5</option>
|
||||||
<option>10</option>
|
<option>10</option>
|
||||||
</select>
|
</select>
|
||||||
|
<button type="submit" class="btn btn-info btn-lg ml-3">Add to Cart</button>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-info btn-lg ml-3">Add to Cart</button>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue