CVS: Products/PluggableAuthService/plugins/www - cpcAdd.zpt:1.2 cpcEdit.zpt:1.2 rtsAdd.zpt:1.2

Sidnei da Silva <[email protected]>
Newsgroups gmane.comp.web.zope.public-cvs
Message-ID <[email protected]>
Update of /cvs-repository/Products/PluggableAuthService/plugins/www
In directory cvs.zope.org:/tmp/cvs-serv22686/plugins/www

Added Files:
	cpcAdd.zpt cpcEdit.zpt rtsAdd.zpt 
Log Message:

- Update to HEAD, had branched from an old version
- Move more stuff to use zope.interface
- Don't assume because zope.interface can be imported that Five can be imported too


=== Products/PluggableAuthService/plugins/www/cpcAdd.zpt 1.1 => 1.2 ===
--- /dev/null	Tue Aug 16 18:21:32 2005
+++ Products/PluggableAuthService/plugins/www/cpcAdd.zpt	Tue Aug 16 18:21:02 2005
@@ -0,0 +1,49 @@
+<h1 tal:replace="structure here/manage_page_header">Header</h1>
+<h1 tal:replace="structure here/manage_tabs">Tabs</h1>
+
+<h2 tal:define="form_title string:Add a Challenge Protocol Chooser Plugin"
+    tal:replace="structure here/manage_form_title">Form Title</h2>
+
+
+<p class="form-help">
+Challenge Protocol Chooser Plugins select the protocol to be used for
+challenge based on the incoming request.
+</p>
+
+<form action="addChallengeProtocolChooserPlugin" method="post" 
+ enctype="multipart/form-data">
+<table cellspacing="0" cellpadding="2" border="0">
+  <tr>
+    <td align="left" valign="top">
+    <div class="form-label">
+    Id
+    </div>
+    </td>
+    <td align="left" valign="top">
+    <input type="text" name="id" size="40" />
+    </td>
+  </tr>
+  <tr>
+    <td align="left" valign="top">
+    <div class="form-optional">
+    Title
+    </div>
+    </td>
+    <td align="left" valign="top">
+    <input type="text" name="title" size="40" />
+    </td>
+  </tr>
+  <tr>
+    <td align="left" valign="top">
+    </td>
+    <td align="left" valign="top">
+    <div class="form-element">
+    <input class="form-element" type="submit" name="submit" 
+     value=" Add " /> 
+    </div>
+    </td>
+  </tr>
+</table>
+</form>
+
+<h1 tal:replace="structure here/manage_page_footer">Footer</h1>


=== Products/PluggableAuthService/plugins/www/cpcEdit.zpt 1.1 => 1.2 ===
--- /dev/null	Tue Aug 16 18:21:32 2005
+++ Products/PluggableAuthService/plugins/www/cpcEdit.zpt	Tue Aug 16 18:21:02 2005
@@ -0,0 +1,59 @@
+<h1 tal:replace="structure here/manage_page_header">Header</h1>
+
+<h2 tal:define="global manage_tabs_message request/manage_tabs_message | nothing;
+		form_title string:Challenge Protocol Mapping"
+    tal:replace="structure here/manage_tabs"> TABS </h2>
+
+<tal:block tal:define="info options/info">
+
+  <h3> Protocol Mapping </h3>
+
+  <form action="manage_updateProtocolMapping" method="POST">
+
+    <table cellpadding="2" cellspacing="0">
+
+      <tr>
+	<th align="left"> Request Type </th>
+	<th align="left"> Protocols </th>
+      </tr>
+
+      <tr class="row-hilite"
+	  tal:repeat="entry info" 
+	  tal:attributes="class python:repeat['entry'].odd() and 'row-normal' or default"
+	  >
+	<td class="form-label"
+	    tal:content="entry/label">
+	  Request Type
+	</td>
+	<td class="form-text">
+	  <select name="mapping.name:record:list"
+		  tal:attributes="name string:mapping.${entry/label}:list:record"
+		  type="multiple"
+		  multiple="multiple"
+		  size="3">
+	    <tal:block repeat="protocol entry/settings">
+	      <option tal:content="protocol/label"
+		      tal:attributes="selected protocol/selected;
+				      value protocol/value">
+		Protocol
+	      </option>
+	    </tal:block>
+	  </select>
+	</td>
+      </tr>
+
+      <tr>
+	<td />
+	<td colspan="3">
+	  <input type="submit"
+		 value=" Update Mapping " />
+	</td>
+      </tr>
+
+    </table>
+  </form>
+
+
+</tal:block>
+
+<h1 tal:replace="structure here/manage_page_footer">Footer</h1>


=== Products/PluggableAuthService/plugins/www/rtsAdd.zpt 1.1 => 1.2 ===
--- /dev/null	Tue Aug 16 18:21:32 2005
+++ Products/PluggableAuthService/plugins/www/rtsAdd.zpt	Tue Aug 16 18:21:02 2005
@@ -0,0 +1,49 @@
+<h1 tal:replace="structure here/manage_page_header">Header</h1>
+<h1 tal:replace="structure here/manage_tabs">Tabs</h1>
+
+<h2 tal:define="form_title string:Add a Request Type Sniffer Plugin"
+    tal:replace="structure here/manage_form_title">Form Title</h2>
+
+
+<p class="form-help">
+Request Type Sniffer Plugins detect the kind of a incoming request for
+later use by other plugins.
+</p>
+
+<form action="addRequestTypeSnifferPlugin" method="post" 
+ enctype="multipart/form-data">
+<table cellspacing="0" cellpadding="2" border="0">
+  <tr>
+    <td align="left" valign="top">
+    <div class="form-label">
+    Id
+    </div>
+    </td>
+    <td align="left" valign="top">
+    <input type="text" name="id" size="40" />
+    </td>
+  </tr>
+  <tr>
+    <td align="left" valign="top">
+    <div class="form-optional">
+    Title
+    </div>
+    </td>
+    <td align="left" valign="top">
+    <input type="text" name="title" size="40" />
+    </td>
+  </tr>
+  <tr>
+    <td align="left" valign="top">
+    </td>
+    <td align="left" valign="top">
+    <div class="form-element">
+    <input class="form-element" type="submit" name="submit" 
+     value=" Add " /> 
+    </div>
+    </td>
+  </tr>
+</table>
+</form>
+
+<h1 tal:replace="structure here/manage_page_footer">Footer</h1>

_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.