mirror of https://github.com/MISP/MISP
fix: Cleanup of the role add/edit checkboxes
parent
0db67c89f1
commit
72470bacca
|
@ -46,7 +46,7 @@ class AppController extends Controller {
|
|||
|
||||
public $helpers = array('Utility');
|
||||
|
||||
private $__queryVersion = '4';
|
||||
private $__queryVersion = '5';
|
||||
public $pyMispVersion = '2.4.68';
|
||||
public $phpmin = '5.6.5';
|
||||
public $phprec = '7.0.0';
|
||||
|
|
|
@ -12,7 +12,12 @@
|
|||
?>
|
||||
<div class="permFlags<?php echo ' ' . ($flag['readonlyenabled'] ? 'readonlyenabled' : 'readonlydisabled'); ?>">
|
||||
<?php
|
||||
echo $this->Form->input($k, array('type' => 'checkbox', 'class' => 'checkbox ' . ($flag['readonlyenabled'] ? 'readonlyenabled' : 'readonlydisabled'), 'checked' => false));
|
||||
echo $this->Form->input($k, array(
|
||||
'type' => 'checkbox',
|
||||
'class' => 'checkbox ' . ($flag['readonlyenabled'] ? 'readonlyenabled' : 'readonlydisabled'),
|
||||
'checked' => false,
|
||||
'label' => Inflector::humanize(substr($k, 5))
|
||||
));
|
||||
if ($counter%3 == 0) echo "<div class = 'input clear'></div>";
|
||||
$counter++;
|
||||
?>
|
||||
|
|
|
@ -12,7 +12,11 @@
|
|||
?>
|
||||
<div class="permFlags<?php echo ' ' . ($flag['readonlyenabled'] ? 'readonlyenabled' : 'readonlydisabled'); ?>">
|
||||
<?php
|
||||
echo $this->Form->input($k, array('type' => 'checkbox', 'class' => 'checkbox ' . ($flag['readonlyenabled'] ? 'readonlyenabled' : 'readonlydisabled')));
|
||||
echo $this->Form->input($k, array(
|
||||
'type' => 'checkbox',
|
||||
'class' => 'checkbox ' . ($flag['readonlyenabled'] ? 'readonlyenabled' : 'readonlydisabled'),
|
||||
'label' => Inflector::humanize(substr($k, 5))
|
||||
));
|
||||
if ($counter%3 == 0) echo "<div class = 'input clear'></div>";
|
||||
$counter++;
|
||||
?>
|
||||
|
|
|
@ -1705,6 +1705,10 @@ table.table.table-striped tr.deleted_row td {
|
|||
max-width:100%;
|
||||
}
|
||||
|
||||
.checkbox input[type=checkbox] {
|
||||
margin-top:0px;
|
||||
}
|
||||
|
||||
@-webkit-keyframes rotation {
|
||||
from {-webkit-transform: rotate(0deg);}
|
||||
to {-webkit-transform: rotate(359deg);}
|
||||
|
|
Loading…
Reference in New Issue