call.html 1.61 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
<div class="overlay" id="callModal">
	<div class="cmodal container-fluid panel panel-default">
		<div class="panel-heading">
			<h2>{{ _("Reach out to ");}} {{ @contact.first_name }}&nbsp;{{ @contact.last_name }}
				<a type="button" class="btn close" href="#" aria-label="Close"><span aria-hidden="true">&times;</span></a></h2>
		</div>
		<div class="row panel-body">
			<div class="col-sm-6">
				<h2>{{ _("Call for free") }}</h2>
				<form method="post" action="/call/{{ @contact.id }}">
					<input type="text" id="contact_id" name="contact_id" hidden="hidden" value="{{ @contact.id }}">
					<p>{{ _("If you want to call for free, you must provide us with your phone number (the PiPhone will call that number to initiate the communication).") }}</p>
nepski's avatar
nepski committed
13

14 15 16 17 18 19 20 21 22 23 24 25 26 27
					<p>
					    <label for="phone">{{_("Your phone number:") }}</label>
					    <input type="text" name="phone" id="phone" placeholder="+33123456789001" />
					</p>
					<p>
					    {{ _('Starting with your <a href="https://en.wikipedia.org/wiki/List_of_country_calling_codes#Zones_3-4:_Europe">country code</a>, without the initial 0') }}
					</p>
					<input class="btn btn-default" type="submit" value="{{ _("I'm ready, call me") }}" />
				</form>
			</div>
			<div class="col-sm-6">
				<h2>{{ _("Call at your expense") }}</h2>
				    <p>{{ _("If you don't want to call for free, here is the number of the current MEP (you can either dial it from your phone or push the button if any VoIP client is installed on your device.") }}</p>
				    <a class="btn btn-default" href="tel:{{ @contact.phone }}" target="_blank">☎ {{ @contact.phone }}</a>
nepski's avatar
nepski committed
28

29 30 31 32
			</div>
		</div>
	</div>
</div>