mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 06:09:00 +02:00
b5156e26ae
Login forms are now styled and use the tabstrip library. Make sure you create a CSS file "tabs.css" in your mysite/css folder with the following content, otherwise the tabs will be without border. Maybe it would be a good idea to create a mysite gsoc branch for changes like this. Will post that issue in the forum. div.tab { clear: left; overflow: auto; border: 1px #AAA solid; border-top: none; position: relative; top: -3px; margin: 0; padding: 10px; /*width: 98%;*/ } div.tabset { border: 1px solid #fff; /* Hack for FF1.5/Win Float-Bug */ clear: left; margin: 0; } ul.tabstrip li { margin-left: 0; } (merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41786 467b73ca-7a2a-4603-9d3b-597d59a354a9
28 lines
562 B
PHP
28 lines
562 B
PHP
<?php
|
|
|
|
/**
|
|
* LoginForm base class
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
* Abstract base class for a login form
|
|
*
|
|
* This class is used as a base class for the different log-in forms like
|
|
* {@link MemberLoginForm} or {@link OpenIDLoginForm}.
|
|
*
|
|
* @author Markus Lanthaler <markus@silverstripe.com>
|
|
*/
|
|
abstract class LoginForm extends Form
|
|
{
|
|
/**
|
|
* Get the authenticator class
|
|
*
|
|
* @return Authenticator Returns the authenticator class for this login
|
|
* form.
|
|
*/
|
|
public abstract static function getAuthenticator();
|
|
}
|
|
|
|
?>
|