Telegram Web, preconfigured for usage in I2P.
http://web.telegram.i2p/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.5 KiB
28 lines
1.5 KiB
11 years ago
|
<div ng-include="'partials/head.html'"></div>
|
||
|
|
||
|
|
||
|
<div class="login_form_wrap">
|
||
|
<div class="error" ng-if="error.message">{{ error.message }}</div>
|
||
|
<form name="mySendCodeForm" ng-if="!credentials.phone_code_hash" ng-submit="sendCode()">
|
||
|
<h3 class="login_form_head">Sign in</h3>
|
||
|
<p class="login_form_lead">Welcome to an experimental web-client of Telegram messenger</p>
|
||
|
|
||
|
<div class="form-group" ng-class="{'has-error': error.field == 'phone'}">
|
||
|
<label class="control-label" for="phone_number" ng-if="error.field == 'phone'">Incorrect phone number</label>
|
||
|
<input type="text" class="form-control" name="phone_number" ng-model="credentials.phone_number" placeholder="Enter your phone" required>
|
||
|
</div>
|
||
|
<button class="btn btn-tg btn-block" type="submit">Next</button>
|
||
|
</form>
|
||
|
|
||
|
<form name="myLoginForm" ng-if="credentials.phone_code_hash" ng-submit="logIn()">
|
||
|
<h3 class="login_form_head">{{ credentials.phone_number | phoneNumber }} <small>(<a href="#/auth">edit</a>)</small></h3>
|
||
|
<p class="login_form_lead">We have sent you a code via SMS.<br/>Please enter it below.</p>
|
||
|
|
||
|
<div class="form-group" ng-class="{'has-error': error.field == 'phone_code'}">
|
||
|
<label class="control-label" for="phone_code" ng-if="error.field == 'phone_code'">Incorrect SMS code</label>
|
||
|
<input type="text" class="form-control" name="phone_code" ng-model="credentials.phone_code" placeholder="Enter your code" required>
|
||
|
</div>
|
||
|
|
||
|
<button class="btn btn-tg btn-block" type="submit">Sign in</button>
|
||
|
</form>
|
||
|
</div>
|