Commit 6d83f84e authored by Reiner Jung's avatar Reiner Jung

Updated web app of medidex.

parent 7840b066
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>MediDexWeb</name>
<name>MediDex</name>
<comment></comment>
<projects>
</projects>
......@@ -26,7 +26,7 @@
<link>
<name>.link_to_grails_plugins</name>
<type>2</type>
<locationURI>GRAILS_ROOT/2.2.4/projects/MediDexWeb/plugins</locationURI>
<locationURI>GRAILS_ROOT/2.2.4/projects/MediDex/plugins</locationURI>
</link>
</linkedResources>
</projectDescription>
eclipse.preferences.version=1
org.grails.ide.eclipse.core.org.grails.ide.eclipse.core.install.name=Grails 2.2.4
org.grails.ide.eclipse.core.org.grails.ide.eclipse.core.install.name=grails 2.2.4
org.grails.ide.eclipse.core.use.default.install=false
#Grails Metadata file
#Fri Sep 06 09:44:27 CEST 2013
#Mon Sep 16 11:47:53 CEST 2013
app.grails.version=2.2.4
app.name=MediDexWeb
app.name=MediDex
app.version=0.1
plugins.export=1.5
plugins.jqplot=0.1
......@@ -15,18 +15,22 @@ grails.project.groupId = appName // change this to alter the default package nam
grails.mime.file.extensions = true // enables the parsing of file extensions from URLs into the request format
grails.mime.use.accept.header = false
grails.mime.types = [
all: '*/*',
atom: 'application/atom+xml',
css: 'text/css',
csv: 'text/csv',
form: 'application/x-www-form-urlencoded',
html: ['text/html','application/xhtml+xml'],
js: 'text/javascript',
json: ['application/json', 'text/json'],
multipartForm: 'multipart/form-data',
rss: 'application/rss+xml',
text: 'text/plain',
xml: ['text/xml', 'application/xml']
all: '*/*',
atom: 'application/atom+xml',
css: 'text/css',
csv: 'text/csv',
form: 'application/x-www-form-urlencoded',
html: ['text/html','application/xhtml+xml'],
js: 'text/javascript',
json: ['application/json', 'text/json'],
multipartForm: 'multipart/form-data',
rss: 'application/rss+xml',
text: 'text/plain',
xml: ['text/xml', 'application/xml'],
pdf: 'application/pdf',
rtf: 'application/rtf',
excel: 'application/vnd.ms-excel',
ods: 'application/vnd.oasis.opendocument.spreadsheet'
]
// URL Mapping Cache Max Size, defaults to 5000
......@@ -60,32 +64,32 @@ grails.exceptionresolver.params.exclude = ['password']
grails.hibernate.cache.queries = false
environments {
development {
grails.logging.jul.usebridge = true
}
production {
grails.logging.jul.usebridge = false
// TODO: grails.serverURL = "http://www.changeme.com"
}
development {
grails.logging.jul.usebridge = true
}
production {
grails.logging.jul.usebridge = false
// TODO: grails.serverURL = "http://www.changeme.com"
}
}
// log4j configuration
log4j = {
// Example of changing the log pattern for the default console appender:
//
//appenders {
// console name:'stdout', layout:pattern(conversionPattern: '%c{2} %m%n')
//}
// Example of changing the log pattern for the default console appender:
//
//appenders {
// console name:'stdout', layout:pattern(conversionPattern: '%c{2} %m%n')
//}
error 'org.codehaus.groovy.grails.web.servlet', // controllers
'org.codehaus.groovy.grails.web.pages', // GSP
'org.codehaus.groovy.grails.web.sitemesh', // layouts
'org.codehaus.groovy.grails.web.mapping.filter', // URL mapping
'org.codehaus.groovy.grails.web.mapping', // URL mapping
'org.codehaus.groovy.grails.commons', // core / classloading
'org.codehaus.groovy.grails.plugins', // plugins
'org.codehaus.groovy.grails.orm.hibernate', // hibernate integration
'org.springframework',
'org.hibernate',
'net.sf.ehcache.hibernate'
error 'org.codehaus.groovy.grails.web.servlet', // controllers
'org.codehaus.groovy.grails.web.pages', // GSP
'org.codehaus.groovy.grails.web.sitemesh', // layouts
'org.codehaus.groovy.grails.web.mapping.filter', // URL mapping
'org.codehaus.groovy.grails.web.mapping', // URL mapping
'org.codehaus.groovy.grails.commons', // core / classloading
'org.codehaus.groovy.grails.plugins', // plugins
'org.codehaus.groovy.grails.orm.hibernate', // hibernate integration
'org.springframework',
'org.hibernate',
'net.sf.ehcache.hibernate'
}
dataSource {
pooled = true
driverClassName = "org.h2.Driver"
username = "sa"
password = ""
pooled = true
driverClassName = "org.h2.Driver"
username = "sa"
password = ""
}
hibernate {
cache.use_second_level_cache = true
cache.use_query_cache = false
cache.region.factory_class = 'net.sf.ehcache.hibernate.EhCacheRegionFactory'
cache.use_second_level_cache = true
cache.use_query_cache = false
cache.region.factory_class = 'net.sf.ehcache.hibernate.EhCacheRegionFactory'
}
// environment specific settings
environments {
development {
dataSource {
dbCreate = "create-drop" // one of 'create', 'create-drop', 'update', 'validate', ''
url = "jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
}
}
test {
dataSource {
dbCreate = "update"
url = "jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
}
}
production {
dataSource {
dbCreate = "update"
url = "jdbc:h2:prodDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
pooled = true
properties {
maxActive = -1
minEvictableIdleTimeMillis=1800000
timeBetweenEvictionRunsMillis=1800000
numTestsPerEvictionRun=3
testOnBorrow=true
testWhileIdle=true
testOnReturn=true
validationQuery="SELECT 1"
}
}
}
development {
dataSource {
dbCreate = "update" // one of 'create', 'create-drop', 'update', 'validate', ''
url = "jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
}
}
test {
dataSource {
dbCreate = "update"
url = "jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
}
}
production {
dataSource {
dbCreate = "update"
url = "jdbc:h2:prodDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
pooled = true
properties {
maxActive = -1
minEvictableIdleTimeMillis=1800000
timeBetweenEvictionRunsMillis=1800000
numTestsPerEvictionRun=3
testOnBorrow=true
testWhileIdle=true
testOnReturn=true
validationQuery="SELECT 1"
}
}
}
}
/*
dataSource {
pooled = true
driverClassName = "com.mysql.jdbc.Driver"
dialect = "org.hibernate.dialect.MySQL5Dialect"
}
hibernate {
cache.use_second_level_cache = true
cache.use_query_cache = false
cache.region.factory_class = 'net.sf.ehcache.hibernate.EhCacheRegionFactory'
}
// environment specific settings
environments {
development {
dataSource {
dbCreate = "update" // one of 'create', 'create-drop', 'update', 'validate', ''
url = "jdbc:mysql://localhost/medidex?useUnicode=yes&characterEncoding=UTF-8"
username = "root"
password = ""
}
}
test {
dataSource {
dbCreate = "update"
url = "jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
username = "sa"
password = ""
}
}
production {
dataSource {
dbCreate = "update"
url = "jdbc:h2:prodDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
username = "sa"
password = ""
pooled = true
properties {
maxActive = -1
minEvictableIdleTimeMillis=1800000
timeBetweenEvictionRunsMillis=1800000
numTestsPerEvictionRun=3
testOnBorrow=true
testWhileIdle=true
testOnReturn=true
validationQuery="SELECT 1"
}
}
}
}
*/
......@@ -7,7 +7,7 @@ class UrlMappings {
}
}
"/"(view:"/index")
"/"(controller:"benutzer", action:"login")
"500"(view:'/error')
}
}
......@@ -2,40 +2,8 @@
<html>
<head>
<meta name="layout" content="main"/>
<title>MediDex &bull; Benutzer</title>
<title>MediDex &bull; Login</title>
</head>
<body>
<div id="inhalt_hintergrund">
<div id="hinzufuegen">
<ul class="hinzufuegen">
<li class="hinzufuegen">
<span class="hinzufuegen">
<form action="input_text.htm">
<input name="name" type="text" size="20" maxlength="30" value="Name">
<input name="pass" type="text" size="20" maxlength="30" value="Passwort">
<input name="pass2" type="text" size="20" maxlength="30" value="Passwort wiederholen">
</form>
</span>
</li>
</ul>
</div>
<div id="hinzufuegen">
<ul class="hinzufuegen">
<li class="hinzufuegen">
<span class="hinzufuegen">
<a class="link aktiv" href=".html" title="Hinzuf&uuml;gen">
Hinzuf&uuml;gen
</a>
</span>
</li>
</ul>
</div>
<div id="inhalt">
<h3>Benutzer</h3>
<p>
Hier sieht man alle Benutzer auf einen Streich!
</p>
</div>
</div>
</body>
</html>
......@@ -5,8 +5,8 @@
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"><!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="de">
<meta name="author" content="Annalena, Eric, Linn, Marius, Michael, Sönke und Yasmine">
<meta name="keywords" content="">
......@@ -20,15 +20,13 @@
<r:layoutResources />
</head>
<body>
<g:javascript library="application"/>
<div id="hauptlayout">
<div id="hauptlayout">
<div id="kopf_hintergrund">
<div id="navigation">
<ul class="eintrag">
<ul class="eintrag">
<li class="eintrag">
<span class="eintrag">
<a class="link aktiv" href="benutzer.html" title="Benutzer">
<span class="eintrag">
<a href="${createLink(controller: 'benutzer')}" class="link">
Benutzer
</a>
</span>
......@@ -37,8 +35,8 @@
<ul class="eintrag">
<li class="eintrag">
<span class="eintrag">
<a class="link" href="stationen.html" title="Station">
Stationen
<a href="${createLink(controller: 'statistik', action: 'statistik')}" class="link">
Statistik
</a>
</span>
</li>
......@@ -46,16 +44,16 @@
<ul class="eintrag">
<li class="eintrag">
<span class="eintrag">
<a class="link" href="statistik.html" title="Statistik">
Statistik
<a href="${createLink(controller: 'daten', action:'showData')}" class="link">
Daten
</a>
</span>
</li>
</ul>
<ul class="eintrag">
<ul class="eintrag">
<li class="eintrag">
<span class="eintrag">
<a class="link" href="export.html" title="Export">
<a href="${createLink(controller: 'daten', action:'exportData')}" class="link">
Export
</a>
</span>
......@@ -64,7 +62,7 @@
<ul class="eintrag">
<li class="eintrag">
<span class="eintrag">
<a class="link" href="logout.html" title="Logout">
<a href="${createLink(controller: 'benutzer', action: 'doLogout')}" class="link">
Logout
</a>
</span>
......@@ -72,10 +70,14 @@
</ul>
</div>
</div>
<g:layoutBody/>
<r:layoutResources />
<div id="inhalt_hintergrund">
<div id="inhalt">
<g:layoutBody/>
<r:layoutResources />
</div>
</div>
<div id="fuss_hintergrund">
</div>
</div>
</body>
</body>
</html>
#Grails Metadata file
#Fri Sep 06 09:44:27 CEST 2013
app.grails.version=2.2.4
app.name=MediDexWeb
app.version=0.1
This diff is collapsed.
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