Commit 2003cddc authored by Stephan Janosch's avatar Stephan Janosch

--no commit message

--no commit message
parent e77d849b
class SwengUiGrailsPlugin {
// the plugin version
def version = "0.1"
def version = "0.2"
// the version or versions of Grails the plugin is designed for
def grailsVersion = "1.3.4 > *"
// the other plugins this plugin depends on
......@@ -10,10 +10,9 @@ class SwengUiGrailsPlugin {
"grails-app/views/error.gsp"
]
// TODO Fill in these fields
def author = "Your name"
def authorEmail = ""
def title = "Plugin summary/headline"
def author = "Stephan Janosch"
def authorEmail = "janosch@mpi-cbg.de"
def title = "Grails Plugin for integratin SWENG UI."
def description = '''\\
Brief description of the plugin.
'''
......
#Grails Metadata file
#Mon Nov 29 14:13:04 CET 2010
app.grails.version=1.3.5
#Tue Mar 15 14:57:43 CET 2011
app.grails.version=1.3.4
app.name=sweng-ui
plugins.hibernate=1.3.5
plugins.sweng-ui=0.1
plugins.tomcat=1.3.5
plugins.hibernate=1.3.4
plugins.tomcat=1.3.4
......@@ -41,4 +41,7 @@ environments {
}
}
\ No newline at end of file
}
// The following properties have been added by the Upgrade process...
grails.views.default.codec="none" // none, html, base64
grails.views.gsp.encoding="UTF-8"
......@@ -12,6 +12,11 @@
<title>CBG ORDERING - News</title>
</content>
<content tag="menu">
<g:render template="/layouts/menu" />
</content>
<content tag="bodyExtension">
<div dojoType="dijit.layout.ContentPane" id="content_area" region="center">
<!-- upper split pane -->
......@@ -92,6 +97,7 @@
</table>
</div>
</div>
</content>
</g:applyLayout>
\ No newline at end of file
<link rel="shortcut icon" type="image/png" href="${grailsApplication.config.de.mpicbg.sweng.commons_web}/images/icons/cart.png">
<!-- load dojo stylesheets first! -->
<link rel="stylesheet" type="text/css" media="all"
href="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/dojo-release-1.2.3/dijit/themes/tundra/tundra.css">
href="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js/dojo-release-1.2.3/dijit/themes/tundra',file:'tundra.css')}">
<link rel="stylesheet" type="text/css" media="all"
href="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/dojo-release-1.2.3/dojo/resources/dojo.css">
href="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js/dojo-release-1.2.3/dojo/resources',file:'dojo.css')}">
<!-- load own stylesheets -->
<link rel="stylesheet" type="text/css" media="all" href="${grailsApplication.config.de.mpicbg.sweng.commons_web}/css/webapp.css">
<link rel="stylesheet" type="text/css" media="all" href="${grailsApplication.config.de.mpicbg.sweng.commons_web}/css/shadow.css">
<link rel="stylesheet" type="text/css" media="all" href="${grailsApplication.config.de.mpicbg.sweng.commons_web}/css/menu_shadow.css">
<link rel="stylesheet" type="text/css" media="all" href="${grailsApplication.config.de.mpicbg.sweng.commons_web}/css/collectionhandler.css">
<link rel="stylesheet" type="text/css" media="all" href="${grailsApplication.config.de.mpicbg.sweng.commons_web}/css/collectionwidget.css">
<link rel="stylesheet" type="text/css" media="all" href="${grailsApplication.config.de.mpicbg.sweng.commons_web}/css/dialog.css">
<link rel="stylesheet" type="text/css" media="all" href="${grailsApplication.config.de.mpicbg.sweng.commons_web}/css/jmesa.css">
<link rel="stylesheet" type="text/css" media="print" href="${grailsApplication.config.de.mpicbg.sweng.commons_web}/css/print.css">
<link rel="stylesheet" type="text/css" media="all" href="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/css',file:'webapp.css')}">
<link rel="stylesheet" type="text/css" media="all" href="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/css',file:'shadow.css')}">
<link rel="stylesheet" type="text/css" media="all" href="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/css',file:'menu_shadow.css')}">
<link rel="stylesheet" type="text/css" media="all" href="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/css',file:'collectionhandler.css')}">
<link rel="stylesheet" type="text/css" media="all" href="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/css',file:'collectionwidget.css')}">
<link rel="stylesheet" type="text/css" media="all" href="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/css',file:'dialog.css')}">
<link rel="stylesheet" type="text/css" media="all" href="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/css',file:'jmesa.css')}">
<link rel="stylesheet" type="text/css" media="print" href="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/css',file:'print.css')}">
<!-- overwrite some dojo-theme styles -->
<link rel="stylesheet" type="text/css" media="all" href="${grailsApplication.config.de.mpicbg.sweng.commons_web}/css/tundra_overwrite.css">
<link rel="stylesheet" type="text/css" media="all" href="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/css',file:'tundra_overwrite.css')}">
<!-- load dojo core -->
<script
type="text/javascript"
src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/dojo-release-1.2.3/dojo/dojo.js"
src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js/dojo-release-1.2.3/dojo',file:'dojo.js')}"
djConfig="parseOnLoad:true, isDebug:false">
</script>
<!-- load own scripts -->
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/WebElements.Utils.js"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/WebElements.Transition.js"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/WebElements.Animator.js"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/WebElements.AnimationObject.js"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/WebElements.AnimationGroup.js"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/WebElements.AnimationChain.js"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/WebElements.DropDownBox.js"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/WebElements.KeywordFilter.js"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'WebElements.Utils.js')}"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'WebElements.Transition.js')}"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'WebElements.Animator.js')}"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'WebElements.AnimationObject.js')}"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'WebElements.AnimationGroup.js')}"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'WebElements.AnimationChain.js')}"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'WebElements.DropDownBox.js')}"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'WebElements.KeywordFilter.js')}"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/Collection.js"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/CollectionHandler.js"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/CollectionWidget.js"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/Dialog.js"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/FramePlayer.js"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'Collection.js')}"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'CollectionHandler.js')}"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'CollectionWidget.js')}"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'Dialog.js')}"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'FramePlayer.js')}"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/menu.js"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/shadow.js"></script>
<script type="text/javascript" src="${grailsApplication.config.de.mpicbg.sweng.commons_web}/js/form.js"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'menu.js')}"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'shadow.js')}"></script>
<script type="text/javascript" src="${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/js',file:'form.js')}"></script>
<!-- import dojo modules -->
<script type="text/javascript">
......@@ -55,9 +53,9 @@
</script>
<!-- for jmesa -->
<script type="text/javascript" src="${resource(dir: "plugins/jmesa-0.2/js", file: "jquery.min.js")}"></script>
<script type="text/javascript" src="${resource(dir: "plugins/jmesa-0.2/js", file: "jquery.jmesa.min.js")}"></script>
<script type="text/javascript" src="${resource(dir: "plugins/jmesa-0.2/js", file: "jmesa.min.js")}"></script>
<script type="text/javascript" src="${resource(dir: "js", file: "jquery.min.js",plugin:'jmesa')}"></script>
<script type="text/javascript" src="${resource(dir: "js", file: "jquery.jmesa.min.js",plugin:'jmesa')}"></script>
<script type="text/javascript" src="${resource(dir: "js", file: "jmesa.min.js",plugin:'jmesa')}"></script>
<script type="text/javascript">
var onInvokeAction = function(id) {
......@@ -65,3 +63,10 @@
createHiddenInputFieldsForLimitAndSubmit(id);
};
</script>
<style type="text/css">
.menuImageLink {
background-repeat: no-repeat;
background-position: 7px center;
}
</style>
<%--
Created by IntelliJ IDEA.
User: janosch
Date: 15.03.11
Time: 10:07
To change this template use File | Settings | File Templates.
--%>
<ul class="menuList">
<li class="menubar">
<a href="#" class="actuator menuImageLink" style="background-image:url(${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/images/icons',file:'application_home.png')});padding-left: 28px;">
Home
</a>
<ul id="HomeMenu" class="menu">
<li>
<a href="/" class="menuImageLink"
style="background-image:url(${resource(plugin:'sweng-ui',dir:'commons-web/0.0.9/images/icons',file:'package.png')});padding-left:28px;">
Root
</a>
</li>
</ul>
</li>
<li class="menubar">
<a href="#" class="actuator">Controller</a>
<ul id="controllerMenu" class="menu">
<g:each var="c" in="${grailsApplication.controllerClasses.sort { it.fullName } }">
<li> <g:link controller="${c.logicalPropertyName}">${c.fullName}</g:link></li>
</g:each>
</ul>
</li>
</ul>
\ No newline at end of file
......@@ -4,12 +4,8 @@
<head>
%{--<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">--}%
<g:render template="/layouts/header"/>
<g:render template="/layouts/header" plugin="sweng-ui"/>
%{--<g:layoutHead/>--}%
<!-- the grails css -->
%{--<link rel="stylesheet" href="${resource(dir:'css',file:'main.css')}" />--}%
<g:pageProperty name="page.title"/>
</head>
......@@ -50,43 +46,8 @@
</div>
</div>
<ul class="menuList">
<li class="menubar">
<g:link action="index" controller="home" class="actuator"
style="background-image:url(${grailsApplication.config.de.mpicbg.sweng.commons_web}/images/icons/application_home.png);
background-repeat:no-repeat;
padding-left:28px;
background-position: 10px center;">
Home</g:link>
<ul id="OrderingMenu" class="menu">
<li>
<g:link action="searchfor" controller="home"
style="background-image:url(${grailsApplication.config.de.mpicbg.sweng.commons_web}/images/icons/package.png);
background-repeat:no-repeat;
padding-left:28px;
background-position: 10px center;">
Find all my orders</g:link>
</li>
<li>
<g:link action="index" controller="prsap"
style="background-image:url(${grailsApplication.config.de.mpicbg.sweng.commons_web}/images/icons/find.png);
background-repeat:no-repeat;
padding-left:28px;
background-position: 10px center;
">Search PR#</g:link>
</li>
<li>
<g:link action="news" controller="home"
style="background-image:url(${grailsApplication.config.de.mpicbg.sweng.commons_web}/images/icons/new.png);
background-repeat:no-repeat;
padding-left:28px;
background-position: 10px center;">Dev Dairy</g:link>
</li>
</ul>
</li>
<g:pageProperty name="page.menu"/>
</ul>
</div>
</div>
<g:pageProperty name="page.bodyExtension"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment