Added task creation per project and non-functional tasks-for-project view

This commit is contained in:
2016-09-07 14:15:23 +02:00
parent 463b36ed8d
commit 805f56d6f4
8 changed files with 185 additions and 19 deletions

View File

@@ -0,0 +1,27 @@
doctype
html(lang="en")
head
meta(charset="utf-8")
title Attract - Blender Cloud
meta(name="viewport", content="width=device-width, initial-scale=1.0")
meta(name="description", content="Blender Cloud is a web based service developed by Blender Institute that allows people to access the training videos and all the data from the past open projects.")
meta(name="author", content="Blender Institute")
meta(name="theme-color", content="#3e92aa")
script.
!function(e){"use strict";e.loadCSS=function(t,n,o){var r,i=e.document,l=i.createElement("link");if(n)r=n;else{var d=(i.body||i.getElementsByTagName("head")[0]).childNodes;r=d[d.length-1]}var a=i.styleSheets;l.rel="stylesheet",l.href=t,l.media="only x",r.parentNode.insertBefore(l,n?r:r.nextSibling);var f=function(e){for(var t=l.href,n=a.length;n--;)if(a[n].href===t)return e();setTimeout(function(){f(e)})};return l.onloadcssdefined=f,f(function(){l.media=o||"all"}),l},"undefined"!=typeof module&&(module.exports=e.loadCSS)}(this);
loadCSS( "//fonts.googleapis.com/css?family=Roboto:300,400,500" );
loadCSS( "//fonts.googleapis.com/css?family=Lato:300,400" );
link(href="{{ url_for('static_pillar', filename='assets/ico/favicon.png') }}", rel="shortcut icon")
link(href="{{ url_for('static_pillar', filename='assets/ico/apple-touch-icon-precomposed.png') }}", rel="icon apple-touch-icon-precomposed", sizes="192x192")
link(href="{{ url_for('static_pillar', filename='assets/css/main.css') }}", rel="stylesheet")
body.error
| {% block body %}{% endblock %}
noscript
link(href='//fonts.googleapis.com/css?family=Roboto:300,400,500', rel='stylesheet', type='text/css')
link(href='//fonts.googleapis.com/css?family=Lato:300,400', rel='stylesheet', type='text/css')

View File

@@ -0,0 +1,12 @@
| {% extends "attract/errors/layout.html" %}
| {% block body %}
#error_container.standalone
#error_box
.error-top-container
.error-title Project not set up for Attract.
.error-lead
p Currently Attract is in development, and only available to a select few.
hr
p If you want to use Attract, contact us at
a(href="mailto:cloudsupport@blender.institute") cloudsupport@blender.institute
| {% endblock %}

View File

@@ -0,0 +1,21 @@
| {% extends 'attract/layout.html' %}
| {% block page_title %}Tasks{% endblock %}
| {% block body %}
#page-container
#page-header
.page-title
| Tasks for project {{ project.name }}
#page-content
.page-triplet-container.homepage
.row
.col-md-4
h2 The edit
p one column
.col-md-4
h2 Tasks
a(href="{{ url_for('attract.tasks.index') }}") Go to task manager
.col-md-4
h2 Other stuff
p three column
| {% endblock %}

View File

@@ -1,5 +1,5 @@
| {% extends 'attract/layout.html' %}
| {% block page_title %}Attract{% endblock %}
| {% block page_title %}Tasks{% endblock %}
| {% block body %}
#page-container
#page-header
@@ -10,12 +10,9 @@
.page-triplet-container.homepage
.row
.col-md-4
h2 The edit
p one column
h2 project 1
.col-md-4
h2 Tasks
a(href="{{ url_for('attract.tasks.index') }}") Go to task manager
h2 project 2
.col-md-4
h2 Other stuff
p three column
h2 project 3
| {% endblock %}