Ignore:
Timestamp:
20 Jun 2006, 10:44:04 (18 years ago)
Author:
joachim
Message:

=import from csv

Location:
waeup_product/trunk/profiles/default/layouts
Files:
1 added
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/profiles/default/layouts/certificate.xml

    r250 r256  
    11<?xml version="1.0"?>
    2 <object name="studycourse" meta_type="CPS Layout">
     2<object name="certificate" meta_type="CPS Layout">
    33 <property name="layout_create_method"></property>
    44 <property name="layout_edit_method"></property>
     
    77 <property name="flexible_widgets"/>
    88 <property name="validate_values_expr"></property>
     9 <widget name="admin_status" meta_type="String Widget">
     10  <property name="title">Admin Status</property>
     11  <property name="fields">
     12   <element value="admin_status"/>
     13  </property>
     14  <property name="label">Admin Status</property>
     15  <property name="label_edit">Admin Status</property>
     16  <property name="readonly_layout_modes"/>
     17  <property name="hidden_layout_modes"/>
     18  <property name="hidden_readonly_layout_modes"/>
     19 </widget>
     20 <widget name="category" meta_type="String Widget">
     21  <property name="title">Category</property>
     22  <property name="fields">
     23   <element value="category"/>
     24  </property>
     25  <property name="label">Category</property>
     26  <property name="label_edit">Category</property>
     27  <property name="readonly_layout_modes"/>
     28  <property name="hidden_layout_modes"/>
     29  <property name="hidden_readonly_layout_modes"/>
     30 </widget>
    931 <widget name="code" meta_type="String Widget">
    1032  <property name="title">Code</property>
     
    1840  <property name="hidden_layout_modes"/>
    1941  <property name="hidden_readonly_layout_modes"/>
    20   <property name="display_width">6</property>
    21   <property name="size_max">6</property>
     42  <property name="size_max">20</property>
    2243 </widget>
    2344 <widget name="department" meta_type="Select Widget">
     
    3253  <property name="hidden_layout_modes"/>
    3354  <property name="hidden_readonly_layout_modes"/>
     55  <property name="vocabulary">get_departments_voc</property>
     56 </widget>
     57 <widget name="end_level" meta_type="Select Widget">
     58  <property name="title">End Level</property>
     59  <property name="fields">
     60   <element value="end_level"/>
     61  </property>
     62  <property name="label">End Level</property>
     63  <property name="label_edit">End Level</property>
     64  <property name="readonly_layout_modes"/>
     65  <property name="hidden_layout_modes"/>
     66  <property name="hidden_readonly_layout_modes"/>
     67  <property name="vocabulary">courselevel</property>
    3468 </widget>
    3569 <widget name="faculty" meta_type="Select Widget">
     
    4478  <property name="hidden_layout_modes"/>
    4579  <property name="hidden_readonly_layout_modes"/>
     80  <property name="vocabulary">get_faculties_voc</property>
     81 </widget>
     82 <widget name="heading" meta_type="String Widget">
     83  <property name="title">Heading</property>
     84  <property name="fields">
     85   <element value="heading"/>
     86  </property>
     87  <property name="label">Title</property>
     88  <property name="label_edit">Title</property>
     89  <property name="readonly_layout_modes"/>
     90  <property name="hidden_layout_modes"/>
     91  <property name="hidden_readonly_layout_modes"/>
     92 </widget>
     93 <widget name="m_prefix" meta_type="String Widget">
     94  <property name="title">MPrefix</property>
     95  <property name="fields">
     96   <element value="m_prefix"/>
     97  </property>
     98  <property name="label">MPrefix</property>
     99  <property name="label_edit">MPrefix</property>
     100  <property name="readonly_layout_modes"/>
     101  <property name="hidden_layout_modes"/>
     102  <property name="hidden_readonly_layout_modes"/>
    46103 </widget>
    47104 <widget name="max_load" meta_type="Int Widget">
     
    69126  <property name="hidden_readonly_layout_modes"/>
    70127 </widget>
    71  <widget name="nr_of_levels" meta_type="Int Widget">
    72   <property name="title">Nr of Levels</property>
    73   <property name="fields">
    74    <element value="nr_of_levels"/>
    75   </property>
    76   <property name="is_required">True</property>
    77   <property name="label">Nr of Levels</property>
    78   <property name="label_edit">Nr of Levels</property>
    79   <property name="readonly_layout_modes"/>
    80   <property name="hidden_layout_modes"/>
    81   <property name="hidden_readonly_layout_modes"/>
     128 <widget name="n_core" meta_type="Int Widget">
     129  <property name="title">NCore</property>
     130  <property name="fields">
     131   <element value="n_core"/>
     132  </property>
     133  <property name="label">NCore</property>
     134  <property name="label_edit">NCore</property>
     135  <property name="readonly_layout_modes"/>
     136  <property name="hidden_layout_modes"/>
     137  <property name="hidden_readonly_layout_modes"/>
     138 </widget>
     139 <widget name="nr_years" meta_type="Int Widget">
     140  <property name="title">Nr of Years</property>
     141  <property name="fields">
     142   <element value="nr_years"/>
     143  </property>
     144  <property name="label">Nr of Years</property>
     145  <property name="label_edit">Nr of Years</property>
     146  <property name="readonly_layout_modes"/>
     147  <property name="hidden_layout_modes"/>
     148  <property name="hidden_readonly_layout_modes"/>
     149 </widget>
     150 <widget name="probation_credits" meta_type="Int Widget">
     151  <property name="title">Probation  Credits</property>
     152  <property name="fields">
     153   <element value="probation_credits"/>
     154  </property>
     155  <property name="label">Probation  Credits</property>
     156  <property name="label_edit">Probation  Credits</property>
     157  <property name="readonly_layout_modes"/>
     158  <property name="hidden_layout_modes"/>
     159  <property name="hidden_readonly_layout_modes"/>
     160 </widget>
     161 <widget name="promotion_credits" meta_type="Int Widget">
     162  <property name="title">Promotion  Credits</property>
     163  <property name="fields">
     164   <element value="promotion_credits"/>
     165  </property>
     166  <property name="label">Promotion  Credits</property>
     167  <property name="label_edit">Promotion  Credits</property>
     168  <property name="readonly_layout_modes"/>
     169  <property name="hidden_layout_modes"/>
     170  <property name="hidden_readonly_layout_modes"/>
     171 </widget>
     172 <widget name="start_level" meta_type="Select Widget">
     173  <property name="title">Start Level</property>
     174  <property name="fields">
     175   <element value="start_level"/>
     176  </property>
     177  <property name="label">Start Level</property>
     178  <property name="label_edit">Start Level</property>
     179  <property name="readonly_layout_modes"/>
     180  <property name="hidden_layout_modes"/>
     181  <property name="hidden_readonly_layout_modes"/>
     182  <property name="vocabulary">courselevel</property>
    82183 </widget>
    83184 <table>
     
    92193  </row>
    93194  <row>
    94    <cell name="nr_of_levels"/>
    95   </row>
    96   <row>
    97    <cell name="max_load"/>
     195   <cell name="start_level"/>
     196  </row>
     197  <row>
     198   <cell name="end_level"/>
    98199  </row>
    99200  <row>
    100201   <cell name="max_pass"/>
     202  </row>
     203  <row>
     204   <cell name="promotion_credits"/>
     205  </row>
     206  <row>
     207   <cell name="probation_credits"/>
     208  </row>
     209  <row>
     210   <cell name="admin_status"/>
     211  </row>
     212  <row>
     213   <cell name="category"/>
     214  </row>
     215  <row>
     216   <cell name="m_prefix"/>
     217  </row>
     218  <row>
     219   <cell name="nr_years"/>
     220  </row>
     221  <row>
     222   <cell name="n_core"/>
    101223  </row>
    102224 </table>
  • waeup_product/trunk/profiles/default/layouts/course.xml

    r238 r256  
    77 <property name="flexible_widgets"/>
    88 <property name="validate_values_expr"></property>
     9 <widget name="category" meta_type="String Widget">
     10  <property name="title">Category</property>
     11  <property name="fields">
     12   <element value="category"/>
     13  </property>
     14  <property name="label">Category</property>
     15  <property name="label_edit">Category</property>
     16  <property name="readonly_layout_modes"/>
     17  <property name="hidden_layout_modes"/>
     18  <property name="hidden_readonly_layout_modes"/>
     19 </widget>
    920 <widget name="code" meta_type="String Widget">
    1021  <property name="title">Code</property>
     
    1728  <property name="display_width">10</property>
    1829 </widget>
    19  <widget name="core_elective" meta_type="Boolean Widget">
     30 <widget name="credits" meta_type="Int Widget">
     31  <property name="title">Credits</property>
    2032  <property name="fields">
    21    <element value="core_elective"/>
     33   <element value="credits"/>
    2234  </property>
    23   <property name="is_required">True</property>
    24   <property name="label">Core or elective</property>
    25   <property name="label_edit">Core or elective</property>
    26   <property name="label_false">Elective Course</property>
    27   <property name="label_true">Core Course</property>
     35  <property name="label">Credits</property>
     36  <property name="label_edit">Credits</property>
     37  <property name="readonly_layout_modes"/>
     38  <property name="hidden_layout_modes"/>
     39  <property name="hidden_readonly_layout_modes"/>
    2840 </widget>
    29  <widget name="credit" meta_type="Int Widget">
     41 <widget name="org_code" meta_type="String Widget">
     42  <property name="title">Original Code</property>
    3043  <property name="fields">
    31    <element value="credit"/>
     44   <element value="org_code"/>
    3245  </property>
    33   <property name="is_required">True</property>
    34   <property name="label">Credit</property>
    35   <property name="label_edit">Credit</property>
    36  </widget>
    37  <widget name="level" meta_type="Select Widget">
    38   <property name="fields">
    39    <element value="level"/>
    40   </property>
    41   <property name="is_required">True</property>
    42   <property name="label">Level</property>
    43   <property name="label_edit">Level</property>
    44   <property name="vocabulary">courselevel</property>
     46  <property name="label">Original Code</property>
     47  <property name="label_edit">Original Code</property>
     48  <property name="readonly_layout_modes"/>
     49  <property name="hidden_layout_modes"/>
     50  <property name="hidden_readonly_layout_modes"/>
    4551 </widget>
    4652 <widget name="passmark" meta_type="Int Widget">
     53  <property name="title">Passmark</property>
    4754  <property name="fields">
    4855   <element value="passmark"/>
     
    5562  <property name="hidden_readonly_layout_modes"/>
    5663 </widget>
    57  <widget name="semester" meta_type="Select Widget">
    58   <property name="title">Semester</property>
     64 <widget name="semester" meta_type="Int Widget">
     65  <property name="title">Nr of semesters</property>
    5966  <property name="fields">
    6067   <element value="semester"/>
    6168  </property>
    62   <property name="label">Semester</property>
    63   <property name="label_edit">Semester</property>
     69  <property name="label">Nr of semesters</property>
     70  <property name="label_edit">Nr of semesters</property>
    6471  <property name="readonly_layout_modes"/>
    6572  <property name="hidden_layout_modes"/>
    6673  <property name="hidden_readonly_layout_modes"/>
    67   <property name="vocabulary">semester_voc</property>
    68  </widget>
    69  <widget name="text" meta_type="Text Widget">
    70   <property name="fields">
    71    <element value="text"/>
    72   </property>
    73   <property name="label">Text</property>
    74   <property name="label_edit">Text</property>
    75   <property name="help">Short Description</property>
    76   <property name="is_i18n">True</property>
    77   <property name="hidden_layout_modes"/>
    78   <property name="css_class">description</property>
    79   <property name="width">72</property>
    8074 </widget>
    8175 <table>
    82   <row>
    83    <cell name="heading"/>
    84   </row>
    85   <row>
    86    <cell name="text"/>
    87   </row>
    88   <row>
    89    <cell name="level"/>
    90   </row>
    9176  <row>
    9277   <cell name="code"/>
    9378  </row>
    9479  <row>
    95    <cell name="semester"/>
     80   <cell name="org_code"/>
    9681  </row>
    9782  <row>
    98    <cell name="credit"/>
     83   <cell name="category"/>
    9984  </row>
    10085  <row>
    101    <cell name="core_elective"/>
     86   <cell name="credits"/>
     87  </row>
     88  <row>
     89   <cell name="semester"/>
    10290  </row>
    10391  <row>
Note: See TracChangeset for help on using the changeset viewer.