Igor Zhukov
10 years ago
20 changed files with 354 additions and 83 deletions
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
File diff suppressed because one or more lines are too long
@ -0,0 +1,27 @@ |
|||||||
|
<div class="username_edit_modal_wrap" my-modal-position> |
||||||
|
|
||||||
|
<a class="modal-close-button" ng-click="$dismiss()"><i></i></a> |
||||||
|
|
||||||
|
<div class="modal-body"> |
||||||
|
|
||||||
|
<form class="modal_simple_form" ng-submit="updateUsername()"> |
||||||
|
|
||||||
|
<h4 my-i18n="username_edit_modal_title"></h4> |
||||||
|
|
||||||
|
<div class="form-group import_modal_field_wrap" ng-class="{'has-error': checked.error, 'has-feedback': checked.feedback.length > 0, 'has-success': checked.success}"> |
||||||
|
<input class="form-control input-md" my-focused type="text" placeholder="{{'username_edit_placeholder' | i18n}}" ng-model="profile.username" name="username" ng-model-options="{debounce: 600}"/> |
||||||
|
<span ng-if="checked.error" class="glyphicon form-control-feedback" ng-class="{'glyphicon-remove': checked.error}"></span> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="modal_simple_form_description" my-i18n="username_edit_description_md"></div> |
||||||
|
|
||||||
|
</form> |
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="modal-footer"> |
||||||
|
<a class="btn btn-link" ng-click="$dismiss()" my-i18n="modal_cancel"></a> |
||||||
|
<button class="btn btn-primary" ng-class="{disabled: profile.updating}" ng-click="updateUsername()" ng-bind="profile.updating ? 'username_edit_submit_active' : 'username_edit_submit' | i18n" ng-disabled="profile.updating"></button> |
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
@ -0,0 +1,44 @@ |
|||||||
|
<div class="username_edit_modal_wrap"> |
||||||
|
|
||||||
|
<div class="tg_page_head tg_modal_head"> |
||||||
|
<div class="navbar navbar-static-top navbar-inverse"> |
||||||
|
<div class="container"> |
||||||
|
|
||||||
|
<div class="navbar-header"> |
||||||
|
|
||||||
|
<ul class="nav navbar-nav navbar-quick-nav"> |
||||||
|
<li class="navbar-quick-right"> |
||||||
|
<a ng-class="{disabled: profile.updating}" ng-click="updateUsername()" ng-bind="profile.updating ? 'username_edit_submit_active' : 'username_edit_submit' | i18n" ng-disabled="profile.updating"></a> |
||||||
|
</li> |
||||||
|
<li> |
||||||
|
<a ng-click="$dismiss()" class="navbar-quick-media-back"> |
||||||
|
<i class="icon icon-back"></i> |
||||||
|
<div class="navbar-quick-back-title"> |
||||||
|
<h4 my-i18n="username_edit_modal_title"></h4> |
||||||
|
</div> |
||||||
|
</a> |
||||||
|
</li> |
||||||
|
</ul> |
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="modal-body"> |
||||||
|
|
||||||
|
<form class="modal_simple_form" ng-submit="updateUsername()" my-vertical-position="0.3"> |
||||||
|
|
||||||
|
<div class="form-group import_modal_field_wrap" ng-class="{'has-error': checked.error, 'has-feedback': checked.feedback.length > 0, 'has-success': checked.success}"> |
||||||
|
<input class="form-control input-md" my-focused type="text" placeholder="{{'username_edit_placeholder' | i18n}}" ng-model="profile.username" name="username" ng-model-options="{debounce: 600}"/> |
||||||
|
<span ng-if="checked.error" class="glyphicon form-control-feedback" ng-class="{'glyphicon-remove': checked.error}"></span> |
||||||
|
</div> |
||||||
|
|
||||||
|
<div class="modal_simple_form_description" my-i18n="username_edit_description_md"></div> |
||||||
|
|
||||||
|
</form> |
||||||
|
|
||||||
|
</div> |
||||||
|
|
||||||
|
</div> |
Loading…
Reference in new issue