Commit f672a432 authored by Ozoux's avatar Ozoux

Add modal for invoice details :)

parent 4bd4e9e6
Pipeline #21 failed with stage
...@@ -165,6 +165,7 @@ sync = "Sychronization to mobile and desktop" ...@@ -165,6 +165,7 @@ sync = "Sychronization to mobile and desktop"
support = "Friendly and human support" support = "Friendly and human support"
trial = "30 days trial included, satisfied or reimbursed" trial = "30 days trial included, satisfied or reimbursed"
identifier = "basic" identifier = "basic"
productid=3
weight = 0 weight = 0
[[Languages.en.bundles]] [[Languages.en.bundles]]
...@@ -181,6 +182,7 @@ sync = "Sychronization to mobile and desktop" ...@@ -181,6 +182,7 @@ sync = "Sychronization to mobile and desktop"
support = "Friendly and human support" support = "Friendly and human support"
trial = "30 days trial included, satisfied or reimbursed" trial = "30 days trial included, satisfied or reimbursed"
identifier = "personal" identifier = "personal"
productid=1
weight = 1 weight = 1
[[Languages.en.bundles]] [[Languages.en.bundles]]
...@@ -197,6 +199,7 @@ sync = "Sychronization to mobile and desktop" ...@@ -197,6 +199,7 @@ sync = "Sychronization to mobile and desktop"
support = "Friendly and human support" support = "Friendly and human support"
trial = "30 days trial included, satisfied or reimbursed" trial = "30 days trial included, satisfied or reimbursed"
identifier = "organisation" identifier = "organisation"
productid=2
weight = 2 weight = 2
[[Languages.en.feedbacks]] [[Languages.en.feedbacks]]
......
...@@ -51,6 +51,41 @@ ...@@ -51,6 +51,41 @@
<li class="list-group-item">{{ .support }}</li> <li class="list-group-item">{{ .support }}</li>
<li class="list-group-item">{{ .trial }}</li> <li class="list-group-item">{{ .trial }}</li>
</ul> </ul>
<div class="panel-body">
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#modal-{{ .productid }}">
Order
</button>
</div>
</div>
</div>
<div class="modal fade" id="modal-{{ .productid }}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
<h4 class="modal-title" id="myModalLabel">Personal details</h4>
</div>
<div class="modal-body">
<form action="https://invoice.indie.host/buy_now" method="post" target="_top">
<input type="hidden" name="account_key" value="XOp8tv6BSRWf7ir5qYWSyFFOgbHbulPS"/>
<input type="hidden" name="product_id" value="{{ .productid }}"/>
<div class="form-group">
<input class="form-control" type="text" name="first_name" placeholder="First Name" required/>
</div>
<div class="form-group">
<input class="form-control" type="text" name="last_name" placeholder="Last Name" required/>
</div>
<div class="form-group">
<input class="form-control" type="email" name="email" placeholder="Email" required/>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<input type="submit" name="submit" class="btn btn-primary" value="View Invoice">
</div>
</form>
</div>
</div>
</div> </div>
</div> </div>
{{ end }} {{ end }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment