small input help
better layout for mobile clients
This commit is contained in:
parent
672c6f88af
commit
cbb4b76cd4
3 changed files with 11 additions and 13 deletions
|
@ -11,14 +11,13 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container theme-showcase" role="main">
|
<div class="container theme-showcase" role="main">
|
||||||
<h1 id="title">Tycker Administration</h1>
|
|
||||||
|
|
||||||
<?python
|
<?python
|
||||||
import datetime
|
import datetime
|
||||||
now = datetime.datetime.now()
|
now = datetime.datetime.now()
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="page-header"></div>
|
<div class="page-header"><h1>Tycker Administration</h1></div>
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li role="presentation" class="active"><a href="#">New entry</a></li>
|
<li role="presentation" class="active"><a href="#">New entry</a></li>
|
||||||
<li role="presentation"><a href="edit">All entries</a></li>
|
<li role="presentation"><a href="edit">All entries</a></li>
|
||||||
|
@ -26,7 +25,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-md-8">
|
<div class="col-xs-12 col-sm-8">
|
||||||
<p> </p>
|
<p> </p>
|
||||||
<div id="timestamp">
|
<div id="timestamp">
|
||||||
<form action="generate" method="GET">
|
<form action="generate" method="GET">
|
||||||
|
@ -51,7 +50,7 @@
|
||||||
<p> </p>
|
<p> </p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xs-6 col-md-4">
|
<div class="col-xs-12 col-sm-4">
|
||||||
<xi:include href="help.html" />
|
<xi:include href="help.html" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -11,14 +11,13 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container theme-showcase" role="main">
|
<div class="container theme-showcase" role="main">
|
||||||
<h1 id="title">Tycker Administration</h1>
|
|
||||||
|
|
||||||
<?python
|
<?python
|
||||||
import datetime
|
import datetime
|
||||||
now = datetime.datetime.now()
|
now = datetime.datetime.now()
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="page-header"></div>
|
<div class="page-header"><h1>Tycker Administration</h1></div>
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li role="presentation"><a href="../admin">New entry</a></li>
|
<li role="presentation"><a href="../admin">New entry</a></li>
|
||||||
<li role="presentation" class="active"><a href="#">All entries</a></li>
|
<li role="presentation" class="active"><a href="#">All entries</a></li>
|
||||||
|
@ -26,18 +25,18 @@
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-md-8">
|
<div class="col-xs-12 col-sm-8">
|
||||||
<p> </p>
|
<p> </p>
|
||||||
<div class="well" py:for="entry in entries">
|
<div class="well" py:for="entry in entries">
|
||||||
<form action="submit" method="GET" >
|
<form action="submit" method="GET" >
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="text" class="form-control" name="date" value="${entry['timestamp'].strftime(date_format)}" />
|
<input type="text" class="form-control" name="date" value="${entry['timestamp'].strftime(date_format)}" placeholder="Enter timestamp" />
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<input type="text" class="form-control" name="title" value="${entry['title']}" />
|
<input type="text" class="form-control" name="title" value="${entry['title']}" placeholder="Enter title"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<textarea name="content" class="form-control" rows="8" cols="80">${entry['content']}</textarea>
|
<textarea name="content" class="form-control" rows="8" cols="80" placeholder="Enter content" >${entry['content']}</textarea>
|
||||||
</div>
|
</div>
|
||||||
<input type="hidden" name="entry_id" value="${entry.id}" /><button type="submit" class="btn btn-default">Update</button>
|
<input type="hidden" name="entry_id" value="${entry.id}" /><button type="submit" class="btn btn-default">Update</button>
|
||||||
</form>
|
</form>
|
||||||
|
@ -48,7 +47,7 @@
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-6 col-md-4">
|
<div class="col-xs-12 col-sm-4">
|
||||||
<xi:include href="help.html" />
|
<xi:include href="help.html" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-12 col-md-8">
|
<div class="col-xs-12 col-sm-8">
|
||||||
${nav_links(prev_link, next_link)}
|
${nav_links(prev_link, next_link)}
|
||||||
|
|
||||||
<div class="well" py:for="entry in entries">
|
<div class="well" py:for="entry in entries">
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
${nav_links(prev_link, next_link)}
|
${nav_links(prev_link, next_link)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-xs-6 col-md-4">
|
<div class="col-xs-12 col-sm-4">
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<div id="clockbox"></div>
|
<div id="clockbox"></div>
|
||||||
|
|
Loading…
Reference in a new issue