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