mirror of
https://github.com/fergalmoran/shortio.git
synced 2026-02-18 22:14:45 +00:00
10 lines
565 B
HTML
10 lines
565 B
HTML
<div ng-controller="UrlCtrl" class="login-popup">
|
|
<input type="text" class="form-control text-center text" id="url" placeholder="URL to shorten"
|
|
ng-enter="shortenUrl()" ng-model="url">
|
|
<button type="submit" class="btn btn-default submit" ng-click="shortenUrl()">Do It</button>
|
|
<div class="alert alert-success" ng-show="shortened_url.length">
|
|
<a ng-href="{{shortened_url}}" ng-bind="shortened_url"></a>
|
|
</div>
|
|
<div class="alert alert-danger" ng-show="error.length" ng-bind="error">This is what an error looks like</div>
|
|
</div>
|