2018-05-20 00:10:01 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block main %}
|
2018-06-03 12:29:08 +02:00
|
|
|
<div id="home_content">
|
2018-06-01 23:53:25 +02:00
|
|
|
<h1 class="header" id="title_xppl">XPPL</h1>
|
2018-05-20 00:10:01 +02:00
|
|
|
<p class="lead">This is the awesome library of Experimental Publishing. <br>
|
|
|
|
This might only be one interface to this library:
|
|
|
|
</p>
|
|
|
|
|
2018-06-01 23:27:26 +02:00
|
|
|
<a href="{{url_for('scape')}}">Scape</a>
|
|
|
|
<a href="{{url_for('show_books_grid')}}">Grid</a>
|
|
|
|
<a href="{{url_for('show_books')}}">List</a>
|
|
|
|
|
2018-06-03 12:29:08 +02:00
|
|
|
<br><br><br>
|
|
|
|
</div>
|
2018-05-20 00:10:01 +02:00
|
|
|
|
2018-06-03 12:29:08 +02:00
|
|
|
<div id="app" class="container">
|
|
|
|
<section class="messages">
|
|
|
|
<div v-for="message in messages" class="box">
|
|
|
|
<article class="media">
|
|
|
|
<div class="media-content">
|
|
|
|
<div class="content">
|
|
|
|
<p class="user">[[ message.username ]]</p>
|
|
|
|
<p class="time">[[ message.time ]]</p>
|
|
|
|
<p class="msg">[[ message.text ]]</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<section class="new-message">
|
|
|
|
<div class="field has-addons">
|
|
|
|
<div class="control is-expanded">
|
|
|
|
<input v-model="newMessage" @keypress.enter="sendMessage" class="input" type="text" placeholder="Enter message">
|
|
|
|
</div>
|
|
|
|
<div class="control">
|
|
|
|
<button @click="sendMessage" class="button is-info">Send</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
2018-06-01 21:37:45 +02:00
|
|
|
|
2018-05-20 00:10:01 +02:00
|
|
|
{% endblock %}
|