From 6d7c90142f6cd3f08e0ee28216392c421711a209 Mon Sep 17 00:00:00 2001 From: Dhiru Date: Sat, 16 Jun 2012 18:38:21 +0530 Subject: cleaned up the interface, search and rss feeds in the header, home page, third column removed, versions as a series of '+' marks below the title. --- gstudio/static/gstudio/css/screen.css | 9 +- gstudio/templates/gstudio/_header.html | 26 +-- gstudio/templates/gstudio/home.html | 147 +++++++++++++++ gstudio/templates/gstudio/more.html | 241 ++++++++++++++++++++++++ gstudio/templates/gstudio/nodetype_detail.html | 20 ++ gstudio/templates/gstudio/skeleton.html | 9 +- gstudio/templates/gstudio/tags/breadcrumbs.html | 17 ++ gstudio/templatetags/gstudio_tags.py | 4 +- 8 files changed, 449 insertions(+), 24 deletions(-) create mode 100644 gstudio/templates/gstudio/home.html create mode 100644 gstudio/templates/gstudio/more.html (limited to 'gstudio') diff --git a/gstudio/static/gstudio/css/screen.css b/gstudio/static/gstudio/css/screen.css index c107776..b947986 100644 --- a/gstudio/static/gstudio/css/screen.css +++ b/gstudio/static/gstudio/css/screen.css @@ -92,6 +92,7 @@ caption { background: #eeeeee; } .top { margin-top: 0; padding-top: 0; } .bottom { margin-bottom: 0; padding-bottom: 0; } +.breadcrumbsearch { position: absolute; right: 50px; margin-bottom: -8px; margin-top: -21px;} .container { width: 950px; margin: 0 auto; overflow: hidden; *zoom: 1; } @@ -399,14 +400,14 @@ fieldset { padding: 1.4em; margin: 0 0 1em 0; } legend { font-weight: bold; font-size: 1.2em; } -input.text, input.title, input[type=email], input[type=text], input[type=password] { margin: 0.5em 0; background-color: white; padding: 5px; } +input.text, input.title, input[type=email], input[type=text], input[type=password] { margin: 0em 0; background-color: white; padding: 5px; } input.title { font-size: 1.5em; } textarea { margin: 0.5em 0; padding: 5px; } select { margin: 0.5em 0; } -fieldset { border: 1px solid #cccccc; width:150px;} +fieldset { border: 1px solid #cccccc; width:230px;} input.text, input.title, input[type=email], input[type=text], input[type=password], textarea { background-color: #fff; border: 1px solid #bbbbbb; } input.text:focus, input.title:focus, input[type=email]:focus, input[type=text]:focus, input[type=password]:focus, textarea:focus { border: 1px solid #666666; } @@ -436,7 +437,7 @@ a:hover { text-decoration: underline; } #b1 {position:relative; center:5%; background-color:#43AEE7; color: white; border: 1px solid #000000; font-size:1em;} #b2 {position:relative; center:6%; background-color:#43AEE7; color: white; border: 1px solid #000000; font-size:1em;} -#body { margin-bottom: 1em; border-bottom: 1px solid #e9e9f3; width: 100%; } +#body { margin-bottom: 1em; border-bottom: 0px solid #e9e9f3; width: 100%; } #content h1, #content h2, #content h3 { margin-top: 10px; } @@ -503,7 +504,7 @@ a:hover { text-decoration: underline; } #sidebar .tags div ul .tag_4 { font-size: 2em; color: #0070a8; } #sidebar .tags div ul .tag_5 { font-size: 2.25em; color: #0099e5; } #sidebar .tags div ul .tag_6 { font-size: 3em; color: #00adff; } -#footer{position: static; top: 4px; left: -1px; margin-top: 18px;} +#footer{position: static; top: 4px; left: -1px; margin-top: 18px; border-bottom: 1px solid #e9e9f3;} th.month{padding:0cm 2.5cm;} table.month { margin-bottom: 0; } table.month th.month { text-transform: uppercase; color: #006699; background: none; } diff --git a/gstudio/templates/gstudio/_header.html b/gstudio/templates/gstudio/_header.html index 2e05c8c..4a913e9 100644 --- a/gstudio/templates/gstudio/_header.html +++ b/gstudio/templates/gstudio/_header.html @@ -6,15 +6,17 @@
  Gnowledge Studio
-
{% if grappelli_admin_title %}{{ +
+ Home + | {% if grappelli_admin_title %}{{ grappelli_admin_title }}{% else %}{% get_admin_title %}{% endif %} - | Home - | objects + + | Objects {% if user.is_authenticated %} {% if user.is_staff %} - | Admin Dashboard + | Admin Dashboard {% endif %} {% endif %} @@ -26,18 +28,18 @@ {% else %} diff --git a/gstudio/templates/gstudio/home.html b/gstudio/templates/gstudio/home.html new file mode 100644 index 0000000..1268922 --- /dev/null +++ b/gstudio/templates/gstudio/home.html @@ -0,0 +1,147 @@ +{% load objectapp_tags i18n %} +{% load gstudio_tags i18n %} + +{% load adminmedia grp_tags %} + + + + + + + + + + + + + + + + + + + + + Gnowledge Studio + + + + + + +
+
{{ site }}
+
+ + +   + ? +
+



+ +

Let us collaboratively construct semantic knowledge networks with a special focus on education.more

+
+
+

{% trans "Recents Authors" %}

+ {% get_authors %} +
+ +
+

{% trans "Recent Nodes" %}

+{% get_recent_nodetypes %} +
+
+

{% trans "Recent Comments" %}

+ {% get_recent_comments 5 %} +
+
+ + + + diff --git a/gstudio/templates/gstudio/more.html b/gstudio/templates/gstudio/more.html new file mode 100644 index 0000000..3b4f034 --- /dev/null +++ b/gstudio/templates/gstudio/more.html @@ -0,0 +1,241 @@ +{% load objectapp_tags i18n %} +{% load gstudio_tags i18n %} + +{% load adminmedia grp_tags %} + + + + + + + + + + + + + + + + + + + + + + + +

+
+ Welcome to Gnowledge Network! +
+




+

Introduction


+
  • This site is based on a simple idea that we + can build collaboratively a road map of knowledge by specifying the + prerequisites of concepts, activities, experiences and statements.  The resulting road map can be used as a  scaffolding to describe each node network by linking the node to other nodes in terms of relations and attributes. +
    +
  • +
  • Look at this map to get an idea of a dependency map based on prerequisites.
  • +
  • Look at this one to get an idea of how a node can be described as a map (Link required??).
  • +
  • You will agree that such maps will be very useful to teachers and + students. Over a period of time, with your collaboration, we can build a + complete roadmap of all knowledge which will help to generate a non-linear curriculum framework.
  • +
  • Read Help Document to begin contributing.
  • +
+


+ +

What you can do?


+
  • You can specify the prerequisites for any concept or an activity + at this site. Or view the existing prerequisites that are already + defined by the community.
    +
  • +
  • We simply add a concept as a + node (if it does not exist already) and specify a semantic dependency + (meaning dependency) relation between one node and another.
  • +
  • Ask yourself the following set of questions:
  • +
    • To understand a concept what do you expect the learner must already know?
    • +
    • To understand a concept what do you expect the learner must do?
    • +
    • To impart a skill what what other activities the learner must do?
    • To impart a skill what other concepts the learner must already know?
    +
+

Answers to these questions can be specified in this community portal by establishing links between concepts and activities.

+


+

What we will get out of this?


+
  • a globally useful resource for teachers and students to know the learning track (learning path) for any concept or skill.
  • +
  • teachers and authors of textbooks can use these maps to prepare course materials or sequence their curriculum.
  • +
  • students get to know what they need to know in order to learn something.
  • researchers can use the data for analyzing the properties of knowledge structures.
  • +
  • a network of concepts and activities that can be used, modified, published and shared by the entire community.
  • a visual map of knowledge and a road map for learning and teaching.
  • +
  • a knowledge base that can be used to profile different domains of knowledge.
  • the + resulting map will show us, as it were, the 'cities' (on which we + depend on most), 'towns' (on which we depend but not as much as the + cities), 'villages' (on which we depend least), continents (domains that + contain inter-related cities, towns and villages), etc.
  • a sequence to automatically guide learners in a machine guided online tutoring system, for example.
  • +
  • a + network analysis linking the number of nodes and links, plots, + analyses, statistics, distribution properties etc. (very soon as the + data set increases, we will publish the results on this site.  You can access the data dumps (sans privacy information) very soon, so that you can analyze the data yourself.)
  • +
  • and we are sure it will have many other uses as well.  If you foresee some please discuss with us in the list community@gnowledge.org.  Or write or upload a document in the sandbox fodler (follow the link) and send us an email in the list.
+


+

Yes! You do not have to write essays here.


+
  • We can get all the above mentioned goodies without writing any + essays or do so much of research. We do not define concepts either! Just + ask yourself the questions mentioned above and provide the answer if + you have them. We simply make the dependency relations explicit for all + concepts that all of us know. Soon we will be able to do this in all + languages of the world (Our software developers are working on this.).
+


+

So, how to get it going?


+
  1. Join as a member. Use the join link on the right corner of the site.
  2. +
  3. Use the 'Login' link if you are already a member.
  4. +
  5. Search for a concept or activity using the search form present on the right side of the header or the "view or edit" + link. (We started this site recently and data set is very small, so + don't be surprised if your favorite concepts and activities are not + found here.)
  6. +
  7. Add a non-existing node. By default it will be + taken as a concept, but if you want it to be an activity, use the check + box. If a node already exists, you will see a message: "Object already + exists". Then you can visit that node and then decide what more you can + do.
  8. +
  9. Then add appropriate dependency links. For adding + dependency link, click on the "Add" button below the relation names + "Depends on" or its inverse name "Required for".
  10. +
  11. If you think + that the existing relation is not accurate, you can remove the link + using the "Delete" tab. Or discuss in the mailing list on the issue and + resolve the conflict.
  12. +
  13. Remember! You cannot add a relation + unless a concept node already exists. So, if you don't find the node + you are looking for, add one and link it.
  14. +
  15. Remember, all of + us are making only one single map collaboratively. All contributions + are recorded against your login name with date and time of contribution. +
  16. +
  17. Please see below the ownership and license information to know who owns the data made by you.
+ +


+

Spread the word around the world!


+
  • Well! The site is meant for you. We made this simplest web + application so that the whole world gets the benefit. The outcome of + this simplest exercise will be a very useful semantic dependency map for + learning and teaching any topic. The knowledge base built on this site + is available for every one. For making the maps in other languages we + have to only add translations to each node. We will soon add this + function to have the map in all languages. However, if you want to add + concepts in your own language, you can build them right away, and may + add the translation links latter when the feature is made available.
+


+

License


+ The network and the content produced is published under Creative Commons Attribution ShareAlike 3.0 +

 

+
  • What does this license imply?
  • +
    • you have the freedom to use the maps for any purpose.
    • +
    • you can make modifications to them.
    • you + can distribute or publish or sell them provided you grant the same + freedoms to others as well, i.e., release them again under the terms of + the same license.  Please write to us if you have any query on your rights to use them. +
    +
+


+

We are slowly adding more features!


+

After depMap (dependency map) we will soon have other kinds of maps as follows:

+
  • typeMap (what is a type of what, what is a sub-type of what) for taxonomy
  • +
  • partMap (what is a part of what, and what consists of what) for part-whole relation
  • +
  • reactionMap (what is a product of what, and what is a reactant of what) for how matter changes
  • +
  • causeMap (what is a cause of what, and what is an effect of what) for cause-effect map
  • +
  • testsMap (what is a preTest and what is a postTest of each node in the map) for assessment
  • +
  • and so on. If you have another good suggestion tell us, we will try to add that in future.  So, write to us or upload your suggestion in the sandbox (you need to register to do this.).
+


+

Tell us if you have any feedback!


+
  • We will make improvements to the user interface to make the + process easy. If you have good ideas you can tell us, or if you have + skills or willing to contribute you can collaborate in building the + software of this portal as well.  If you know how to help us build the site, you are welcome.  Send us + a patch and if it works and gels with the rest of the site your + contribution will be in.
+
+
join the room glab@conference.jabber.org to talk to other developers.
+
+ + This site is made and maintained by the gnowledge.org lab of Homi Bhabha Centre for Science Educatioin, TIFR.
+

 

+ + + + + + +
+ + + + +
+
    +
  • +
    +
  • +
+ + +
+ + + + + diff --git a/gstudio/templates/gstudio/nodetype_detail.html b/gstudio/templates/gstudio/nodetype_detail.html index e016108..ee7cfcb 100644 --- a/gstudio/templates/gstudio/nodetype_detail.html +++ b/gstudio/templates/gstudio/nodetype_detail.html @@ -41,6 +41,21 @@ [edit] +
+ + + + + {% for sid in object.ref.get_ssid %} + + + +   + + {% endfor %} + +
+ +
{% with object.html_content|safe as object_content %} @@ -185,6 +200,9 @@ {{atkey}}; {% endfor %}
{% endif %} + + + {% if object.content %} @@ -350,6 +368,8 @@ {% endif %}
{% endblock %} +
+ {% block nodetype-comments %}
diff --git a/gstudio/templates/gstudio/skeleton.html b/gstudio/templates/gstudio/skeleton.html index 192edb3..1570e77 100644 --- a/gstudio/templates/gstudio/skeleton.html +++ b/gstudio/templates/gstudio/skeleton.html @@ -172,7 +172,7 @@ {% include "gstudio/_header.html" %} - -
+ diff --git a/gstudio/templates/gstudio/tags/breadcrumbs.html b/gstudio/templates/gstudio/tags/breadcrumbs.html index 57f9ad9..0a33b7b 100644 --- a/gstudio/templates/gstudio/tags/breadcrumbs.html +++ b/gstudio/templates/gstudio/tags/breadcrumbs.html @@ -1,3 +1,6 @@ + +{% load gstudio_tags i18n %} +{% get_tags as nodetype_tags %} {% for crumb in breadcrumbs %} {% if not forloop.last %} {% if crumb.name %} @@ -7,3 +10,17 @@ {{ crumb.name }} {% endif %} {% endfor %} + + diff --git a/gstudio/templatetags/gstudio_tags.py b/gstudio/templatetags/gstudio_tags.py index a22715e..47dbbff 100644 --- a/gstudio/templatetags/gstudio_tags.py +++ b/gstudio/templatetags/gstudio_tags.py @@ -68,10 +68,10 @@ def get_metatypes(template='gstudio/tags/metatypes.html'): @register.inclusion_tag('gstudio/tags/dummy.html') -def get_authors(template='gstudio/tags/authors.html'): +def get_authors(number=5, template='gstudio/tags/authors.html'): """Return the published authors""" return {'template': template, - 'authors': Author.published.all()} + 'authors': Author.published.all()[:number]} @register.inclusion_tag('gstudio/tags/dummy.html') -- cgit v1.1