mirror of https://gitee.com/karson/fastadmin.git
优化退出表单元素
parent
dd1560d9bf
commit
308e86c345
|
|
@ -29,18 +29,19 @@
|
|||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="logout-main text-center">
|
||||
<div class="image">
|
||||
<img src="__CDN__/assets/img/info.svg" alt="" width="100" />
|
||||
</div>
|
||||
<h3 class="my-4" style="font-size:16px;">{:__('Are you sure you want to sign out?')}</h3 class="my-4" style="font-size:16px;">
|
||||
<form name="form" id="login-form" class="form-vertical" method="POST" action="#">
|
||||
{:token()}
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-primary btn-lg btn-block">{:__('Confirm sign out')}</button>
|
||||
</div>
|
||||
</form>
|
||||
<div class="logout-main text-center">
|
||||
<div class="image">
|
||||
<img src="__CDN__/assets/img/info.svg" alt="" width="100" />
|
||||
</div>
|
||||
<h3 class="my-4" style="font-size:16px;">{:__('Are you sure you want to sign out?')}</h3>
|
||||
<form name="form" id="logout-form" class="form-vertical" method="POST" action="#">
|
||||
{:token()}
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-primary btn-lg btn-block">{:__('Confirm sign out')}</button>
|
||||
<button type="button" class="btn btn-default btn-lg btn-block mt-2" onclick="history.back()">{:__('Cancel')}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{include file="common/script" /}
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -4,11 +4,12 @@
|
|||
<div class="image">
|
||||
<img src="__CDN__/assets/img/info.svg" alt="" width="100" />
|
||||
</div>
|
||||
<h3 class="my-4" style="font-size:16px;">{:__('Are you sure you want to sign out?')}</h3 class="my-4" style="font-size:16px;">
|
||||
<form name="form" id="login-form" class="form-vertical" method="POST" action="#">
|
||||
<h3 class="my-4" style="font-size:16px;">{:__('Are you sure you want to sign out?')}</h3>
|
||||
<form name="form" id="logout-form" class="form-vertical" method="POST" action="#">
|
||||
{:token()}
|
||||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-primary btn-lg btn-block">{:__('Confirm sign out')}</button>
|
||||
<button type="button" class="btn btn-default btn-lg btn-block mt-2" onclick="history.back()">{:__('Cancel')}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue