mirror of https://github.com/doccano/doccano.git
pythondatasetnatural-language-processingdata-labelingmachine-learningannotation-tooldatasetsactive-learningtext-annotation
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.9 KiB
72 lines
2.9 KiB
{% extends "base.html" %} {% load static %} {% block content %}
|
|
<section class="hero project-image">
|
|
<div class="container">
|
|
<div class="columns">
|
|
<div class="column is-12">
|
|
<h1 class="title is-1 has-text-white">
|
|
Hello, {{ user.get_username | title }}.
|
|
</h1>
|
|
<h2 class="subtitle is-4 has-text-white">
|
|
I hope you are having a great day!
|
|
</h2>
|
|
<p>
|
|
<a class="button is-medium is-primary">
|
|
Create Project
|
|
</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<div class="container">
|
|
<div id="projects_root" class="columns" style="margin-top:0">
|
|
<div class="column is-3">
|
|
<aside class="menu">
|
|
<p class="menu-label">
|
|
Categories
|
|
</p>
|
|
<ul class="menu-list">
|
|
<li>
|
|
<a v-bind:class="{active: selectedType == 'All' }"
|
|
v-on:click="updateSelectedType('All')">All</a>
|
|
</li>
|
|
<li v-for="t in uniqueProjectTypes">
|
|
<a v-bind:class="{active: t == selectedType }"
|
|
v-on:click="updateSelectedType(t)">[[ t ]]</a>
|
|
</li>
|
|
</ul>
|
|
</aside>
|
|
</div>
|
|
<div class="column is-9" >
|
|
<div class="columns features" v-for="projects in filteredProjects">
|
|
<div class="column is-4" v-for="project in projects">
|
|
<div class="card is-shady">
|
|
<div class="card-image">
|
|
<figure class="image is-4by3">
|
|
<img v-bind:src="project.image" alt="Placeholder image" class="modal-button" data-target="modal-image2">
|
|
</figure>
|
|
</div>
|
|
<div class="card-content">
|
|
<div class="content">
|
|
<h4>
|
|
<a v-bind:href="'/projects/' + project.id">[[ project.name ]]</a>
|
|
</h4>
|
|
<p>
|
|
[[ project.description.slice(0, 50) ]]
|
|
</p>
|
|
<a class="button is-link is-small" v-bind:href="'/projects/' + project.id + '/admin'">
|
|
<i class="fas fa-cog"></i> Settings
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
{% block footer %}
|
|
<script type="text/javascript" src="{% static 'bundle/projects.js' %}"></script>
|
|
{% endblock %}
|