feat(views): Create generic message alert modal
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
include ./message-modal
|
||||
include ./achievements
|
||||
include ./reroll
|
||||
include ./death
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
script(type='text/ng-template', id='modals/message-modal.html')
|
||||
.modal-header
|
||||
h3.text-center {{::messageModal.title}}
|
||||
.modal-body
|
||||
p {{::messageModal.body}}
|
||||
p {{:: env.t('some') }}
|
||||
.modal-footer(ng-if='::!messageModal.noFooter')
|
||||
a.btn.btn-primary(ng-click='$close()')
|
||||
=env.t('close')}}
|
||||
@@ -33,6 +33,7 @@ html(ng-app='habitrpg')
|
||||
body
|
||||
div(ng-controller='AuthCtrl')
|
||||
include ./login-modal
|
||||
include ../shared/modals/message-modal
|
||||
nav.navbar.navbar-inverse.navbar-fixed-top
|
||||
.navbar-header
|
||||
button.navbar-toggle(type='button', ng-click='isNavbarCollapsed = !isNavbarCollapsed', ng-init='isNavbarCollapsed = true')
|
||||
|
||||
Reference in New Issue
Block a user