# HG changeset patch # User cavaliet # Date 1352125211 -3600 # Node ID 6ac668113c40a2c16d80521d722c20969bbe8907 # Parent 3ccedd271e36e0fde88b4396179a5ab24e3c6f4b# Parent 31770c3f29faa1b2b8c23e0a1ea8c7e801a0af0f Merge with 31770c3f29faa1b2b8c23e0a1ea8c7e801a0af0f diff -r 3ccedd271e36 -r 6ac668113c40 src/ldt/ldt/ldt_utils/fixtures/base_data.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ldt/ldt/ldt_utils/fixtures/base_data.json Mon Nov 05 15:20:11 2012 +0100 @@ -0,0 +1,36 @@ +[ + { + "pk": 6, + "model": "text.annotation", + "fields": { + "update_date": "2010-11-16 17:30:50", + "description": "texte de description", + "title": "titre de l'annotation", + "color": "#DDDDDD", + "text": "texte selectionne lors de la creation de l'annotation", + "creator": "wakimd", + "uri": "", + "creation_date": "2010-11-16 17:01:41", + "contributor": "oaubert", + "tags_field": "tag3,tag1,", + "external_id": "z2c1d1fa-629d-4520-a3d2-955b4f2582c0" + } + }, + { + "pk": 7, + "model": "text.annotation", + "fields": { + "update_date": "2010-11-16 17:30:50", + "description": "texte de description", + "title": "titre de l'annotation", + "color": "#DDDDDD", + "text": "texte selectionne lors de la creation de l'annotation", + "creator": "wakimd", + "uri": "http://www.leezam.com/pub/epub/123456!/OPS/chapter2.xhtml#pos=56,168", + "creation_date": "2010-11-16 17:01:41", + "contributor": "oaubert", + "tags_field": "tag3,tag1,", + "external_id": "mypersonnalid2" + } + } +] diff -r 3ccedd271e36 -r 6ac668113c40 src/ldt/ldt/ldt_utils/fixtures/user_data.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ldt/ldt/ldt_utils/fixtures/user_data.json Mon Nov 05 15:20:11 2012 +0100 @@ -0,0 +1,67 @@ +[ + { + "pk": 2, + "model": "auth.user", + "fields": { + "username": "admin", + "first_name": "", + "last_name": "", + "is_active": true, + "is_superuser": true, + "is_staff": false, + "last_login": "2010-12-12 00:04:07", + "groups": [], "user_permissions": [], + "password": "", + "email": "admin@example.com", + "date_joined": "2010-12-12 00:04:07" + } + }, + { + "pk": 1, + "model": "oauth_provider.resource", + "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 + } + }, + { + "pk": 3, + "model": "oauth_provider.resource", + "fields": { + "url": "/api/1.0/text/update/", + "name": "update", + "is_readonly": true + } + }, + { + "pk": 4, + "model": "oauth_provider.resource", + "fields": { + "url": "", + "name": "all", + "is_readonly": true + } + }, + { + "pk": 1, + "model": "oauth_provider.consumer", + "fields": { + "status": 1, + "name": "example.com", + "secret": "kd94hf93k423kf44", + "user": 2, + "key": "dpf43f3p2l4k3l03", + "description": "" + } + } +] \ No newline at end of file diff -r 3ccedd271e36 -r 6ac668113c40 src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/create_group.html --- a/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/create_group.html Mon Nov 05 15:19:24 2012 +0100 +++ b/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/create_group.html Mon Nov 05 15:20:11 2012 +0100 @@ -1,12 +1,11 @@ -{% extends "ldt/ldt_raw_base.html" %} +{% extends "ldt/ldt_utils/workspace_base.html" %} +{% load i18n %} -{% load i18n %} {% load adminmedia %} {% load thumbnail %} {% block js_import %} {{ block.super }} - @@ -25,28 +24,8 @@ {% block js_declaration %} {{ block.super }} {% endblock %} -{% block body %} +{% block content %}