# HG changeset patch # User cavaliet # Date 1363172966 -3600 # Node ID 90d0a9d14c68b7166664c4df70bebc8b7ca94ebc # Parent d3a125e619d9141f6a18348313130c7a1f9dc726 First step of group page on front diff -r d3a125e619d9 -r 90d0a9d14c68 .project --- a/.project Wed Feb 27 19:18:04 2013 +0100 +++ b/.project Wed Mar 13 12:09:26 2013 +0100 @@ -1,12 +1,18 @@ - - - platform_group - - - - - - - com.aptana.projects.webnature - - + + + platform_group + + + + + + org.python.pydev.PyDevBuilder + + + + + + com.aptana.projects.webnature + org.python.pydev.pythonNature + + diff -r d3a125e619d9 -r 90d0a9d14c68 src/ldt/ldt/ldt_utils/fixtures/user_data.json --- a/src/ldt/ldt/ldt_utils/fixtures/user_data.json Wed Feb 27 19:18:04 2013 +0100 +++ b/src/ldt/ldt/ldt_utils/fixtures/user_data.json Wed Mar 13 12:09:26 2013 +0100 @@ -17,50 +17,86 @@ } }, { - "pk": 1, - "model": "oauth_provider.resource", + "pk": 7, + "model": "ldt_utils.media", "fields": { - "url": "/api/1.0/text/delete/", - "name": "delete", - "is_readonly": true - } - }, - { - "pk": 2, - "model": "oauth_provider.resource", - "fields": { - "url": "/api/1.0/text/create/", - "name": "create", - "is_readonly": true + "external_permalink": "", + "src_hash": "f4a5afb24467cbf18825ea6b90bc2bcc78e68610d6650625296ae70b2e981d9bad6619a3b4ff22431e74177dcc264ffb0c9471bc625a6229b7cdbeb2e372468f", + "videopath": "", + "update_date": "2012-11-26T15:48:12", + "external_publication_url": "", + "external_src_url": "", + "creator": null, + "creation_date": "2012-11-26T15:48:12", + "media_creation_date": null, + "mimetype_field": "", + "duration": null, + "title": "", + "src": "http://dvvsyrlsr21oz.cloudfront.net/01-Kristina-HD.mp4", + "external_id": "", + "description": "" } }, { - "pk": 3, - "model": "oauth_provider.resource", + "pk": 48, + "model": "ldt_utils.media", "fields": { - "url": "/api/1.0/text/update/", - "name": "update", - "is_readonly": true + "external_permalink": "", + "src_hash": "79d1ada053cae7e6e49329645fc55f7ffb5341112134e70f55ea91b2c3e647e8e319525c6117ccfaea61039bf701a3ed8fd4921ac7bf2ef89e2e2f2233b29898", + "videopath": "", + "update_date": "2012-11-26T16:06:45", + "external_publication_url": "", + "external_src_url": "", + "creator": null, + "creation_date": "2012-11-26T16:06:45", + "media_creation_date": null, + "mimetype_field": "", + "duration": null, + "title": "", + "src": "http://dvvsyrlsr21oz.cloudfront.net/INTERNATIONALE-CHANT_1-HD.mp4", + "external_id": "", + "description": "" } - }, + }, { - "pk": 4, - "model": "oauth_provider.resource", + "pk": 49, + "model": "ldt_utils.media", "fields": { - "url": "", - "name": "all", - "is_readonly": true + "external_permalink": "", + "src_hash": "64460e021df13d4bc558e5672393539241f846065ec48862b89f43aadbcd278bc311c16782f43e68a0c83ed3357d0ca4d2082204bc4169af23985fa420a56bee", + "videopath": "", + "update_date": "2012-11-26T16:07:09", + "external_publication_url": "", + "external_src_url": "", + "creator": null, + "creation_date": "2012-11-26T16:07:09", + "media_creation_date": null, + "mimetype_field": "", + "duration": null, + "title": "", + "src": "http://dvvsyrlsr21oz.cloudfront.net/NIDIEU-CHANT-2-HD.mp4", + "external_id": "", + "description": "" } - }, + }, { - "pk": 1, - "model": "oauth_provider.consumer", + "pk": 50, + "model": "ldt_utils.media", "fields": { - "status": 1, - "name": "example.com", - "secret": "kd94hf93k423kf44", - "user": 2, - "key": "dpf43f3p2l4k3l03", + "external_permalink": "", + "src_hash": "1cfb8cdec8da988eca4992b07f7d1bc4ef5c6a3f0a175c9941646c1e3a0abcd1eae6cae35b575b66738ef272ed87c2814fb9c8db3192d1f43c3fb5d7043db766", + "videopath": "", + "update_date": "2012-11-26T16:07:29", + "external_publication_url": "", + "external_src_url": "", + "creator": null, + "creation_date": "2012-11-26T16:07:29", + "media_creation_date": null, + "mimetype_field": "", + "duration": null, + "title": "", + "src": "http://dvvsyrlsr21oz.cloudfront.net/MARSEILLAISE-CHANT_3-HD.mp4", + "external_id": "", "description": "" } } diff -r d3a125e619d9 -r 90d0a9d14c68 src/ldt/ldt/ldt_utils/templates/front/front_group.html --- a/src/ldt/ldt/ldt_utils/templates/front/front_group.html Wed Feb 27 19:18:04 2013 +0100 +++ b/src/ldt/ldt/ldt_utils/templates/front/front_group.html Wed Mar 13 12:09:26 2013 +0100 @@ -17,6 +17,22 @@ {% block body %} {{block.super}} + + +{% comment %} +{% endcomment %}
diff -r d3a125e619d9 -r 90d0a9d14c68 src/ldt/ldt/ldt_utils/templates/front/front_groups.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ldt/ldt/ldt_utils/templates/front/front_groups.html Wed Mar 13 12:09:26 2013 +0100 @@ -0,0 +1,34 @@ +{% extends "front/front_base.html" %} +{% load i18n %} +{% load thumbnail %} +{% load front_tags %} +{% load absstatic %} + +{% block title %}Lignes de temps : groupe "{{group.name}}"{% endblock %} + +{% block css_import %} +{{block.super}} + +{% endblock %} + +{% block js_declaration %} +{{block.super}} +{% endblock %} + +{% block body %} +{{block.super}} + + +{% endblock %} + diff -r d3a125e619d9 -r 90d0a9d14c68 src/ldt/ldt/ldt_utils/templates/front/front_home.html --- a/src/ldt/ldt/ldt_utils/templates/front/front_home.html Wed Feb 27 19:18:04 2013 +0100 +++ b/src/ldt/ldt/ldt_utils/templates/front/front_home.html Wed Mar 13 12:09:26 2013 +0100 @@ -104,7 +104,7 @@