<div class="b-admin-licensing" >
	<div class="row">
		<div class="alert alert-info span10" style="margin-top: 10px;">
			RainLoop Webmail is licensed under <strong>Creative Commons
			<br />
			Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)</strong> license.
			<br />
			<br />
			You are <strong>free</strong> to use it for your <strong>personal</strong> projects.
			<br />
			<br />
			Commercial use (with additional features) of <strong>RainLoop Webmail</strong> requires getting a
			<a href="http://rainloop.net/purchase/" target="_blank">subscription</a>.
		</div>
	</div>
	<br />
	<div class="form-horizontal">
		<div class="control-group">
			<label class="control-label">
				Your domain
			</label>
			<div class="controls">
				<span class="help-inline" style="padding-top: 5px;">
					 <strong data-bind="text: adminDomain"></strong>
				 </span>
			</div>
		</div>
		<div class="control-group" data-bind="visible: !subscriptionEnabled()">
			<label class="control-label" style="padding-top: 20px">
				Version
			</label>
			<div class="controls">
				<div class="alert alert-block span8" style="margin-left: 0">
					<h4>
						Basic
						<span data-bind="visible: licenseIsUnlim()">&nbsp;(Unlim)</span>
					</h4>
					<br />
					<p>
						This domain can't be licensed.
					</p>
				</div>
			</div>
		</div>
		<div class="control-group" data-bind="visible: subscriptionEnabled">
			<label class="control-label" style="padding-top: 20px">
				Version
			</label>
			<div class="controls">
				<div data-bind="visible: licensingProcess()" style="padding-top: 20px">
					<i class="icon-spinner animated"></i>
					&nbsp;&nbsp;
					Checking&hellip;
				</div>
				<div data-bind="visible: !licensingProcess()">
					<div class="alert alert-block span8" style="margin-left: 0;  padding-top: 20px" data-bind="visible: !licensing()">
						<h4>
							Basic
						</h4>
						<br />
						<p>
							This domain isn't licensed for commercial use (with additional features).
						</p>
					</div>
					<div data-bind="visible: licensing()">
						<div class="alert alert-success span8" style="margin-left: 0; padding-top: 20px" data-bind="visible: licenseValid() && '' === licenseError()">
							<h4>
								Premium
								<span data-bind="visible: licenseIsUnlim()">(Lifetime)</span>
							</h4>
							<p data-bind="visible: 0 < licenseExpired()" style="padding-top: 10px">
								<b>Subscription expires:</b>
								&nbsp;
								<span data-bind="text: licenseExpiredMomentValue()"></span>
							</p>
						</div>
						<div class="alert alert-error span8" style="margin-left: 0" data-bind="visible: !licenseValid() && '' !== licenseError(), text: licenseError"></div>
					</div>
				</div>
			</div>
		</div>
		<div class="control-group" data-bind="visible: subscriptionEnabled() && !licensingProcess()">
			<div class="controls">
				<a class="btn" data-bind="click: showActivationForm">
					<i class="icon-happy-smiley"></i>
					&nbsp;&nbsp;
					Activate Subscription Key for this domain
				</a>
				&nbsp;
				&nbsp;
				<a class="btn" href="http://rainloop.net/purchase/" target="_black">
					<i class="icon-purchase"></i>
					&nbsp;&nbsp;
					Purchase
				</a>
			</div>
		</div>
	</div>
</div>