Ignore:
Timestamp:
20/11/08 15:36:20 (12 years ago)
Author:
cbyrom
Message:

Strip out code not relevant to MILK - mainly WCS and WMS stuff - also including the CSML server code + trackback code
Also tidy up structure of 'public' dir - setting up new 'style' dir and
centralising icons in icons dir + remove all unused icons, javascript and stylesheets.
Also strip out testcase code and populate new test directory structure.

Location:
MILK/trunk/milk_server/milk_server/controllers/atom_editor
Files:
1 added
1 moved

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/controllers/atom_editor/listatom.py

    r4442 r4468  
    55 @author: C Byrom, Tessella Sep 2008 
    66''' 
    7 from ows_server.lib.base import * 
    8 from ows_server.models import Utilities 
     7from milk_server.lib.base import * 
    98from ndgUtils import ndgObject 
    109from paste.request import parse_querystring 
    11 from ows_server.lib.ndgInterface import interface  
     10from milk_server.lib.ndgInterface import interface  
    1211from xml.parsers.expat import ExpatError 
    1312import logging 
     
    2120from ndgUtils.models.MolesEntity import MolesEntity as ME 
    2221from ndgUtils.vocabtermdata import VocabTermData as VTD, VocabTermItem as VTI 
    23 import ows_server.templates.htmlUtilities as utils 
     22import milk_server.lib.htmlUtilities as utils 
    2423from editatom import EditatomController as ec 
    2524 
     
    5251        logging.info("Rendering atom home page") 
    5352        c.title = "Atom Editor Home Page" 
    54         return render("genshi", "atom_home") 
     53        return render("genshi", "atom_editor/atom_home") 
    5554 
    5655     
     
    9291            c.associateLink = "" 
    9392            if associatedAtomID: 
    94                 c.associateLink = h.url_for(controller='editatom', action='saveAtom', \ 
     93                c.associateLink = h.url_for(controller='atom_editor/editatom', action='saveAtom', \ 
    9594                    uri = associatedAtomID, saveLevel = ec.ADD_ASSOCIATIONS) 
    96             c.searchLink = h.url_for(controller = 'listatom', action='list', \ 
     95            c.searchLink = h.url_for(controller = 'atom_editor/listatom', action='list', \ 
    9796                                     searchData='1', associatedAtomID = associatedAtomID) 
    9897             
     
    129128                                                     selected = inputs.get('providerID')) 
    130129 
    131             return render("genshi", 'atom_list') 
     130            return render("genshi", 'atom_editor/atom_list') 
    132131 
    133132        except Exception, e: 
Note: See TracChangeset for help on using the changeset viewer.