* adjust for profile page.

This commit is contained in:
wangyidong
2019-05-30 17:40:48 +08:00
parent fe465ed8d6
commit 2939be79aa
4 changed files with 14 additions and 4 deletions
+2
View File
@@ -1,5 +1,7 @@
.col-6{width:50% !important;}
.col-md-6{width:49% !important;}
.cell{height:430px;}
.cell .divider{ display: block; width: 1px; height: 340px; background-color: rgba(0,0,0,.05); float: left;}
.main-header{margin-bottom:20px;}
.dl-horizontal{margin:0px;}
.dl-horizontal dt{color:#999; font-weight:normal; padding:5px 0px; width:120px;height:30px;}
+5 -2
View File
@@ -45,7 +45,7 @@
?>
</dd>
<dt><?php echo $lang->user->role;?></dt>
<dd><?php echo $lang->user->roleList[$user->role];?></dd>
<dd><?php echo zget($lang->user->roleList, $user->role);?></dd>
<dt><?php echo $lang->group->priv;?></dt>
<dd><?php foreach($groups as $group) echo $group->name . ' '; ?></dd>
<dt><?php echo $lang->user->commiter;?></dt>
@@ -67,10 +67,12 @@
<?php endif;?>
</dl>
</div>
<div class='col-md-6 divider'>
<div class='divider'></div>
<div class='col-md-6'>
<dl class='dl-horizontal'>
<dt><?php echo $lang->user->email;?></dt>
<dd title='<?php echo $user->email;?>'><?php echo $user->email;?></dd>
<?php if(!empty($config->user->contactField)):?>
<?php foreach(explode(',', $config->user->contactField) as $field):?>
<dt><?php echo $lang->user->$field;?></dt>
<dd>
@@ -90,6 +92,7 @@
?>
</dd>
<?php endforeach;?>
<?php endif;?>
<dt><?php echo $lang->user->address;?></dt>
<dd><?php echo $user->address;?></dd>
<dt><?php echo $lang->user->zipcode;?></dt>
+2
View File
@@ -1,5 +1,7 @@
.col-6{width:50% !important;}
.col-md-6{width:49% !important;}
.cell{height:430px;}
.cell .divider{ display: block; width: 1px; height: 340px; background-color: rgba(0,0,0,.05); float: left;}
.main-header{margin-bottom:20px;}
.dl-horizontal{margin:0px;}
.dl-horizontal dt{color:#999; font-weight:normal; padding:5px 0px; width:120px;height:30px;}
+5 -2
View File
@@ -47,7 +47,7 @@
?>
</dd>
<dt><?php echo $lang->user->role;?></dt>
<dd><?php echo $lang->user->roleList[$user->role];?></dd>
<dd><?php echo zget($lang->user->roleList, $user->role);?></dd>
<dt><?php echo $lang->group->priv;?></dt>
<dd><?php foreach($groups as $group) echo $group->name . ' '; ?></dd>
<dt><?php echo $lang->user->commiter;?></dt>
@@ -69,10 +69,12 @@
<?php endif;?>
</dl>
</div>
<div class='col-md-6 divider'>
<div class='divider'></div>
<div class='col-md-6'>
<dl class='dl-horizontal'>
<dt><?php echo $lang->user->email;?></dt>
<dd title='<?php echo $user->email;?>'><?php echo $user->email;?></dd>
<?php if(!empty($config->user->contactField)):?>
<?php foreach(explode(',', $config->user->contactField) as $field):?>
<dt><?php echo $lang->user->$field;?></dt>
<dd>
@@ -92,6 +94,7 @@
?>
</dd>
<?php endforeach;?>
<?php endif;?>
<dt><?php echo $lang->user->address;?></dt>
<dd><?php echo $user->address;?></dd>
<dt><?php echo $lang->user->zipcode;?></dt>