mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
Show CustomGithubCorner in other pages.
This commit is contained in:
@ -499,7 +499,6 @@ class App extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
renderFooter() {
|
||||
// How to keep your footer where it belongs ?
|
||||
// https://www.freecodecamp.org/neyarnws/how-to-keep-your-footer-where-it-belongs-59c6aa05c59c/
|
||||
|
@ -21,13 +21,8 @@ import * as Setting from "../Setting";
|
||||
import i18next from "i18next";
|
||||
import {CountDownInput} from "../component/CountDownInput";
|
||||
import * as UserBackend from "../backend/UserBackend";
|
||||
import {
|
||||
CheckCircleOutlined,
|
||||
KeyOutlined,
|
||||
LockOutlined,
|
||||
SolutionOutlined,
|
||||
UserOutlined,
|
||||
} from "@ant-design/icons";
|
||||
import {CheckCircleOutlined, KeyOutlined, LockOutlined, SolutionOutlined, UserOutlined} from "@ant-design/icons";
|
||||
import CustomGithubCorner from "../CustomGithubCorner";
|
||||
|
||||
const { Step } = Steps;
|
||||
const { Option } = Select;
|
||||
@ -474,7 +469,7 @@ class ForgetPage extends React.Component {
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<React.Fragment>
|
||||
<Divider style={{ fontSize: "28px" }}>
|
||||
{i18next.t("forget:Retrieve password")}
|
||||
</Divider>
|
||||
@ -512,7 +507,8 @@ class ForgetPage extends React.Component {
|
||||
</div>
|
||||
</Col>
|
||||
</Row>
|
||||
</>
|
||||
<CustomGithubCorner />
|
||||
</React.Fragment>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -34,6 +34,7 @@ import LinkedInLoginButton from "./LinkedInLoginButton";
|
||||
import WeComLoginButton from "./WeComLoginButton";
|
||||
import LarkLoginButton from "./LarkLoginButton";
|
||||
import GitLabLoginButton from "./GitLabLoginButton";
|
||||
import CustomGithubCorner from "../CustomGithubCorner";
|
||||
|
||||
class LoginPage extends React.Component {
|
||||
constructor(props) {
|
||||
@ -435,6 +436,7 @@ class LoginPage extends React.Component {
|
||||
{
|
||||
Setting.renderHelmet(application)
|
||||
}
|
||||
<CustomGithubCorner />
|
||||
{
|
||||
Setting.renderLogo(application)
|
||||
}
|
||||
|
@ -24,6 +24,7 @@ import * as ApplicationBackend from "../backend/ApplicationBackend";
|
||||
import * as UserBackend from "../backend/UserBackend";
|
||||
import {CountDownInput} from "../component/CountDownInput";
|
||||
import SelectRegionBox from "../SelectRegionBox";
|
||||
import CustomGithubCorner from "../CustomGithubCorner";
|
||||
|
||||
const formItemLayout = {
|
||||
labelCol: {
|
||||
@ -528,6 +529,7 @@ class SignupPage extends React.Component {
|
||||
|
||||
return (
|
||||
<div>
|
||||
<CustomGithubCorner />
|
||||
|
||||
<Row>
|
||||
<Col span={24} style={{display: "flex", justifyContent: "center"}} >
|
||||
|
Reference in New Issue
Block a user