1.定制CRUD管理页面
> play crud:ov --layout
替换生成文件内容 app/views/CRUD/layout.html
#{extends 'admin.html' /} #{set 'moreStyles'} <link rel="stylesheet" type="text/css" media="screen" href="@{'/public/stylesheets/crud.css'}" /> #{/set} <div id="crud"> #{if flash.success} <div class="crudFlash flashSuccess"> ${flash.success} </div> #{/if} #{if flash.error || error} <div class="crudFlash flashError"> ${error ?: flash.error} </div> #{/if} <div id="crudContent"> #{doLayout /} </div> </div>
2.定制登录页面
play secure:ov --css
修改/public/stylesheets/secure.css
@import url(main.css);
导入main.css
修改/conf/messages
secure.username=Your email: secure.password=Your password: secure.signin=Log in now
。。