Add refresh button to the requirements page

refs #7163
refs #7587
This commit is contained in:
Johannes Meyer 2014-11-10 12:54:26 +01:00
parent 2bb7217d04
commit 5c9d7d6548
2 changed files with 28 additions and 1 deletions

View File

@ -17,12 +17,21 @@ $requirements = $form->getRequirements();
); ?>"><?= $requirement->message; ?></td> ); ?>"><?= $requirement->message; ?></td>
</tr> </tr>
<?php endforeach ?> <?php endforeach ?>
<tr>
<td></td>
<td></td>
<td class="btn-update">
<div class="buttons">
<a href="<?= $this->href(); ?>" class="button-like"><?= t('Update'); ?></a>
</div>
</td>
</tr>
</tbody> </tbody>
</table> </table>
<form id="<?= $form->getName(); ?>" name="<?= $form->getName(); ?>" enctype="<?= $form->getEncType(); ?>" method="<?= $form->getMethod(); ?>" action="<?= $form->getAction(); ?>"> <form id="<?= $form->getName(); ?>" name="<?= $form->getName(); ?>" enctype="<?= $form->getEncType(); ?>" method="<?= $form->getMethod(); ?>" action="<?= $form->getAction(); ?>">
<?= $form->getElement($form->getTokenElementName()); ?> <?= $form->getElement($form->getTokenElementName()); ?>
<?= $form->getElement($form->getUidElementName()); ?> <?= $form->getElement($form->getUidElementName()); ?>
<div class="buttons"> <div class="buttons" style="margin: 0 0 1.5em;">
<?= $form->getElement(Wizard::BTN_PREV); ?> <?= $form->getElement(Wizard::BTN_PREV); ?>
<?php <?php
$btn = $form->getElement(Wizard::BTN_NEXT); $btn = $form->getElement(Wizard::BTN_NEXT);

View File

@ -176,6 +176,24 @@
background-color: #fd7770; background-color: #fd7770;
} }
} }
&.btn-update {
padding-top: 0.3em;
text-align: center;
div.buttons {
margin: 0;
a.button-like {
padding: 0.2em 0.5em;
background-color: #888;
&:hover, &:focus {
background-color: #666;
}
}
}
}
} }
} }