Commit 62855beb authored by Shakarim Sapa's avatar Shakarim Sapa

- Внесены небольшие корректировки в генерируемый html блока с управляющими элементами;

parent 6c8555a6
......@@ -90,12 +90,12 @@ class Conditions {
* @return string
*/
public function getControlArea(){
$html = '<div class="conditions-block"></div>';
$html = '<div class="conditions-block"></div>';
$html .= '<div class="btn-group" role="group">';
$html .= '<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="glyphicon glyphicon-plus"></i></button>';
$html .= '<ul class="dropdown-menu">';
foreach(Conditions::init()->getConditions() as $id=>$condition)
$html .= '<li><a href="#" data-id="'.$id.'">'.$condition->getName().'</a></li>';
$html .= '<li><a href="#" data-id="'.$id.'" class="add_condition">'.$condition->getName().'</a></li>';
$html .= '</ul>';
$html .= '</div>';
return $html;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment