Skip to content

Commit

Permalink
LTE UI
Browse files Browse the repository at this point in the history
  • Loading branch information
taoyu65 committed Aug 24, 2017
1 parent ab04a4f commit 21bb442
Show file tree
Hide file tree
Showing 9 changed files with 137 additions and 201 deletions.
31 changes: 8 additions & 23 deletions src/Umi/PageBuilder/umiNestableBuilder_LTE.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ private function breadButton($itemId, $menuId, $parameterField, $buttonException
<i class="fa fa-plus"></i>
</a>';
} else {
$html .= '<a class="green" href="#" onclick="showAdding(\'' . $addUrl . '\')">';
$html .= '<a class="fa-green" href="#" onclick="showAdding(\'' . $addUrl . '\')">';
$html .= ' <i class="fa fa-plus"></i>';
$html .= '</a>';
$html .= '</a>&nbsp;';
}

#browser
Expand All @@ -155,9 +155,9 @@ private function breadButton($itemId, $menuId, $parameterField, $buttonException
<i class="fa fa-eye"></i>
</a>';
} else {
$html .= '<a class="orange" href="#" onclick="showReading(\'' . $readUrl . '\')">
$html .= '<a class="fa-orange" href="#" onclick="showReading(\'' . $readUrl . '\')">
<i class="fa fa-eye"></i>
</a>';
</a>&nbsp;';
}

#edit
Expand All @@ -166,9 +166,9 @@ private function breadButton($itemId, $menuId, $parameterField, $buttonException
<i class="fa fa-pencil"></i>
</a>';
} else {
$html .= '<a class="blue" href="#" onclick="showEditing(\'' . $editUrl . '\')">
$html .= '<a class="fa-primary" href="#" onclick="showEditing(\'' . $editUrl . '\')">
<i class="fa fa-pencil"></i>
</a>';
</a>&nbsp;';
}

#delete
Expand All @@ -177,27 +177,12 @@ private function breadButton($itemId, $menuId, $parameterField, $buttonException
<i class="fa fa-trash-o"></i>
</a>';
} else {
$html .= '<a class="red" href="#" onclick="showDeleting(\'' . $deleteUrl . '\')">';
$html .= '<a class="fa-danger" href="#" onclick="showDeleting(\'' . $deleteUrl . '\')">';
$html .= ' <i class="fa fa-trash-o"></i>';
$html .= '</a>';
}
$html .= '</div>';
/*$html =<<<UMI
<div class="pull-right action-buttons">
<a class="green" href="#">
<i class="ace-icon fa fa-plus bigger-130"></i>
</a>
<a class="orange" href="#">
<i class="ace-icon fa fa-eye bigger-130"></i>
</a>
<a class="blue" href="#">
<i class="ace-icon fa fa-pencil bigger-130"></i>
</a>
<a class="red" href="#" onclick="showDeleting('$deleteUrl')">
<i class="ace-icon fa fa-trash-o bigger-130"></i>
</a>
</div>
UMI;*/

return $html;
}
}
6 changes: 5 additions & 1 deletion src/resources/assets/lte/lte/dist/css/AdminLTE.css

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion src/resources/assets/lte/lte/dist/css/AdminLTE.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/resources/lang/en/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
'handsUp' => 'Hands Up!',
'tip2' => 'This list is the <strong class="red">entire menus</strong>, If you want manage different user\'s menu, you can use another function called <strong>Distribution</strong>',
'reload' => 'Reload',
'save' => 'Save',
'save' => 'Update',
'warning' => 'Warning:',
'superAdminWarning' => 'is Super Admin which will load all menus regardless this setting, but still can set user menus and it will work when remove that super admin identity.'
];
Loading

0 comments on commit 21bb442

Please sign in to comment.