* updated ui of deny page.
This commit is contained in:
@@ -1 +1,12 @@
|
||||
body{background:white; margin-top:100px}
|
||||
body{background: #f1f1f1;}
|
||||
.container{padding: 0}
|
||||
.modal-dialog{width: 500px; margin-top: 10%;}
|
||||
.modal-footer{text-align: center;margin-top: 0;}
|
||||
|
||||
.table,.alert{margin: 0;}
|
||||
.table+.alert{margin-top: 20px;}
|
||||
.table.table-form>thead>tr>th, .table.table-form>tbody>tr>th, .table.table-form>tfoot>tr>th{color: #666}
|
||||
.table>thead>tr>th{background-color: transparent;}
|
||||
.table.table-form>thead>tr>th, .table.table-form>tbody>tr>th, .table.table-form>tfoot>tr>th, .table.table-form>thead>tr>td, .table.table-form>tbody>tr>td, .table.table-form>tfoot>tr>td{vertical-align: middle;}
|
||||
|
||||
@media (max-width: 700px){.modal-dialog{padding: 0;} .modal-content{box-shadow: none;border-width: 1px 0;border-radius: 0}}
|
||||
|
||||
@@ -10,22 +10,31 @@
|
||||
*/
|
||||
include '../../common/view/header.lite.html.php';
|
||||
?>
|
||||
<table align='center' class='table-3'>
|
||||
<caption><?php echo $app->user->account, ' ', $lang->user->deny;?></caption>
|
||||
<tr>
|
||||
<td>
|
||||
<?php
|
||||
$moduleName = isset($lang->$module->common) ? $lang->$module->common: $module;
|
||||
$methodName = isset($lang->$module->$method) ? $lang->$module->$method: $method;
|
||||
<div class='container'>
|
||||
<div class='modal-dialog'>
|
||||
<div class='modal-header'>
|
||||
<i class='icon-info-sign'></i> <strong><?php echo $app->user->account, ' ', $lang->user->deny;?></strong>
|
||||
</div>
|
||||
<div class='modal-body'>
|
||||
<div class='alert alert-warning'>
|
||||
<i class='icon-info-sign'></i>
|
||||
<div class='content'>
|
||||
<?php
|
||||
$moduleName = isset($lang->$module->common) ? $lang->$module->common: $module;
|
||||
$methodName = isset($lang->$module->$method) ? $lang->$module->$method: $method;
|
||||
|
||||
printf($lang->user->errorDeny, $moduleName, $methodName);
|
||||
echo "<br />";
|
||||
echo html::a($this->createLink($config->default->module), $lang->my->common);
|
||||
if($refererBeforeDeny) echo html::a(helper::safe64Decode($refererBeforeDeny), $lang->user->goback);
|
||||
echo html::a($this->createLink('user', 'logout', "referer=" . helper::safe64Encode($denyPage)), $lang->user->relogin);
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
printf($lang->user->errorDeny, $moduleName, $methodName);
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class='modal-footer'>
|
||||
<?php
|
||||
echo html::a($this->createLink($config->default->module), $lang->my->common, '', "class='btn'");
|
||||
if($refererBeforeDeny) echo html::a(helper::safe64Decode($refererBeforeDeny), $lang->user->goback, '', "class='btn'");
|
||||
echo html::a($this->createLink('user', 'logout', "referer=" . helper::safe64Encode($denyPage)), $lang->user->relogin, '', "class='btn btn-primary'");
|
||||
?></div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user