diff options
author | Rob Crittenden <rcritten@redhat.com> | 2009-01-22 10:42:41 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-01-22 10:42:41 -0500 |
commit | c2967a675a288e7d31374229fd974d0cb9966f2c (patch) | |
tree | 58be8ca6319f4660d9f18b97a37b9c0c56104d02 /ipawebui/templates | |
parent | 2b8b87b4d6c3b4389a0a7bf48c225035c53e7ad1 (diff) | |
parent | 5d82e3b35a8fb2d4c25f282cddad557a7650197c (diff) | |
download | freeipa.git-c2967a675a288e7d31374229fd974d0cb9966f2c.tar.gz freeipa.git-c2967a675a288e7d31374229fd974d0cb9966f2c.tar.xz freeipa.git-c2967a675a288e7d31374229fd974d0cb9966f2c.zip |
Merge branch 'master' of git://fedorapeople.org/~jderose/freeipa2
Diffstat (limited to 'ipawebui/templates')
-rw-r--r-- | ipawebui/templates/__init__.py | 21 | ||||
-rw-r--r-- | ipawebui/templates/form.kid | 16 | ||||
-rw-r--r-- | ipawebui/templates/main.kid | 14 |
3 files changed, 51 insertions, 0 deletions
diff --git a/ipawebui/templates/__init__.py b/ipawebui/templates/__init__.py new file mode 100644 index 00000000..10d4cf8c --- /dev/null +++ b/ipawebui/templates/__init__.py @@ -0,0 +1,21 @@ +# Authors: Jason Gerard DeRose <jderose@redhat.com> +# +# Copyright (C) 2008 Red Hat +# see file 'COPYING' for use and warranty information +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; version 2 only +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +""" +Sub-package containing Kid templates. +""" diff --git a/ipawebui/templates/form.kid b/ipawebui/templates/form.kid new file mode 100644 index 00000000..64015700 --- /dev/null +++ b/ipawebui/templates/form.kid @@ -0,0 +1,16 @@ +<?xml version='1.0' encoding='utf-8'?> +<html xmlns:py="http://purl.org/kid/ns#"> + +<head> + <title>Hello</title> +</head> + +<body> + <table> + <tr py:for="param in command.params()"> + <td py:content="param.name"/> + </tr> + </table> +</body> + +</html> diff --git a/ipawebui/templates/main.kid b/ipawebui/templates/main.kid new file mode 100644 index 00000000..692f2b57 --- /dev/null +++ b/ipawebui/templates/main.kid @@ -0,0 +1,14 @@ +<?xml version='1.0' encoding='utf-8'?> +<html xmlns:py="http://purl.org/kid/ns#"> + +<head> + <title>FreeIPA</title> +</head> + +<body> + <p py:for="name in api.Command"> + <a href="${name}" py:content="name"/> + </p> +</body> + +</html> |