diff options
author | Daniel Napora <napcok@gmail.com> | 2013-09-22 23:50:55 +0200 |
---|---|---|
committer | Daniel Napora <napcok@gmail.com> | 2013-09-22 23:50:55 +0200 |
commit | 84060477ead5c0a97c862cac80ca75adc3697032 (patch) | |
tree | 26d086398a8f47bd4af5521a466c5be3716bfaa6 /usr/share/mageiawelcome/helpers.py | |
parent | 55d479337299c57225739f7cd3ec04d8ed2d9976 (diff) | |
download | mageiawelcome-84060477ead5c0a97c862cac80ca75adc3697032.tar mageiawelcome-84060477ead5c0a97c862cac80ca75adc3697032.tar.gz mageiawelcome-84060477ead5c0a97c862cac80ca75adc3697032.tar.bz2 mageiawelcome-84060477ead5c0a97c862cac80ca75adc3697032.tar.xz mageiawelcome-84060477ead5c0a97c862cac80ca75adc3697032.zip |
Ability to select multiple packages and install them with one click
Diffstat (limited to 'usr/share/mageiawelcome/helpers.py')
-rw-r--r-- | usr/share/mageiawelcome/helpers.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/share/mageiawelcome/helpers.py b/usr/share/mageiawelcome/helpers.py index 027da77..3468892 100644 --- a/usr/share/mageiawelcome/helpers.py +++ b/usr/share/mageiawelcome/helpers.py @@ -14,16 +14,16 @@ def get_listapp(): if (r[6] == 'false'): start_btn = "" else: - start_btn = "<button class='cmd small pill green' data-run='"+ r[6] + "'><i class='icon-ok-sign'> </i> start</button>" + start_btn = "<button class='cmd small pill green' data-run='"+ r[6] + "'><i class='icon-ok-sign'> </i> Launch</button>" if (r[7] != ''): label = "<span class='label red'>" + r[7] + "</span>" else: label = "" if ( not os.path.isfile(r[5])):# DO ZAINSTALOWANIA - listapp += "<li class='" + r[3] +"' id='" + r[0] + "'><img class=icon src=img/" + r[0] + ".png /> \ -<h6>" + r[2] + "</h6><p class=description>" + r[4] + "</p>" + start_btn + label + "<button class='inst small pill' data-rpm='" + r[1] + "'><i class='icon-circle-arrow-down'> </i> install</button></li>" + listapp += "<li class='" + r[3] +"' id='" + r[0] + "'><img class=icon src=img/" + r[0] + ".png /><div class='chkbox'><input type='checkbox' datasrc='" + r[1] +"'></div> \ +<h6>" + r[2] + "</h6><p class=description>" + r[4] + "</p>" + start_btn + label + "<button class='inst small pill' data-rpm='" + r[1] + "'><i class='icon-circle-arrow-down'> </i> Install</button></li>" else: # JEST ZAINSTALOWANY - listapp += "<li class='urpme " + r[3] +"' id='" + r[0] + "'><img class=icon src=img/" + r[0] + ".png /> \ + listapp += "<li class='urpme " + r[3] +"' id='" + r[0] + "'><img class=icon src=img/" + r[0] + ".png /><div class='chkbox'></div> \ <h6>" + r[2] + "</h6><p class=description>" + r[4] + "</p>" + start_btn + label + "<button class='uninst small pill red' data-rpm='" + r[1] + "'><i class='icon-minus-sign'> </i> remove</button></li>" return listapp
\ No newline at end of file |