Author: agilliland
Date: Wed May 23 18:30:08 2007
New Revision: 541130

URL: http://svn.apache.org/viewvc?view=rev&rev=541130
Log:
adding in 3 more jsps which somehow seem to have gone missing a previous commit.


Added:
    roller/trunk/web/WEB-INF/jsps/admin/CommonPingTargetEdit.jsp
    roller/trunk/web/WEB-INF/jsps/admin/CommonPingTargets.jsp
    roller/trunk/web/WEB-INF/jsps/admin/UserAdmin.jsp

Added: roller/trunk/web/WEB-INF/jsps/admin/CommonPingTargetEdit.jsp
URL: 
http://svn.apache.org/viewvc/roller/trunk/web/WEB-INF/jsps/admin/CommonPingTargetEdit.jsp?view=auto&rev=541130
==============================================================================
--- roller/trunk/web/WEB-INF/jsps/admin/CommonPingTargetEdit.jsp (added)
+++ roller/trunk/web/WEB-INF/jsps/admin/CommonPingTargetEdit.jsp Wed May 23 
18:30:08 2007
@@ -0,0 +1,44 @@
+<%--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  The ASF licenses this file to You
+  under the Apache License, Version 2.0 (the "License"); you may not
+  use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.  For additional information regarding
+  copyright in this work, please see the NOTICE file in the top level
+  directory of this distribution.
+--%>
+<%@ include file="/WEB-INF/jsps/taglibs-struts2.jsp" %>
+
+<p class="subtitle">
+<s:text name="commonPingTarget.subtitle"/>
+</p>
+
+<s:form action="commonPingTargetEdit!save" >
+    <s:hidden name="bean.id" />
+    
+    <div class="formrow">
+       <label for="name" class="formrow"><s:text name="pingTarget.name" 
/></label>
+       <s:textfield name="bean.name" size="30" maxlength="30" />
+    </div>
+
+    <div class="formrow">
+       <label for="pingUrl" class="formrow"><s:text name="pingTarget.pingUrl" 
/></label>
+       <s:textfield name="bean.pingUrl" size="100" maxlength="255" />
+    </div>
+
+    <p/>
+    <div class="formrow">
+       <label for="" class="formrow">&nbsp;</label>
+       <s:submit key="pingTarget.save" />
+       <s:submit key="pingTarget.cancel" action="commonPingTargets" />
+    </div>
+
+</s:form>

Added: roller/trunk/web/WEB-INF/jsps/admin/CommonPingTargets.jsp
URL: 
http://svn.apache.org/viewvc/roller/trunk/web/WEB-INF/jsps/admin/CommonPingTargets.jsp?view=auto&rev=541130
==============================================================================
--- roller/trunk/web/WEB-INF/jsps/admin/CommonPingTargets.jsp (added)
+++ roller/trunk/web/WEB-INF/jsps/admin/CommonPingTargets.jsp Wed May 23 
18:30:08 2007
@@ -0,0 +1,105 @@
+<%--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  The ASF licenses this file to You
+  under the Apache License, Version 2.0 (the "License"); you may not
+  use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.  For additional information regarding
+  copyright in this work, please see the NOTICE file in the top level
+  directory of this distribution.
+--%>
+<%@ include file="/WEB-INF/jsps/taglibs-struts2.jsp" %>
+
+<p class="subtitle">
+    <s:text name="commonPingTargets.subtitle" />
+</p>
+
+<p/><s:text name="commonPingTargets.explanation"/><p/>
+
+<table class="rollertable">
+
+<%-- Headings --%>
+<tr class="rollertable">
+    <th class="rollertable" width="20%%"><s:text name="pingTarget.name" /></th>
+    <th class="rollertable" width="55%"><s:text name="pingTarget.pingUrl" 
/></th>
+    <th class="rollertable" width="15%" colspan="2"><s:text 
name="pingTarget.autoEnabled" /></th>
+    <th class="rollertable" width="5%"><s:text name="pingTarget.edit" /></th>
+    <th class="rollertable" width="5%"><s:text name="pingTarget.remove" /></th>
+</tr>
+
+<%-- Listing of current common targets --%>
+<s:iterator id="pingTarget" value="pingTargets" status="rowstatus">
+    
+    <s:if test="#rowstatus.odd == true">
+        <tr class="rollertable_odd">
+    </s:if>
+    <s:else>
+        <tr class="rollertable_even">
+    </s:else>
+    
+    <td class="rollertable"><s:property value="#pingTarget.name" /></td>
+    
+    <td class="rollertable"><s:property value="#pingTarget.pingUrl" /></td>
+    
+    <!-- TODO: Use icons here -->
+    <td class="rollertable" align="center" >
+        <s:if test="#pingTarget.autoEnabled">
+            <span style="{color: #00aa00; font-weight: bold;}"><s:text 
name="pingTarget.enabled"/></span>&nbsp;
+        </s:if>
+        <s:else>
+            <span style="{color: #aaaaaa; font-weight: bold;}"><s:text 
name="pingTarget.disabled"/></span>&nbsp;
+        </s:else>
+    </td>
+    
+    <!-- TODO: Use icons here -->
+    <td class="rollertable" align="center" >
+        <s:if test="#pingTarget.autoEnabled">
+            <s:url id="disablePing" action="commonPingTargets!disable">
+                <s:param name="pingTargetId" value="#pingTarget.id" />
+            </s:url>
+            <a href="<s:url value="%{disablePing}"/>"><s:text 
name="pingTarget.disable"/></a>
+        </s:if>
+        <s:else>
+            <s:url id="enablePing" action="commonPingTargets!enable">
+                <s:param name="pingTargetId" value="#pingTarget.id" />
+            </s:url>
+            <a href="<s:url value="%{enablePing}"/>"><s:text 
name="pingTarget.enable"/></a>
+        </s:else>
+    </td>
+    
+    <td class="rollertable" align="center">
+        <s:url id="editPing" action="commonPingTargetEdit">
+            <s:param name="bean.id" value="#pingTarget.id" />
+        </s:url>
+        <a href="<s:url value="%{editPing}"/>">
+            <img src='<c:url value="/images/page_white_edit.png"/>' border="0" 
alt="<s:text name="pingTarget.edit" />" />
+        </a>
+    </td>
+    
+    <td class="rollertable" align="center">
+        <s:url id="removePing" action="commonPingTargets!deleteConfirm">
+            <s:param name="pingTargetId" value="#pingTarget.id" />
+        </s:url>
+        <a href="<s:url value="%{removePing}"/>">
+            <img src='<c:url value="/images/delete.png"/>' border="0" 
alt="<s:text name="pingTarget.remove" />" />
+        </a>
+    </td>
+    
+    </tr>
+</s:iterator>
+
+</table>
+
+<br />
+
+<div class="control">
+    <s:url id="addPing" action="commonPingTargetAdd" />
+    <s:a href="%{addPing}">Add Ping Target</s:a>
+</div>

Added: roller/trunk/web/WEB-INF/jsps/admin/UserAdmin.jsp
URL: 
http://svn.apache.org/viewvc/roller/trunk/web/WEB-INF/jsps/admin/UserAdmin.jsp?view=auto&rev=541130
==============================================================================
--- roller/trunk/web/WEB-INF/jsps/admin/UserAdmin.jsp (added)
+++ roller/trunk/web/WEB-INF/jsps/admin/UserAdmin.jsp Wed May 23 18:30:08 2007
@@ -0,0 +1,55 @@
+<%--
+  Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  The ASF licenses this file to You
+  under the Apache License, Version 2.0 (the "License"); you may not
+  use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.  For additional information regarding
+  copyright in this work, please see the NOTICE file in the top level
+  directory of this distribution.
+--%>
+<%@ include file="/WEB-INF/jsps/taglibs-struts2.jsp" %>
+
+<script type="text/javascript">
+<!-- //
+<%@ include file="/roller-ui/scripts/ajax-user.js" %>
+// -->
+</script> 
+
+<p class="subtitle"><s:text name="userAdmin.subtitle.searchUser" /></p>
+<p><s:text name="userAdmin.prompt.searchUser" /></p>
+
+<s:form action="modifyUser" method="GET">
+    
+    <span style="margin:4px"><s:text name="inviteMember.userName" /></span>
+    <input name="userName" id="userName" size="30" maxlength="30" 
+           onfocus="onUserNameFocus(null)" onkeyup="onUserNameChange(null)" 
+           style="margin:4px" />
+    <input type="submit" value='<s:text name="userAdmin.edit" />' 
+           style="margin:4px" />
+    <br />
+    <select id="userList" size="10" onchange="onUserSelected()" 
+            style="width:300px; margin:4px" ></select>
+    
+</s:form>
+
+<p class="subtitle"><s:text name="userAdmin.subtitle.userCreation" /></p>
+<s:text name="userAdmin.prompt.orYouCan" />
+<s:url action="createUser" id="createUser" />
+<a href="<s:property value="createUser" />">
+    <s:text name="userAdmin.prompt.createANewUser" />
+</a>
+
+<%-- this forces focus to the userName field --%>
+<script type="text/javascript">
+<!--
+    document.getElementById('userName').focus();
+// -->
+</script>


Reply via email to