Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item23: more de-twikiing, icon work, login screen
git-svn-id: http://svn.foswiki.org/trunk/NatSkin@598 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
MichaelDaum
authored and
MichaelDaum
committed
Nov 13, 2008
1 parent
1168c5d
commit 2c771aa
Showing
21 changed files
with
92 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package TWiki::Contrib::NatSkin; | ||
use vars qw($VERSION $RELEASE); | ||
$VERSION = '$Rev$'; | ||
$RELEASE = '3.00-pre26'; | ||
$RELEASE = '3.00-pre27'; | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,44 @@ | ||
<!-- template: loginbase.tmpl --> | ||
%TMPL:DEF{"onloadscript"}%if (document.LogonForm) {document.LogonForm.username.focus();} %TMPL:END% | ||
%TMPL:DEF{"rememberbox"}%<div class="natRememberMe"> | ||
%TMPL:DEF{"rememberbox"}%<!-- rememberbox --> | ||
<div class="twikiFormStep natRememberMe"> | ||
<label> | ||
<input name="remember" class="twikiCheckbox" type="checkbox" value="1" /> | ||
%MAKETEXT{"Remember me on this computer"}% | ||
</label> | ||
</div>%TMPL:END% | ||
%TMPL:DEF{"logon"}%<!-- --> | ||
<div class="natLogonFormHolder"> | ||
<form name="LogonForm" action="%IFDEFINED{"%HTTPSLOGON%" as ="on" then="https" else="http"}%://%HTTP_HOST%%SCRIPTURLPATH{"login"}%/%WEB%/%TOPIC%" method="post"> | ||
<table class="natLogonForm" border="0"> | ||
<tr class="natLogonFormLogin"> | ||
<th class="twikiFirstCol"><b>%MAKETEXT{"Username"}%</b>: </th> | ||
<td><input type="text" size="20" name="username" value='%URLPARAM{"usernamestep"}%' /> | ||
<span class="twikiAlert">**</span> | ||
</td> | ||
</tr> | ||
<tr class="natLogonFormPassword"> | ||
<th class="twikiFirstCol"><b>%MAKETEXT{"Password"}%</b>: </th> | ||
<td><input type="password" size="20" name="password" /> | ||
<span class="twikiAlert">**</span> | ||
</td> | ||
</tr> | ||
<tr class="natLogonFormButtons"> | ||
<th class="twikiFirstCol"> </th> | ||
<td> %TMPL:P{context="can_remember_login" then="rememberbox"}% | ||
<input type="submit" class="natOkButton" value='%MAKETEXT{"Log in"}%' /> | ||
<input type="reset" class="natAltButton" value='%MAKETEXT{"Clear"}%' /> | ||
<input type="button" class="natCancelButton" value='%MAKETEXT{"Cancel"}%' onclick="window.location.href='%WIKILOGOURL%'" /> | ||
<input type="hidden" name="web" value="%WEB%" /> | ||
<input type="hidden" name="topic" value="%TOPIC%" /> | ||
<input type="hidden" name="action" value="%TMPL:P{action}%"/> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
<!-- //rememberbox -->%TMPL:END% | ||
%TMPL:DEF{"logon"}%<!-- logon --> | ||
<form id="LogonForm" name="LogonForm" action="%IFDEFINED{"%HTTPSLOGON%" as ="on" then="https" else="http"}%://%HTTP_HOST%%SCRIPTURLPATH{"login"}%/%WEB%/%TOPIC%" method="post"> | ||
<input type="hidden" name="web" value="%WEB%" /> | ||
<input type="hidden" name="topic" value="%TOPIC%" /> | ||
<input type="hidden" name="action" value="%TMPL:P{action}%"/> | ||
<input type="hidden" name="origurl" value="%IFDEFINED{"%ORIGURL%"}%" /> | ||
<input type="submit" style="display:none" /> | ||
<div class="twikiFormStep"> | ||
---+++ %MAKETEXT{"Username"}%: | ||
<input type="text" class="twikiFormField required" size="20" id="username" name="username" value='%URLPARAM{"usernamestep"}%' /> | ||
</div> | ||
<div class="twikiFormStep"> | ||
---+++ %MAKETEXT{"Password"}%: | ||
<input type="password" class="twikiFormField required" size="20" id="password" name="password" /> | ||
</div> | ||
%TMPL:P{context="can_remember_login" then="rememberbox"}% | ||
<div class="twikiFormStep natLogonFormButtons"> | ||
%BUTTON{"%MAKETEXT{"Log In"}%" icon="tick" onclick="$('#LogonForm').submit()"}% | ||
%BUTTON{"%MAKETEXT{"Cancel"}%" icon="cross" target="%WIKILOGOURL%"}% | ||
<span class="twikiClear"></span> | ||
</div> | ||
</form> | ||
</div>%TMPL:END% | ||
%JQSCRIPT{"jquery.validate"}% | ||
%JQSCRIPT{"jquery.shake"}% | ||
<script type="text/javascript"> | ||
$(function() { | ||
$("#LogonForm").validate(); | ||
var bannerText = $("#natLogonBanner").text(); | ||
if (bannerText == '%TMPL:P{UNRECOGNISED_USER}%') { | ||
$(".natLogin").shake(3, 10, 180); | ||
} | ||
}); | ||
</script> | ||
<!-- //logon -->%TMPL:END% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
%TMPL:INCLUDE{"oopslogonbase"}% | ||
<!-- template: oopsaccessgroup.nat.tmpl --> | ||
%TMPL:INCLUDE{"oopslogonbase"}%<!-- template: oopsaccessgroup.nat.tmpl --> | ||
%TMPL:DEF{"action"}%view%TMPL:END% | ||
%TMPL:DEF{"heading"}%%MAKETEXT{"Access Denied"}%%TMPL:END% | ||
%TMPL:DEF{"message"}% <!-- --> | ||
%TMPL:DEF{"message"}% <!-- message --> | ||
%MAKETEXT{"Only members of the [_1] are allowed to perform this action." args="%MAINWEB%.%PARAM1%"}% | ||
|
||
%TMPL:P{"logon"}% | ||
|
||
%MAKETEXT{"See also:"}% %MAINWEB%.TWikiGroups, %SYSTEMWEB%.TWikiAccessControl, %TWIKIREGISTRATION%, | ||
%MAINWEB%.%PARAM1% | ||
%TMPL:END% | ||
<!-- //message -->%TMPL:END% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
%TMPL:INCLUDE{"oops"}% | ||
<!-- template: oopsnotwikiuser.nat.tmpl --> | ||
%TMPL:INCLUDE{"oops"}%<!-- template: oopsnotwikiuser.nat.tmpl --> | ||
%TMPL:DEF{"heading"}%%MAKETEXT{"You are not registered"}%%TMPL:END% | ||
%TMPL:DEF{"message"}%<!-- --> | ||
%TMPL:DEF{"message"}%<!-- message --> | ||
%MAKETEXT{"Can't find the username <b>[_1]</b>" args="%PARAM1%"}%. | ||
|
||
%MAKETEXT{"Make sure you spelled the User Name correctly and try again. | ||
Remember, a [_1] is case sensitive. | ||
See [_2] for a list of existing users or register as new user in [_3]." | ||
args="%SYSTEMWEB%.WikiName,%MAINWEB%.TWikiUsers,%TWIKIREGISTRATION%"}% | ||
|
||
%TMPL:P{"goback"}% %TMPL:END% | ||
<!-- //message -->%TMPL:P{"goback"}% %TMPL:END% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
%TMPL:INCLUDE{"oops"}% | ||
<!-- template: oopsregthanks.nat.tmpl --> | ||
%TMPL:INCLUDE{"oops"}%<!-- template: oopsregthanks.nat.tmpl --> | ||
%TMPL:DEF{"title"}%%TOPICTITLE% (%MAKETEXT{"note"}%) - %WIKITOOLNAME%%TMPL:END% | ||
%TMPL:DEF{"headingstyle"}%natNoteHeading%TMPL:END% | ||
%TMPL:DEF{"heading"}%%MAKETEXT{"Thank you for registering"}%%TMPL:END% | ||
%TMPL:DEF{"message"}%<!-- --> | ||
%TMPL:DEF{"message"}%<!-- message --> | ||
<ul> | ||
<li> %MAKETEXT{"Welcome [_1], take a [[[_2]][first tour]] on the [_3]." args="%WIKIUSERNAME%,%SYSTEMWEB%.WelcomeGuest,<nop>%WIKITOOLNAME%"}%</li> | ||
<li> %MAKETEXT{"Take a look at the [[[_1]][TWikiWeb]] to get help on the [_2]." args="%SYSTEMWEB%.WebHome,<nop>%WIKITOOLNAME%"}%</li> | ||
<li> %MAKETEXT{"Take a look at the [[[_1]][%SYSTEMWEB% web]] to get help on the [_2]." args="%SYSTEMWEB%.WebHome,<nop>%WIKITOOLNAME%"}%</li> | ||
<li> %MAKETEXT{"Review your [[[_1]][personal [_2] homepage]]. | ||
Learn how to customize the <nop>[_2] to your needs. | ||
Suggestion: How about uploading your picture to your <nop>[_2] homepage?" args="%WIKIUSERNAME%,%WIKITOOLNAME%"}%</li> | ||
<li> %MAKETEXT{"You are also listed in the [_1] topic" args="%MAINWEB%.%WIKIUSERSTOPIC%"}% </li> | ||
<li> %MAKETEXT{"A confirmation e-mail has been sent to [_1]" args="%PARAM1%"}% </li> | ||
</ul> | ||
%TMPL:END% | ||
<!-- //message -->%TMPL:END% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters