conga/luci/plone-custom base.css.dtml colophon ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-09-19 14:48:21
Modified files:
luci/plone-custom: base.css.dtml colophon
failsafe_login_form.cpt footer global_personalbar global_sections login_failed login_form.cpt login_success
Added files:
luci/plone-custom: portlet_login
Removed files:
luci/plone-custom: portlet_login.cpt
Log message:
portal_login isn't a controller template, so remove .cpt extension
the rest is just whitespace cleanup
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/portlet_login.diff?cvsroot=cluster&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/base.css.dtml.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/colophon.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/failsafe_login_form.cpt.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/footer.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/global_personalbar.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/global_sections.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_failed.diff?cvsroot=cluster&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_form.cpt.diff?cvsroot=cluster&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/login_success.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/plone-custom/portlet_login.cpt.diff?cvsroot=cluster&r1=1.1&r2=NONE
luci/plone-custom/portlet_login +100 -110
@@ -1,125 +1,115 @@ <html xmlns:tal="http://xml.zope.org/namespaces/tal" - xmlns:metal="http://xml.zope.org/namespaces/metal" - i18n:domain="plone"> -<body tal:define="Iterator python:modules['Products.CMFPlone'].IndexIterator; - tabindex python:Iterator(mainSlot=False)"> -<div metal:define-macro="portlet" - tal:omit-tag="" - tal:define="pageloc python: request.URL.split('/')[-1]; - okToShowHere python: not pageloc in ('login_form', 'join_form'); - auth nocall:here/acl_users/credentials_cookie_auth|nothing" - tal:condition="python: isAnon and okToShowHere"> - -<tal:block tal:condition="python: here.siteIsSetup()"> -<dl class="portlet" - id="portlet-login" - tal:define="ac_name auth/name_cookie|string:__ac_name; - ac_password auth/pw_cookie|string:__ac_password; - ac_persist auth/persist_cookie|nothing; - join python:0; - canRegister python:0; - canRequestPassword python:0" - tal:condition="python: auth"> - - <dt class="portletHeader"> - <span class="portletTopLeft"></span> - <a href="#" - class="tile" - tal:attributes="href string:$portal_url/login_form" - i18n:translate="box_sign_in">Log in</a> - <span class="portletTopRight"></span> - </dt> - - <dd class="portletItem odd"> - <form action="login_form" - name="loginform" - method="post" - tal:attributes="action string:${portal_url}/login_form"> - - <input type="hidden" name="form.submitted" value="1" /> - <input type="hidden" name="came_from" value="" - tal:attributes="value context/@@plone/getCurrentUrl" /> - <input type="hidden" name="js_enabled" id="js_enabled" value="0" /> - <input type="hidden" name="cookies_enabled" id="cookies_enabled" value="" /> - <input type="hidden" name="login_name" id="login_name" value="" /> - <input type="hidden" name="pwd_empty" id="pwd_empty" value="0" /> - - <div class="field"> - <label for="" - tal:attributes="for ac_name" - i18n:translate="label_login_name">Login Name</label> - <br /> - <input type="text" - size="10" - alt="Login Name" - onclick="showCookieMessage('cookies_message')" - tal:attributes="name ac_name; id ac_name; - value python:request.get(ac_name, ''); - tabindex tabindex/next" - i18n:attributes="alt label_login_name;"/> - </div> - - <div class="field"> - <label for="" - tal:attributes="for ac_password" - i18n:translate="label_password">Password</label> - <br /> - <input type="password" - size="10" - alt="Password" - onclick="showCookieMessage('cookies_message')" - tal:attributes="name ac_password; id ac_password; - tabindex tabindex/next;" - i18n:attributes="alt label_password;"/> - </div> - - <div id="cookies_message" i18n:translate="enable_cookies_message" class="portalMessage" style="display:none"> - Cookies are not enabled. You must <span i18n:name="enable_cookies"> - <a href="enabling_cookies" i18n:translate="label_enable_cookies">enable cookies</a></span> before you can log in. - </div> - - <div class="formControls"> - - <input - type="submit" - name="submit" - value="Log in" - alt="Log in" - tal:attributes="tabindex tabindex/next; - onclick string:javascript:return setLoginVars('$ac_name','login_name','$ac_password','pwd_empty','js_enabled','cookies_enabled');" - i18n:attributes="value label_log_in; alt label_log_in;"/> - </div> - </form> - </dd> - - </dl> + xmlns:metal="http://xml.zope.org/namespaces/metal" + i18n:domain="plone"> +<body + tal:define="Iterator python:modules['Products.CMFPlone'].IndexIterator; + tabindex python:Iterator(mainSlot=False)"> +<div metal:define-macro="portlet" + tal:omit-tag="" + tal:define="pageloc python: request.URL.split('/')[-1]; + okToShowHere python: not pageloc in ('login_form', 'join_form'); + auth nocall:here/acl_users/credentials_cookie_auth|nothing" + tal:condition="python: isAnon and okToShowHere"> +<tal:block tal:condition="python: here.siteIsSetup()"> <dl class="portlet" - id="portlet-login" - tal:condition="python: not auth"> + id="portlet-login" + tal:define="ac_name auth/name_cookie|string:__ac_name; + ac_password auth/pw_cookie|string:__ac_password; + ac_persist auth/persist_cookie|nothing; + join python:0; + canRegister python:0; + canRequestPassword python:0" + tal:condition="python: auth"> + + <dt class="portletHeader"> + <span class="portletTopLeft"></span> + <a href="#" class="tile" + tal:attributes="href string:$portal_url/login_form" + i18n:translate="box_sign_in">Log in</a> + <span class="portletTopRight"></span> + </dt> + + <dd class="portletItem odd"> + <form action="login_form" name="loginform" method="post" + tal:attributes="action string:${portal_url}/login_form"> + + <input type="hidden" name="form.submitted" value="1" /> + <input type="hidden" name="came_from" value="" + tal:attributes="value context/@@plone/getCurrentUrl" /> + <input type="hidden" name="js_enabled" id="js_enabled" value="0" /> + <input type="hidden" name="cookies_enabled" id="cookies_enabled" value="" /> + <input type="hidden" name="login_name" id="login_name" value="" /> + <input type="hidden" name="pwd_empty" id="pwd_empty" value="0" /> + + <div class="field"> + <label for="" + tal:attributes="for ac_name" + i18n:translate="label_login_name">Login Name</label> + <br /> + <input type="text" + size="10" + alt="Login Name" + onclick="showCookieMessage('cookies_message')" + tal:attributes="name ac_name; id ac_name; + value python:request.get(ac_name, ''); + tabindex tabindex/next" + i18n:attributes="alt label_login_name;"/> + </div> + + <div class="field"> + <label for="" + tal:attributes="for ac_password" + i18n:translate="label_password">Password</label> + <br /> + <input type="password" size="10" alt="Password" + onclick="showCookieMessage('cookies_message')" + tal:attributes="name ac_password; id ac_password; + tabindex tabindex/next;" + i18n:attributes="alt label_password;" + /> + </div> + + <div id="cookies_message" i18n:translate="enable_cookies_message" class="portalMessage" style="display:none"> + Cookies are not enabled. You must <span i18n:name="enable_cookies"> + <a href="enabling_cookies" i18n:translate="label_enable_cookies">enable cookies</a></span> before you can log in. + </div> + + <div class="formControls"> + <input type="submit" name="submit" value="Log in" alt="Log in" + tal:attributes="tabindex tabindex/next; + onclick string:javascript:return setLoginVars('$ac_name','login_name','$ac_password','pwd_empty','js_enabled','cookies_enabled');" + i18n:attributes="value label_log_in; alt label_log_in;" + /> + </div> + </form> + </dd> +</dl> + +<dl class="portlet" id="portlet-login" + tal:condition="python: not auth"> - <dt class="portletHeader"> - <a href="#" - class="tile" - i18n:translate="box_sign_in">Log in</a> - </dt> - - <dd class="portletItem" - tal:condition="python: not auth" - i18n:translate="login_portlet_disabled"> - Cookie authentication is disabled. - Login portlet not available. - </dd> + <dt class="portletHeader"> + <a href="#" class="tile" + i18n:translate="box_sign_in">Log in</a> + </dt> + + <dd class="portletItem" + tal:condition="python: not auth" + i18n:translate="login_portlet_disabled"> + Cookie authentication is disabled. + Login portlet not available. + </dd> </dl> </tal:block> <div style="margin-top:1em" tal:condition="python: not here.siteIsSetup()"> - The Luci server has not been initialized. To initialize it, log in in to the server as root and run the command<br> - <code style="margin-left:+1.5em">luci_admin init</code> + The Luci server has not been initialized. To initialize it, log in in to the server as root and run the command + <br/><code style="margin-left:+1.5em">luci_admin init</code> </div>
luci/plone-custom/base.css.dtml +130 -130
382 lines not on this page · raw message
luci/plone-custom/colophon +9 -7
@@ -1,12 +1,14 @@ <html xmlns="http://www.w3.org/1999/xhtml" - xml:lang="en" lang="en" - i18n:domain="plone"> + xml:lang="en" lang="en" + i18n:domain="plone"> - <head><title></title></head> - <body> +<head> + <title></title> +</head> - <div id="portal-colophon" metal:define-macro="colophon" i18n:domain="plone"> - </div> +<body> + <div id="portal-colophon" metal:define-macro="colophon" i18n:domain="plone"> + </div> +</body> - </body> </html>
luci/plone-custom/failsafe_login_form.cpt +116 -129
275 lines not on this page · raw message
luci/plone-custom/footer +25 -19
55 lines not on this page · raw message
luci/plone-custom/global_personalbar +28 -29
73 lines not on this page · raw message
luci/plone-custom/global_sections +16 -18
@@ -1,30 +1,28 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" - i18n:domain="plone"> + i18n:domain="plone"> <head/> <body> -<!-- THE SECTION TABS DEFINITION --> <div metal:define-macro="portal_tabs" - tal:omit-tag="" - tal:define="tabs python:here.getTabs(request)"> + tal:omit-tag="" + tal:define="tabs python:here.getTabs(request)"> - <h5 class="hiddenStructure" i18n:translate="heading_sections">Sections</h5> + <h5 class="hiddenStructure" i18n:translate="heading_sections">Sections</h5> - <ul id="portal-globalnav"> - <tal:tabs tal:repeat="tab tabs"> - <li tal:attributes="id string:portaltab-${tab/Title}; - class python:test(tab['isSelected'], 'selected', 'plain');"> - <a href="" - tal:content="tab/Title" - tal:attributes="href tab/Taburl; - title tab/Description|nothing"> - Tab Name</a> - </li> - </tal:tabs> - </ul> + <ul id="portal-globalnav"> + <tal:tabs tal:repeat="tab tabs"> + <li tal:attributes="id string:portaltab-${tab/Title}; + class python:test(tab['isSelected'], 'selected', 'plain');"> + <a href="" + tal:content="tab/Title" + tal:attributes="href tab/Taburl; + title tab/Description|nothing" /> + </li> + </tal:tabs> + </ul> </div> </body> -</html> +</html>
luci/plone-custom/login_failed +53 -48
112 lines not on this page · raw message
luci/plone-custom/login_form.cpt +110 -134
276 lines not on this page · raw message
luci/plone-custom/login_success +45 -48
104 lines not on this page · raw message