mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-17 23:21:19 +00:00
use bootstrap tags for selection form
This commit is contained in:
parent
44bc96835a
commit
86ba717c83
|
@ -247,6 +247,10 @@ $(document).ready( function() {
|
||||||
$this->contentHeading(getMLText("role"));
|
$this->contentHeading(getMLText("role"));
|
||||||
?>
|
?>
|
||||||
<div class="well">
|
<div class="well">
|
||||||
|
<form class="form-horizontal">
|
||||||
|
<div class="control-group">
|
||||||
|
<label class="control-label" for="login"><?php printMLText("selection");?>:</label>
|
||||||
|
<div class="controls">
|
||||||
<select class="chzn-select" id="selector">
|
<select class="chzn-select" id="selector">
|
||||||
<option value="-1"><?php echo getMLText("choose_role")?>
|
<option value="-1"><?php echo getMLText("choose_role")?>
|
||||||
<?php
|
<?php
|
||||||
|
@ -255,6 +259,9 @@ $(document).ready( function() {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<?php if($accessop->check_view_access($this, array('action'=>'info')) || $user->isAdmin()) { ?>
|
<?php if($accessop->check_view_access($this, array('action'=>'info')) || $user->isAdmin()) { ?>
|
||||||
<div class="ajax" data-view="Acl" data-action="info" <?php echo ($selrole ? "data-query=\"roleid=".$selrole->getID()."\"" : "") ?>></div>
|
<div class="ajax" data-view="Acl" data-action="info" <?php echo ($selrole ? "data-query=\"roleid=".$selrole->getID()."\"" : "") ?>></div>
|
||||||
|
|
|
@ -191,7 +191,10 @@ $(document).ready( function() {
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span4">
|
<div class="span4">
|
||||||
<div class="well">
|
<div class="well">
|
||||||
<?php echo getMLText("selection")?>:
|
<form class="form-horizontal">
|
||||||
|
<div class="control-group">
|
||||||
|
<label class="control-label" for="login"><?php printMLText("selection");?>:</label>
|
||||||
|
<div class="controls">
|
||||||
<select class="chzn-select" id="selector">
|
<select class="chzn-select" id="selector">
|
||||||
<option value="-1"><?php echo getMLText("choose_role")?>
|
<option value="-1"><?php echo getMLText("choose_role")?>
|
||||||
<?php if($accessop->check_controller_access('RoleMgr', array('action'=>'addrole'))) { ?>
|
<?php if($accessop->check_controller_access('RoleMgr', array('action'=>'addrole'))) { ?>
|
||||||
|
@ -203,6 +206,9 @@ $(document).ready( function() {
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<?php if($accessop->check_view_access($this, array('action'=>'info'))) { ?>
|
<?php if($accessop->check_view_access($this, array('action'=>'info'))) { ?>
|
||||||
<div class="ajax" data-view="RoleMgr" data-action="info" <?php echo ($selrole ? "data-query=\"roleid=".$selrole->getID()."\"" : "") ?>></div>
|
<div class="ajax" data-view="RoleMgr" data-action="info" <?php echo ($selrole ? "data-query=\"roleid=".$selrole->getID()."\"" : "") ?>></div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user