improved css for mobile devices
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
«head()»
|
||||
<body id="add_list">
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
«head()»
|
||||
<body>
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
«head()»
|
||||
<body>
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
body {
|
||||
font-family: osans;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
label {
|
||||
display: block;
|
||||
@@ -73,17 +74,21 @@ fieldset fieldset>legend {
|
||||
text-align: right
|
||||
}
|
||||
.user{
|
||||
background: lime;
|
||||
color: #626262;
|
||||
text-decoration: underline;
|
||||
float: right;
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
.footer{
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: right;
|
||||
margin: 5px;
|
||||
margin: 0;
|
||||
height: 30px;
|
||||
background: #83f9ff;
|
||||
}
|
||||
|
||||
tr:nth-child(2n),
|
||||
@@ -140,4 +145,14 @@ pre {
|
||||
background: none;
|
||||
border: none;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.logout{
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
nav {
|
||||
margin: 10px 0;
|
||||
}
|
||||
@@ -1,11 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
«head()»
|
||||
<body>
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="web/css" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
7
static/templates/head.st
Normal file
7
static/templates/head.st
Normal file
@@ -0,0 +1,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
@@ -1,11 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
«head()»
|
||||
<body>
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
«head()»
|
||||
<body>
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
«head()»
|
||||
<body id="login">
|
||||
«navigation()»
|
||||
«messages()»
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
<nav>
|
||||
«if(data.user)»<a class="button logout" href="logout" />Logout</a>«endif»
|
||||
<a href="index">Home</a>
|
||||
<a href="admin">Administration</a>
|
||||
|
||||
<script type="text/javascript">
|
||||
if ('«data.user.permissions»'.includes('admin')){
|
||||
$('<a/>',{class:'button',href:'reload'}).text('Reload templates').appendTo($('nav'));
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
«head()»
|
||||
<body>
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
«head()»
|
||||
<body id="register">
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
«head()»
|
||||
<body id="subscribe">
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<script src="jquery"></script>
|
||||
<script src="js"></script>
|
||||
<link rel="stylesheet" href="css" />
|
||||
</head>
|
||||
«head()»
|
||||
<body id="subscribe">
|
||||
«navigation()»
|
||||
«userinfo()»
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
«if(data.user)»
|
||||
<div class="user">
|
||||
Logged in as <em>«data.user.name»</em>
|
||||
|
||||
<a class="button" href="logout" />Logout</a>
|
||||
</div>
|
||||
<div class="user">Logged in as <em>«data.user.name»</em></div>
|
||||
«endif»
|
||||
Reference in New Issue
Block a user