Faces3 presentation mode and /sysinfo endpoint
This commit is contained in:
parent
ff82dce6f8
commit
351a95b658
2 changed files with 146 additions and 118 deletions
|
@ -55,6 +55,9 @@ font-weight:bold;
|
|||
font-size:1vw;
|
||||
margin:0.5em;
|
||||
}
|
||||
body.presentation{
|
||||
background:black;
|
||||
}
|
||||
h3{
|
||||
margin:0.5%;
|
||||
text-align:center;
|
||||
|
@ -72,7 +75,7 @@ font-size:80%;
|
|||
.mouth .emo-block{
|
||||
width:50%;
|
||||
float:left;
|
||||
height:3.6em;
|
||||
height:5em;
|
||||
}
|
||||
.mouth .emotitle{
|
||||
display:block;
|
||||
|
@ -154,7 +157,7 @@ margin-top:1%;
|
|||
mix-blend-mode:difference;
|
||||
}
|
||||
|
||||
svg{
|
||||
.currentHit svg{
|
||||
border-top: 1em solid blue;
|
||||
margin: 0px -0.5em;
|
||||
width: 100%;
|
||||
|
@ -162,6 +165,10 @@ padding: 0.5em;
|
|||
width:100%;
|
||||
}
|
||||
|
||||
.presentation .currentHit svg {
|
||||
border-top: solid 0.1em white;
|
||||
}
|
||||
|
||||
.nose .block{position:relative;margin-bottom:2%;}
|
||||
.nose .block span{position:absolute;top:0;right:0;color:white;text-align:right;padding:0.5%;}
|
||||
|
||||
|
@ -197,9 +204,16 @@ top:0.5em;
|
|||
background:yellow;
|
||||
padding:0.5%;
|
||||
}
|
||||
.presentation .currentHit h3 span{
|
||||
color:white;
|
||||
background: none;
|
||||
}
|
||||
.currentHit h3 span{
|
||||
color:yellow;
|
||||
}
|
||||
.presentation .currentHit h3 span{
|
||||
color:white;
|
||||
}
|
||||
.currentHit h3 .last{color:red;}
|
||||
.currentHit h3 .vs{background:none;color:black;padding-left:0.5em;padding-right:0.5em;}
|
||||
.currentHit h3 .perfect{}
|
||||
|
@ -210,6 +224,9 @@ list-style:none;
|
|||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
.presentation ul{
|
||||
font-size:100%;
|
||||
}
|
||||
.currentHit li{
|
||||
clear:both;
|
||||
}
|
||||
|
@ -234,9 +251,12 @@ color:green;
|
|||
border-bottom: solid 1em blue;
|
||||
padding: 0.5em;
|
||||
text-align: center;
|
||||
}
|
||||
.presentation .currentHit p {
|
||||
border-bottom: solid 0.1em white;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<body <?php if(isSet($_GET['presentation'])){echo "class='presentation'";}?>>
|
||||
<?php
|
||||
|
||||
echo "<div class='brows emo'><h3><span>eye brows</span></h3>";
|
||||
|
|
|
@ -16,6 +16,11 @@ $app = new Silex\Application([
|
|||
error_reporting(E_ALL);
|
||||
ini_set('display_errors', 1);
|
||||
|
||||
|
||||
if(ini_get('max_file_uploads') < 50) {
|
||||
throw new Exception("php directive 'max_file_uploads' should be >= 50");
|
||||
}
|
||||
|
||||
/*
|
||||
* JWT setup
|
||||
*/
|
||||
|
@ -75,7 +80,10 @@ $app->register(new Silex\Provider\SecurityServiceProvider());
|
|||
$app->register(new Silex\Provider\SecurityJWTServiceProvider());
|
||||
|
||||
|
||||
|
||||
$app->get('/sysinfo', function(Request $request) use ($app){
|
||||
phpinfo();
|
||||
return new Response(200);
|
||||
});
|
||||
|
||||
/**
|
||||
* Get token for user
|
||||
|
|
Loading…
Reference in a new issue