diff --git a/basic/srv/portal/img/GNU_Health.png b/basic/srv/portal/img/GNU_Health.png new file mode 100644 index 0000000..779ca5a Binary files /dev/null and b/basic/srv/portal/img/GNU_Health.png differ diff --git a/basic/srv/portal/img/MacOS.png b/basic/srv/portal/img/MacOS.png new file mode 100644 index 0000000..5bfe192 Binary files /dev/null and b/basic/srv/portal/img/MacOS.png differ diff --git a/basic/srv/portal/img/Windows.png b/basic/srv/portal/img/Windows.png new file mode 100644 index 0000000..0fc7e3f Binary files /dev/null and b/basic/srv/portal/img/Windows.png differ diff --git a/basic/srv/portal/index.html b/basic/srv/portal/index.html index 8c584a0..efd5d22 100644 --- a/basic/srv/portal/index.html +++ b/basic/srv/portal/index.html @@ -169,6 +169,24 @@ +
+ +Klientské aplikace platformy Tryton GNU Health pro
+ Windows
+ MacOS
+
Autonomní sociání síť s možností propojení do cizích sociálních sítí.
diff --git a/basic/srv/portal/js/script.js b/basic/srv/portal/js/script.js index 35cb64f..8be24d2 100644 --- a/basic/srv/portal/js/script.js +++ b/basic/srv/portal/js/script.js @@ -2,8 +2,11 @@ $(function() { $.getJSON('js/apps.json', function(data) { $.each(data, function(id, props) { var div = $('#'+id).show(); - if (props.hasOwnProperty('url')) - div.find('h2 a').attr('href', props.url.replace('{host}', window.location.hostname)); + if (props.hasOwnProperty('url')) { + var url = props.url.replace('{host}', window.location.hostname); + div.find('h2 a').attr('href', url); + div.find('.url').text(url); + } if (props.hasOwnProperty('login')) div.find('.login').text(props.login); if (props.hasOwnProperty('password')) diff --git a/gnuhealth.sh b/gnuhealth.sh index e5e9fe1..748c59d 100755 --- a/gnuhealth.sh +++ b/gnuhealth.sh @@ -44,5 +44,5 @@ systemctl enable gnuhealth systemctl start gnuhealth # Add portal application definition -${SOURCE_DIR}/basic/portal-app-manager.py gnuhealth "https://{host}:8006/" admin "${GNUHEALTH_ADMIN_PWD}" +${SOURCE_DIR}/basic/portal-app-manager.py gnuhealth "{host}:8006" admin "${GNUHEALTH_ADMIN_PWD}" ${SOURCE_DIR}/basic/portal-app-manager.py gnuhealth-clients