app/ghop/content/css/ghop.css
author Sverre Rabbelier <srabbelier@gmail.com>
Fri, 23 Jan 2009 21:20:33 +0000
changeset 935 09f47e08f805
parent 66 8c86470746fc
permissions -rw-r--r--
Adust the as_table tag to render a pick link if appropriate The templates are adjusted to pass on a 'reference' value, which is the url_name of the view from which the entity should be picked. The as_table (and related) function(s) construct and then pass on this argument and enable takes_contex so that we have access to the context of the enclosing template. We only extract ReferenceProperties that end with '_link_id' since that is how all RP's are currently named. It is not possible to create a field with the same name as the RP, as GAE will try to interpret it's contents as the key of an entity before even calling any function we can override. Patch by: Sverre Rabbelier
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     1
/*
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     2
Copyright 2008 the Melange authors.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     3
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     4
Licensed under the Apache License, Version 2.0 (the "License");
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     5
you may not use this file except in compliance with the License.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     6
You may obtain a copy of the License at
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     7
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     8
  http://www.apache.org/licenses/LICENSE-2.0
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
     9
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    10
Unless required by applicable law or agreed to in writing, software
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    11
distributed under the License is distributed on an "AS IS" BASIS,
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    12
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    13
See the License for the specific language governing permissions and
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    14
limitations under the License.
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    15
 */
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    16
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    17
body {
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    18
  font-family: Verdana, Helvetica, sans-serif;
66
8c86470746fc Finished migrating the "proto" app (which only contained a Person profile edit
Todd Larsen <tlarsen@google.com>
parents: 62
diff changeset
    19
  background-color: #DDDD00;
31
8b43c541afa7 First iteration of a "prototype" Melange app, along with an initial Person
Todd Larsen <tlarsen@google.com>
parents:
diff changeset
    20
}
42
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    21
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    22
td.formfieldrequired {
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    23
 font-style: italic;
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    24
}
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    25
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    26
td.formfieldhelptext {
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    27
 font-style: italic;
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    28
}
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    29
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    30
td.formfielderror {
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    31
 color: #FF0000;
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    32
}
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    33
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    34
td.formfieldheading {
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    35
 font-weight: bold;
7878a389d558 Updated version of proto.css that defines some "form field" table cell styles
Todd Larsen <tlarsen@google.com>
parents: 31
diff changeset
    36
}