1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-04 04:07:59 +02:00

UI Improvements - Plugins - Layout fixes #194

This commit is contained in:
Awilum
2014-01-12 15:12:45 +02:00
parent 1dbd208832
commit fae12cefda

View File

@@ -22,10 +22,10 @@
<tr> <tr>
<th width="3%"></th> <th width="3%"></th>
<th><?php echo __('Name', 'pages'); ?></th> <th><?php echo __('Name', 'pages'); ?></th>
<th><?php echo __('Author', 'pages'); ?></th> <th class="visible-lg hidden-xs"><?php echo __('Author', 'pages'); ?></th>
<th><?php echo __('Status', 'pages'); ?></th> <th class="visible-lg hidden-xs"><?php echo __('Status', 'pages'); ?></th>
<th><?php echo __('Access', 'pages'); ?></th> <th class="visible-lg"><?php echo __('Access', 'pages'); ?></th>
<th><?php echo __('Date', 'pages'); ?></th> <th class="visible-lg hidden-xs"><?php echo __('Date', 'pages'); ?></th>
<th></th> <th></th>
</tr> </tr>
</thead> </thead>
@@ -60,21 +60,20 @@
echo $dash.Html::anchor(Html::toText($page['title']), $site_url.'/'.$parent.$page['slug'], array('target' => '_blank', 'rel' => 'children_'.$_parent)); echo $dash.Html::anchor(Html::toText($page['title']), $site_url.'/'.$parent.$page['slug'], array('target' => '_blank', 'rel' => 'children_'.$_parent));
?> ?>
</td> </td>
<td> <td class="visible-lg hidden-xs">
<?php echo $page['author']; ?> <?php echo $page['author']; ?>
</td> </td>
<td> <td class="visible-lg hidden-xs">
<?php echo $page['status']; ?> <?php echo $page['status']; ?>
</td> </td>
<td> <td class="visible-lg">
<?php echo $page['access']; ?> <?php echo $page['access']; ?>
</td> </td>
<td> <td class="visible-lg hidden-xs">
<?php echo Date::format($page['date'], "j.n.Y"); ?> <?php echo Date::format($page['date'], "j.n.Y"); ?>
</td> </td>
<td> <td>
<div class="pull-right"> <div class="pull-right">
<div class="btn-group"> <div class="btn-group">
<?php echo Html::anchor(__('Edit', 'pages'), 'index.php?id=pages&action=edit_page&name='.$page['slug'], array('class' => 'btn btn-primary')); ?> <?php echo Html::anchor(__('Edit', 'pages'), 'index.php?id=pages&action=edit_page&name='.$page['slug'], array('class' => 'btn btn-primary')); ?>
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
@@ -100,7 +99,6 @@
'index.php?id=pages&action=delete_page&name='.$page['slug'].'&token='.Security::token(), 'index.php?id=pages&action=delete_page&name='.$page['slug'].'&token='.Security::token(),
array('class' => 'btn btn-danger btn-actions btn-actions-default', 'onclick' => "return confirmDelete('".__("Delete page: :page", 'pages', array(':page' => Html::toText($page['title'])))."')")); array('class' => 'btn btn-danger btn-actions btn-actions-default', 'onclick' => "return confirmDelete('".__("Delete page: :page", 'pages', array(':page' => Html::toText($page['title'])))."')"));
?> ?>
</div> </div>
</td> </td>
</tr> </tr>