overleaf/services/web/app/views/user/logout.pug
Miguel Serrano e2bf647b81 Merge pull request #2763 from overleaf/ta-dot-dot-dot
Replace Triple-Dots with Ellipsis in Pug Files

GitOrigin-RevId: 408cea0772d8751acd8939e199e49e2cf9685b8f
2020-04-23 03:29:02 +00:00

20 lines
710 B
Text

extends ../layout
block vars
- metadata = { viewport: true }
block content
.content.content-alt
.login-register-container
.card.login-register-card
.login-register-header
h1.login-register-header-heading #{translate("log_out")}
form.login-register-form(name="logoutForm", action='/logout', method="POST" ng-init="$scope.inflight=true" auto-submit-form)
input(name='_csrf', type='hidden', value=csrfToken)
.actions
button#submit-logout.btn-primary.btn.btn-block(
type='submit',
ng-disabled="$scope.inflight"
)
span(ng-show="!$scope.inflight") #{translate("log_out")}
span(ng-show="$scope.inflight" ng-cloak) #{translate("logging_out")}…