示例#1
0
文件: http404.php 项目: johnstyle/sjo
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <base href="<?php 
echo SJO_BASEHREF;
?>
" />
    <title>404 | <?php 
Lib\I18n::_e('Page Not Found!');
?>
</title>
    <meta name="description" content="404 | Page Not Found!">
    <?php 
if (Style::hasRegistry()) {
    ?>
        <?php 
    Style::applyRegistry();
    ?>
    <?php 
}
?>
    <style type="text/css">
        *{margin:0;padding:0}
        body{font-family:"Times New Roman",Bodoni,Garamond,"Minion Web","ITC Stone Serif","MS Georgia","Bitstream Cyberbit",serif;overflow:auto;height:100%;text-align:center;line-height:1;color:#555;background:#eee;text-shadow:0 0 5px rgba(0,0,0,0.2);font-size:16px;margin-top:50px}
        h1{font-weight:300;font-size:15em;color:#a0a0a0}
        h2{font-weight:300;font-size:3em;color:#afafaf}
        h3{font-weight:300;font-size:2em;margin-bottom:5px}
        p{font-weight:300;font-size:1.3em;line-height:1.5}
        #error{padding-bottom:30px;margin-bottom:50px}
        #message{background:#e0e0e0;padding:20px 0;margin-top:25px}
        @media screen and (max-width: 640px) {
            body{font-size:12px}
示例#2
0
文件: Auth.php 项目: johnstyle/sjo
echo SJO_BASEHREF;
?>
" />
    <title><?php 
Lib\I18n::_e('Authentification');
?>
</title>
    <meta name="description" content="<?php 
Lib\I18n::_e('Authentification');
?>
">
    <?php 
if (Helper\Style::hasRegistry()) {
    ?>
        <?php 
    Helper\Style::applyRegistry();
    ?>
    <?php 
}
?>
    <style type="text/css">
        body{background:#333}
        form{background:#fff;width:300px;margin:150px auto 0;padding:0 20px 20px;border:5px solid #000;border-radius:10px;box-shadow:0 0 10px #000}
    </style>
</head>
<body>

<?php 
Helper\Form::create(array(Helper\Fieldset::create(array(Helper\Token::create(Router::getToken('signin')), Helper\Container::create(array('tagname' => 'h2', 'attributes' => array('class' => 'form-signin-heading'), 'elements' => Lib\I18n::__('Authentification'))), Helper\Alert::create(), Helper\Input::create(array('attributes' => array('name' => 'email', 'value' => Request::env('POST')->email->val(), 'placeholder' => Lib\I18n::__('Adresse email'), 'autofocus' => true))), Helper\Input::create(array('attributes' => array('type' => 'password', 'name' => 'password', 'placeholder' => Lib\I18n::__('Mot de passe')))), Helper\Button::create(array('attributes' => array('class' => 'btn-lg btn-block btn-primary', 'value' => Lib\I18n::__('Connexion'))))))))->render();
?>
</body>