[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin

o added css to add property form


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952527 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Maria Odea B. Ching 2010-06-08 03:47:14 +00:00
parent f46924e443
commit f5b6dcb189
2 changed files with 5 additions and 1 deletions

View File

@ -24,7 +24,8 @@
<div>
<div>
<div id="effect" class="ui-widget-content ui-corner-all">
<h3 class="ui-widget-header ui-corner-all">Add Property</h3>
<redback:ifAuthorized permission="archiva-add-metadata" resource="${repositoryId}">
<s:form action="addMetadataProperty" namespace="/" method="post" validate="true" theme="simple">
<s:hidden name="groupId" value="%{groupId}" />

View File

@ -404,3 +404,6 @@
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel { padding: 1em 1.4em; display: block; border-width: 0; background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }
/* Add Metadata Property -------------------------------------------------*/
#effect { width: 450px; height: 90px; padding: 0.4em; position: relative; }
#effect h3 { margin: 0; padding: 0.4em; text-align: center; color: #FFFFFF}