修改登录按钮等的CSS

This commit is contained in:
高子兴 2024-07-14 17:52:28 +08:00
parent fb3abb686b
commit 9c018b126b

View File

@ -22,9 +22,9 @@
</nav> </nav>
<div style="position: absolute; top: 10px; right: 10px;"> <div style="position: absolute; top: 10px; right: 10px;">
<h:form> <h:form>
<h:commandButton value="register" action="register" rendered="#{not projectBean.isLoggedIn}"/> <h:commandButton value="Register" action="register" rendered="#{not projectBean.isLoggedIn}" styleClass="btn"/>
<h:commandButton value="login" action="login" rendered="#{not projectBean.isLoggedIn}"/> <h:commandButton value="Login" action="login" rendered="#{not projectBean.isLoggedIn}" styleClass="btn"/>
<h:commandButton value="logout" action="#{projectBean.logout}" rendered="#{projectBean.isLoggedIn}"/> <h:commandButton value="Logout" action="#{projectBean.logout}" rendered="#{projectBean.isLoggedIn}" styleClass="btn"/>
</h:form> </h:form>
</div> </div>
</header> </header>