# HG changeset patch # User ymh # Date 1284160683 -7200 # Node ID db4e163c7c8e3606ef12bbf926775a19e9d5d9f7 # Parent b7e3f3b2d150a0e6254f29102746e2a044a40bbc first version of create project link diff -r b7e3f3b2d150 -r db4e163c7c8e web/franceculture/templates/franceculture/partial/projectslist.html --- a/web/franceculture/templates/franceculture/partial/projectslist.html Thu Sep 09 16:47:51 2010 +0200 +++ b/web/franceculture/templates/franceculture/partial/projectslist.html Sat Sep 11 01:18:03 2010 +0200 @@ -28,5 +28,5 @@
-+ {% trans "Create project" %} ++ {% trans "Create project" %}
diff -r b7e3f3b2d150 -r db4e163c7c8e web/franceculture/templates/ldt/ldt_utils/create_ldt.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/franceculture/templates/ldt/ldt_utils/create_ldt.html Sat Sep 11 01:18:03 2010 +0200 @@ -0,0 +1,53 @@ +{% extends "raw_base.html" %} + +{% load i18n %} {# form of creation of content #} +{% load adminmedia %} + +{% block js_import %} + {{ block.super }} + + {{ content_form.media.js }} +{% endblock %} + +{% block css_import %} + {{ block.super }} + {{ content_form.media.css }} + + + +{% endblock %} + + +{% block body %} +
+
{% trans "Create your project" %}
+
+ {% csrf_token %} + + + +
+
{% trans "name" %}
+
+
+ + + {% for content in contents %} + + + + + {% endfor %} + +
{{ content.title }}
+
+
+
+
+ +
+
+
+ +{% endblock %} + diff -r b7e3f3b2d150 -r db4e163c7c8e web/static/css/ldtform.css --- a/web/static/css/ldtform.css Thu Sep 09 16:47:51 2010 +0200 +++ b/web/static/css/ldtform.css Sat Sep 11 01:18:03 2010 +0200 @@ -1,14 +1,22 @@ @charset "UTF-8"; -#add_content { - padding: 20px; +#add_content, #add_contribution { + padding: 10px; } -#add_content input, #add_content textarea, #add_content select { + +#add_content input, #add_content textarea, #add_content select, +#add_contribution input, #add_contribution textarea, #add_contribution select +{ background: #ededed; width: 250px; } +#add_contribution input[type="checkbox"] { + width: auto; +} + + #add_content textarea { height : 125px; } @@ -38,7 +46,7 @@ text-align: right; } -#add_content input[type="submit"] { +#add_content input[type="submit"], #add_contribution input[type="submit"] { background-color: #656565; color: white; width:auto; @@ -72,3 +80,24 @@ margin: 10px 0px; } +.cellcheckbox { + text-align: center; + width: 70 px; +} + +#contentslistheader { + padding: 1px 10px 1px 36px; +} + +#ldtcreatetablewrapperdiv { + height: 282px; +} + +#ldtcreatecontentstablediv { + max-height: 280px; +} + +#ldtcreatecontentslistcontainer { + padding: 5px 0px 20px 0px; + height: 300px; +} diff -r b7e3f3b2d150 -r db4e163c7c8e web/static/css/style.css --- a/web/static/css/style.css Thu Sep 09 16:47:51 2010 +0200 +++ b/web/static/css/style.css Sat Sep 11 01:18:03 2010 +0200 @@ -232,7 +232,7 @@ color: #949494; font-family: Verdana; font-weight: lighter; - font-size: 2.5em; + font-size: 2.0em; font-style: normal; text-align: left; } diff -r b7e3f3b2d150 -r db4e163c7c8e web/static/css/workspace.css --- a/web/static/css/workspace.css Thu Sep 09 16:47:51 2010 +0200 +++ b/web/static/css/workspace.css Sat Sep 11 01:18:03 2010 +0200 @@ -145,7 +145,8 @@ display: none; } -a.content_link_create:link, a.content_link_create:visited { +a.content_link_create:link, a.content_link_create:visited, +a.ldt_link_create:link, a.ldt_link_create:visited { color: white; text-decoration: none; } @@ -153,3 +154,4 @@ a.project_link_create:link, a.project_link_create:visited { color: white; } + diff -r b7e3f3b2d150 -r db4e163c7c8e web/static/js/projectscontents.js --- a/web/static/js/projectscontents.js Thu Sep 09 16:47:51 2010 +0200 +++ b/web/static/js/projectscontents.js Sat Sep 11 01:18:03 2010 +0200 @@ -28,8 +28,8 @@ $('.ldt_link_create',base_node).nyroModal({ type: 'iframe', forceType: 'iframe', - height:662, - width:1022, + height:680, + width:500, bgColor: 'rgb(239, 239, 239)', padding: 5, titleFromIframe: false,