Add portal icons for GNU Health, closes #124
This commit is contained in:
parent
64141b61c2
commit
a7cb384b16
BIN
basic/srv/portal/img/GNU_Health.png
Normal file
BIN
basic/srv/portal/img/GNU_Health.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 119 KiB |
BIN
basic/srv/portal/img/MacOS.png
Normal file
BIN
basic/srv/portal/img/MacOS.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
BIN
basic/srv/portal/img/Windows.png
Normal file
BIN
basic/srv/portal/img/Windows.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
@ -169,6 +169,24 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="c" id="gnuhealth">
|
||||
<h2><a href="#"><img src="img/GNU_Health.png" alt="GNU Health" title="GNU Health">GNU Health</a></h2>
|
||||
<p>Zdravotní a nemocniční informační systém.</p>
|
||||
<ul>
|
||||
<li><strong>URL:</strong> <span class="url"></span></li>
|
||||
<li><strong>Login:</strong> <span class="login"></span></li>
|
||||
<li><strong>Heslo:</strong> <span class="password"></span></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="c" id="gnuhealth-clients">
|
||||
<h2><a href="https://downloads.tryton.org/4.2/tryton-last.exe"><img src="img/GNU_Health.png" alt="GNU Health" title="GNU Health">GNU Health klienti</a></h2>
|
||||
<p>Klientské aplikace platformy Tryton GNU Health pro<br>
|
||||
<a href="https://downloads.tryton.org/4.2/tryton-last.exe"><img src="img/Windows.png" class="ico" alt="Windows">Windows</a><br>
|
||||
<a href="https://downloads.tryton.org/4.2/tryton-last.dmg"><img src="img/MacOS.png" class="ico" alt="MacOS">MacOS</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="c" id="diaspora">
|
||||
<h2><a href="#"><img src="img/Diaspora.png" alt="diaspora*" title="diaspora*">diaspora*</a></h2>
|
||||
<p>Autonomní sociání síť s možností propojení do cizích sociálních sítí.</p>
|
||||
|
@ -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'))
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user