Author: sevein
Date: Fri Sep 30 12:44:51 2011
New Revision: 9884
Log:
Delete button in red
Modified:
trunk/apps/qubit/modules/digitalobject/templates/_editRepresentation.php
trunk/apps/qubit/modules/digitalobject/templates/editSuccess.php
trunk/apps/qubit/modules/informationobject/templates/_actions.php
trunk/apps/qubit/modules/menu/templates/editSuccess.php
trunk/apps/qubit/modules/oai/templates/harvesterListSuccess.php
trunk/apps/qubit/modules/physicalobject/templates/indexSuccess.php
trunk/apps/qubit/modules/rightsholder/templates/indexSuccess.php
trunk/apps/qubit/modules/term/templates/indexSuccess.php
trunk/apps/qubit/modules/user/templates/_showActions.php
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/_showActions.php
trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexSuccess.php
trunk/plugins/qtAccessionPlugin/modules/accession/templates/indexSuccess.php
trunk/plugins/qtAccessionPlugin/modules/deaccession/templates/indexSuccess.php
trunk/plugins/qtAccessionPlugin/modules/donor/templates/indexSuccess.php
trunk/plugins/qtTrilliumPlugin/css/less/_misc.less
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/indexSuccess.php
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/indexSuccess.php
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/indexSuccess.php
Modified:
trunk/apps/qubit/modules/digitalobject/templates/_editRepresentation.php
==============================================================================
--- trunk/apps/qubit/modules/digitalobject/templates/_editRepresentation.php
Fri Sep 30 12:25:23 2011 (r9883)
+++ trunk/apps/qubit/modules/digitalobject/templates/_editRepresentation.php
Fri Sep 30 12:44:51 2011 (r9884)
@@ -16,7 +16,7 @@
<?php echo render_show(__('Filesize'),
hr_filesize($representation->byteSize)) ?>
- <?php echo link_to(__('Delete'), array($representation, 'module' =>
'digitalobject', 'action' => 'delete')) ?>
+ <?php echo link_to(__('Delete'), array($representation, 'module' =>
'digitalobject', 'action' => 'delete'), array('class' => 'delete')) ?>
</div>
Modified: trunk/apps/qubit/modules/digitalobject/templates/editSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/digitalobject/templates/editSuccess.php Fri Sep
30 12:25:23 2011 (r9883)
+++ trunk/apps/qubit/modules/digitalobject/templates/editSuccess.php Fri Sep
30 12:44:51 2011 (r9884)
@@ -73,7 +73,7 @@
<ul class="clearfix links">
<?php if (isset($sf_request->getAttribute('sf_route')->resource)): ?>
- <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'digitalobject', 'action' => 'delete')) ?></li>
+ <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'digitalobject', 'action' => 'delete'), array('class' => 'delete')) ?></li>
<?php endif; ?>
<li><?php echo link_to(__('Cancel'), array($informationObject,
'module' => 'informationobject')) ?></li>
Modified: trunk/apps/qubit/modules/informationobject/templates/_actions.php
==============================================================================
--- trunk/apps/qubit/modules/informationobject/templates/_actions.php Fri Sep
30 12:25:23 2011 (r9883)
+++ trunk/apps/qubit/modules/informationobject/templates/_actions.php Fri Sep
30 12:44:51 2011 (r9884)
@@ -10,7 +10,7 @@
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'delete')): ?>
- <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'informationobject', 'action' => 'delete')) ?></li>
+ <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'informationobject', 'action' => 'delete'), array('class' => 'delete')) ?></li>
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'create')): ?>
Modified: trunk/apps/qubit/modules/menu/templates/editSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/menu/templates/editSuccess.php Fri Sep 30
12:25:23 2011 (r9883)
+++ trunk/apps/qubit/modules/menu/templates/editSuccess.php Fri Sep 30
12:44:51 2011 (r9884)
@@ -52,7 +52,7 @@
<li><?php echo link_to(__('Cancel'), array('module' => 'menu',
'action' => 'list')) ?></li>
<?php if (!$menu->isProtected()): ?>
- <li><?php echo link_to(__('Delete'), array($menu, 'module' =>
'menu', 'action' => 'delete')) ?></li>
+ <li><?php echo link_to(__('Delete'), array($menu, 'module' =>
'menu', 'action' => 'delete'), array('class' => 'delete')) ?></li>
<?php endif; ?>
<li><input class="form-submit" type="submit" value="<?php echo
__('Save') ?>"/></li>
Modified: trunk/apps/qubit/modules/oai/templates/harvesterListSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/oai/templates/harvesterListSuccess.php Fri Sep
30 12:25:23 2011 (r9883)
+++ trunk/apps/qubit/modules/oai/templates/harvesterListSuccess.php Fri Sep
30 12:44:51 2011 (r9884)
@@ -21,7 +21,7 @@
<?php echo link_to(__('Harvest'), array('module' => 'oai', 'action' =>
'harvest', 'next' => $harvestJob->id)) ?>
<?php endforeach; ?>
</td><td>
- <?php echo link_to(__('Delete'), array('module' => 'oai', 'action' =>
'deleteRepository')) ?>
+ <?php echo link_to(__('Delete'), array('module' => 'oai', 'action' =>
'deleteRepository'), array('class' => 'delete')) ?>
</td>
</tr>
<?php endforeach; ?>
Modified: trunk/apps/qubit/modules/physicalobject/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/physicalobject/templates/indexSuccess.php Fri Sep
30 12:25:23 2011 (r9883)
+++ trunk/apps/qubit/modules/physicalobject/templates/indexSuccess.php Fri Sep
30 12:44:51 2011 (r9884)
@@ -31,7 +31,7 @@
<div class="content">
<ul class="clearfix links">
<li><?php echo link_to(__('Edit'), array($resource, 'module' =>
'physicalobject', 'action' => 'edit')) ?></li>
- <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'physicalobject', 'action' => 'delete', 'next' => $sf_request->getReferer()))
?></li>
+ <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'physicalobject', 'action' => 'delete', 'next' => $sf_request->getReferer()),
array('class' => 'delete')) ?></li>
</ul>
</div>
Modified: trunk/apps/qubit/modules/rightsholder/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/rightsholder/templates/indexSuccess.php Fri Sep
30 12:25:23 2011 (r9883)
+++ trunk/apps/qubit/modules/rightsholder/templates/indexSuccess.php Fri Sep
30 12:44:51 2011 (r9884)
@@ -36,7 +36,7 @@
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'delete')): ?>
- <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'rightsholder', 'action' => 'delete'), array('title' => __('Delete'))) ?></li>
+ <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'rightsholder', 'action' => 'delete'), array('class' => 'delete', 'title' =>
__('Delete'))) ?></li>
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'create')): ?>
Modified: trunk/apps/qubit/modules/term/templates/indexSuccess.php
==============================================================================
--- trunk/apps/qubit/modules/term/templates/indexSuccess.php Fri Sep 30
12:25:23 2011 (r9883)
+++ trunk/apps/qubit/modules/term/templates/indexSuccess.php Fri Sep 30
12:44:51 2011 (r9884)
@@ -129,7 +129,7 @@
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'delete') &&
!$resource->isProtected()): ?>
- <li><?php echo link_to (__('Delete'), array($resource, 'module' =>
'term', 'action' => 'delete')) ?></li>
+ <li><?php echo link_to (__('Delete'), array($resource, 'module' =>
'term', 'action' => 'delete'), array('class' => 'delete')) ?></li>
<?php endif; ?>
<?php if (QubitAcl::check($resource->taxonomy, 'createTerm')): ?>
Modified: trunk/apps/qubit/modules/user/templates/_showActions.php
==============================================================================
--- trunk/apps/qubit/modules/user/templates/_showActions.php Fri Sep 30
12:25:23 2011 (r9883)
+++ trunk/apps/qubit/modules/user/templates/_showActions.php Fri Sep 30
12:44:51 2011 (r9884)
@@ -10,7 +10,7 @@
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'delete')): ?>
- <li><?php echo link_to (__('Delete'), array($resource, 'module' =>
'user', 'action' => 'delete')) ?></li>
+ <li><?php echo link_to (__('Delete'), array($resource, 'module' =>
'user', 'action' => 'delete'), array('class' => 'delete')) ?></li>
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'create')): ?>
Modified: trunk/plugins/qbAclPlugin/modules/aclGroup/templates/_showActions.php
==============================================================================
--- trunk/plugins/qbAclPlugin/modules/aclGroup/templates/_showActions.php
Fri Sep 30 12:25:23 2011 (r9883)
+++ trunk/plugins/qbAclPlugin/modules/aclGroup/templates/_showActions.php
Fri Sep 30 12:44:51 2011 (r9884)
@@ -12,7 +12,7 @@
<?php endif; ?>
<?php if (QubitAcl::check($group, 'delete')): ?>
- <li><?php echo link_to (__('Delete'), array($group, 'module' =>
'aclGroup', 'action' => 'delete')) ?></li>
+ <li><?php echo link_to (__('Delete'), array($group, 'module' =>
'aclGroup', 'action' => 'delete'), array('class' => 'delete')) ?></li>
<?php endif; ?>
<?php if (QubitAcl::check($group, 'create')): ?>
Modified: trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexSuccess.php
Fri Sep 30 12:25:23 2011 (r9883)
+++ trunk/plugins/qbAclPlugin/modules/aclGroup/templates/indexSuccess.php
Fri Sep 30 12:44:51 2011 (r9884)
@@ -28,7 +28,7 @@
<?php endif; ?>
<?php if (QubitAcl::check($group, 'delete')): ?>
- <li><?php echo link_to (__('Delete'), array($group, 'module' =>
'aclGroup', 'action' => 'delete')) ?></li>
+ <li><?php echo link_to (__('Delete'), array($group, 'module' =>
'aclGroup', 'action' => 'delete'), array('class' => 'delete')) ?></li>
<?php endif; ?>
<?php if (QubitAcl::check($group, 'create')): ?>
Modified:
trunk/plugins/qtAccessionPlugin/modules/accession/templates/indexSuccess.php
==============================================================================
---
trunk/plugins/qtAccessionPlugin/modules/accession/templates/indexSuccess.php
Fri Sep 30 12:25:23 2011 (r9883)
+++
trunk/plugins/qtAccessionPlugin/modules/accession/templates/indexSuccess.php
Fri Sep 30 12:44:51 2011 (r9884)
@@ -129,7 +129,7 @@
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'delete')): ?>
- <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'accession', 'action' => 'delete')) ?></li>
+ <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'accession', 'action' => 'delete'), array('class' => 'delete')) ?></li>
<?php endif; ?>
<li><?php echo link_to(__('Deaccession'), array('module' =>
'deaccession', 'action' => 'add', 'accession' => $resource->id)) ?></li>
Modified:
trunk/plugins/qtAccessionPlugin/modules/deaccession/templates/indexSuccess.php
==============================================================================
---
trunk/plugins/qtAccessionPlugin/modules/deaccession/templates/indexSuccess.php
Fri Sep 30 12:25:23 2011 (r9883)
+++
trunk/plugins/qtAccessionPlugin/modules/deaccession/templates/indexSuccess.php
Fri Sep 30 12:44:51 2011 (r9884)
@@ -43,7 +43,7 @@
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'delete')): ?>
- <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'deaccession', 'action' => 'delete')) ?></li>
+ <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'deaccession', 'action' => 'delete'), array('class' => 'delete')) ?></li>
<?php endif; ?>
</ul>
Modified:
trunk/plugins/qtAccessionPlugin/modules/donor/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/qtAccessionPlugin/modules/donor/templates/indexSuccess.php
Fri Sep 30 12:25:23 2011 (r9883)
+++ trunk/plugins/qtAccessionPlugin/modules/donor/templates/indexSuccess.php
Fri Sep 30 12:44:51 2011 (r9884)
@@ -36,7 +36,7 @@
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'delete')): ?>
- <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'donor', 'action' => 'delete'), array('title' => __('Delete'))) ?></li>
+ <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'donor', 'action' => 'delete'), array('class' => 'delete', 'title' =>
__('Delete'))) ?></li>
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'create')): ?>
Modified: trunk/plugins/qtTrilliumPlugin/css/less/_misc.less
==============================================================================
--- trunk/plugins/qtTrilliumPlugin/css/less/_misc.less Fri Sep 30 12:25:23
2011 (r9883)
+++ trunk/plugins/qtTrilliumPlugin/css/less/_misc.less Fri Sep 30 12:44:51
2011 (r9884)
@@ -38,7 +38,7 @@
// This is not working: .btn > .primary;
#gradient > .vertical(@blue, @blueDark);
- color: #fff;
+ color: White;
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
border-color: @blueDark @blueDark darken(@blueDark, 15%);
border-color: rgba(0,0,0,.1) rgba(0,0,0,.1) fadein(rgba(0,0,0,.1), 15%);
@@ -51,6 +51,20 @@
}
+ .delete {
+
+ #gradient > .vertical(#ee5f5b, #c43c35);
+ text-shadow: 0 0 0;
+ color: White;
+
+ &:hover {
+
+ color: #fff;
+
+ }
+
+ }
+
h2 {
border: 0 !important;
Modified:
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/indexSuccess.php
==============================================================================
---
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/indexSuccess.php
Fri Sep 30 12:25:23 2011 (r9883)
+++
trunk/plugins/sfIsaarPlugin/modules/sfIsaarPlugin/templates/indexSuccess.php
Fri Sep 30 12:44:51 2011 (r9884)
@@ -166,7 +166,7 @@
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'delete')): ?>
- <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'actor', 'action' => 'delete'), array('title' => __('Delete'))) ?></li>
+ <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'actor', 'action' => 'delete'), array('class' => 'delete', 'title' =>
__('Delete'))) ?></li>
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'create')): ?>
Modified:
trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/indexSuccess.php
==============================================================================
--- trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/indexSuccess.php
Fri Sep 30 12:25:23 2011 (r9883)
+++ trunk/plugins/sfIsdfPlugin/modules/sfIsdfPlugin/templates/indexSuccess.php
Fri Sep 30 12:44:51 2011 (r9884)
@@ -186,7 +186,7 @@
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'delete')): ?>
- <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'function', 'action' => 'delete'), array('title' => __('Delete'))) ?></li>
+ <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'function', 'action' => 'delete'), array('class' => 'delete', 'title' =>
__('Delete'))) ?></li>
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'create')): ?>
Modified:
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/indexSuccess.php
==============================================================================
---
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/indexSuccess.php
Fri Sep 30 12:25:23 2011 (r9883)
+++
trunk/plugins/sfIsdiahPlugin/modules/sfIsdiahPlugin/templates/indexSuccess.php
Fri Sep 30 12:44:51 2011 (r9884)
@@ -159,7 +159,7 @@
<li><?php echo link_to(__('Edit'), array($resource, 'module' =>
'repository', 'action' => 'edit'), array('title' => __('Edit'))) ?></li>
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'delete')): ?>
- <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'repository', 'action' => 'delete'), array('title' => __('Delete'))) ?></li>
+ <li><?php echo link_to(__('Delete'), array($resource, 'module' =>
'repository', 'action' => 'delete'), array('class' => 'delete', 'title' =>
__('Delete'))) ?></li>
<?php endif; ?>
<?php if (QubitAcl::check($resource, 'create')): ?>
<li><?php echo link_to(__('Add new'), array('module' => 'repository',
'action' => 'add'), array('title' => __('Add new'))) ?></li>
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.