summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2016-12-24 23:16:47 +0000
committerV3n3RiX <venerix@redcorelinux.org>2016-12-24 23:16:47 +0000
commit30f4daf518bf907e560f9a60da6ae76fce86fb29 (patch)
tree046ec79762a2c1f0154448e4c9864c074dcb9605 /ui
parent6b3099135638121af264e3b37e0232a44585d3d7 (diff)
add button icons, improve main UI, now it looks stunning
Diffstat (limited to 'ui')
-rwxr-xr-xui/accesoriesui.sh36
-rwxr-xr-xui/gamesui.sh48
-rwxr-xr-xui/graphicsui.sh36
-rwxr-xr-xui/internetui.sh40
-rwxr-xr-xui/multimediaui.sh37
-rwxr-xr-xui/officeui.sh41
-rwxr-xr-xui/systemui.sh36
7 files changed, 274 insertions, 0 deletions
diff --git a/ui/accesoriesui.sh b/ui/accesoriesui.sh
new file mode 100755
index 0000000..0139efb
--- /dev/null
+++ b/ui/accesoriesui.sh
@@ -0,0 +1,36 @@
+#!/usr/bin/env bash
+
+# create accesories user interface
+export local accesoriesui='
+<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
+<vbox>
+<frame Accesories>
+ <hbox space-expand="true" space-extend="true">
+ <table hscrollbar-policy="1" vscrollbar-policy="1" exported-column="1">
+ <variable>accesories</variable>
+ <label>Application Category|Application Name|Application Description</label>
+ <item>app-admin|keepassx|Qt password manager compatible with its Win32 and Pocket PC versions</item>
+ </table>
+ </hbox>
+ <hbox space-expand="false" space-extend="false">
+ <button space-expand="true" space-extend="true" label-text="install">
+ <label>Install package</label>
+ <action>$showprogress epkg autoinstall $accesories</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="uninstall">
+ <label>Uninstall package</label>
+ <action>$showprogress epkg autoremove $accesories</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="home">
+ <label>Back home</label>
+ <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
+ <action signal="button-release-event">EXIT:ok</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="exit">
+ <label>Exit</label>
+ <action>EXIT:ok</action>
+ </button>
+ </hbox>
+</frame>
+</vbox>
+</window>'
diff --git a/ui/gamesui.sh b/ui/gamesui.sh
new file mode 100755
index 0000000..1795ead
--- /dev/null
+++ b/ui/gamesui.sh
@@ -0,0 +1,48 @@
+#!/usr/bin/env bash
+
+# create games user interface
+export local gamesui='
+<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
+<vbox>
+<frame Games>
+ <hbox space-expand="true" space-extend="true">
+ <table hscrollbar-policy="1" vscrollbar-policy="1" exported-column="1">
+ <variable>game</variable>
+ <label>Application Category|Application Name|Application Description</label>
+ <item>app-emulation|playonlinux|Set of scripts to easily install and use Windows games and software</item>
+ <item>app-emulation|steam|Digital distribution client bootstrap package</item>
+ <item>games-action|armagetronad|Fast-paced 3D lightcycle game based on Tron</item>
+ <item>games-action|chromium-bsu|Chromium B.S.U. - an arcade game</item>
+ <item>games-action|supertuxkart|A kart racing game starring Tux, the linux penguin (TuxKart fork)</item>
+ <item>games-action|teeworlds|Online multi-player platform 2D shooter</item>
+ <item>games-board|aisleriot|A collection of solitaire card games for GNOME</item>
+ <item>games-emulation|dosbox|DOS Emulator</item>
+ <item>games-emulation|zsnes|SNES (Super Nintendo) emulator that uses x86 assembly</item>
+ <item>games-fps|urbanterror|Hollywood tactical shooter based on the ioquake3 engine</item>
+ <item>games-fps|xonotic|Fork of Nexuiz, Deathmatch FPS based on DarkPlaces, an advanced Quake 1 engine</item>
+ <item>games-simulation|openttd|OpenTTD is a clone of Transport Tycoon Deluxe</item>
+ <item>games-strategy|0ad|Cross-platform, 3D and historically-based real-time strategy game</item>
+ </table>
+ </hbox>
+ <hbox space-expand="false" space-extend="false">
+ <button space-expand="true" space-extend="true" label-text="install">
+ <label>Install package</label>
+ <action>$showprogress epkg autoinstall $game</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="uninstall">
+ <label>Uninstall package</label>
+ <action>$showprogress epkg autoremove $game</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="home">
+ <label>Back home</label>
+ <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
+ <action signal="button-release-event">EXIT:ok</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="exit">
+ <label>Exit</label>
+ <action>EXIT:ok</action>
+ </button>
+ </hbox>
+</frame>
+</vbox>
+</window>'
diff --git a/ui/graphicsui.sh b/ui/graphicsui.sh
new file mode 100755
index 0000000..5c3f243
--- /dev/null
+++ b/ui/graphicsui.sh
@@ -0,0 +1,36 @@
+#!/usr/bin/env bash
+
+# create graphics user interface
+export local graphicsui='
+<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
+<vbox>
+<frame Graphics>
+ <hbox space-expand="true" space-extend="true">
+ <table hscrollbar-policy="1" vscrollbar-policy="1" exported-column="1">
+ <variable>graphics</variable>
+ <label>Application Category|Application Name|Application Description</label>
+ <item>media-gfx|gimp|GNU Image Manipulation Program</item>
+ </table>
+ </hbox>
+ <hbox space-expand="false" space-extend="false">
+ <button space-expand="true" space-extend="true" label-text="install">
+ <label>Install package</label>
+ <action>$showprogress epkg autoinstall $graphics</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="uninstall">
+ <label>Uninstall package</label>
+ <action>$showprogress epkg autoremove $graphics</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="home">
+ <label>Back home</label>
+ <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
+ <action signal="button-release-event">EXIT:ok</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="exit">
+ <label>Exit</label>
+ <action>EXIT:ok</action>
+ </button>
+ </hbox>
+</frame>
+</vbox>
+</window>'
diff --git a/ui/internetui.sh b/ui/internetui.sh
new file mode 100755
index 0000000..ec409d9
--- /dev/null
+++ b/ui/internetui.sh
@@ -0,0 +1,40 @@
+#!/usr/bin/env bash
+
+# create internet user interface
+export local internetui='
+<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
+<vbox>
+<frame Internet>
+ <hbox space-expand="true" space-extend="true">
+ <table hscrollbar-policy="1" vscrollbar-policy="1" exported-column="1">
+ <variable>internet</variable>
+ <label>Application Category|Application Name|Application Description</label>
+ <item>www-client|firefox|Firefox Web Browser</item>
+ <item>www-client|google-chrome|The web browser from Google</item>
+ <item>www-client|opera|A fast and secure web browser</item>
+ <item>www-client|qupzilla|A cross-platform web browser using QtWebEngine</item>
+ <item>www-client|vivaldi|A new browser for our friends</item>
+ </table>
+ </hbox>
+ <hbox space-expand="false" space-extend="false">
+ <button space-expand="true" space-extend="true" label-text="install">
+ <label>Install package</label>
+ <action>$showprogress epkg autoinstall $internet</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="uninstall">
+ <label>Uninstall package</label>
+ <action>$showprogress epkg autoremove $internet</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="home">
+ <label>Back home</label>
+ <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
+ <action signal="button-release-event">EXIT:ok</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="exit">
+ <label>Exit</label>
+ <action>EXIT:ok</action>
+ </button>
+ </hbox>
+</frame>
+</vbox>
+</window>'
diff --git a/ui/multimediaui.sh b/ui/multimediaui.sh
new file mode 100755
index 0000000..a1bc4c5
--- /dev/null
+++ b/ui/multimediaui.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+
+# create multimedia user interface
+export local multimediaui='
+<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
+<vbox>
+<frame Multimedia>
+ <hbox space-expand="true" space-extend="true">
+ <table hscrollbar-policy="1" vscrollbar-policy="1" exported-column="1">
+ <variable>multimedia</variable>
+ <label>Application Category|Application Name|Application Description</label>
+ <item>media-tv|tv-maxe|Program to view free channels</item>
+ </table>
+ </hbox>
+ <hbox space-expand="false" space-extend="false">
+ <button space-expand="true" space-extend="true" label-text="install">
+ <label>Install package</label>
+ <action>$showprogress epkg autoinstall $multimedia</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="uninstall">
+ <label>Uninstall package</label>
+ <action>$showprogress epkg autoremove $multimedia</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="home">
+ <label>Back home</label>
+ <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
+ <action signal="button-release-event">EXIT:ok</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="exit">
+ <label>Exit</label>
+ <action>EXIT:ok</action>
+ </button>
+ </hbox>
+</frame>
+
+</vbox>
+</window>'
diff --git a/ui/officeui.sh b/ui/officeui.sh
new file mode 100755
index 0000000..7e8703d
--- /dev/null
+++ b/ui/officeui.sh
@@ -0,0 +1,41 @@
+#!/usr/bin/env bash
+
+# create office user interface
+export local officeui='
+<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
+<vbox>
+<frame Office>
+ <hbox space-expand="true" space-extend="true">
+ <table hscrollbar-policy="1" vscrollbar-policy="1" exported-column="1">
+ <variable>office</variable>
+ <label>Application Category|Application Name|Application Description</label>
+ <item>app-office|abiword|Fully featured yet light and fast cross platform word processor documentation</item>
+ <item>app-office|fet|Opensource school/high-school/university timetable scheduling software</item>
+ <item>app-office|gnucash|A personal finance manager</item>
+ <item>app-office|libreoffice|A full office productivity suite</item>
+ <item>app-office|wps-office|WPS Office is an office productivity suite</item>
+ <item>app-text|qpdfview|A tabbed document viewer</item>
+ </table>
+ </hbox>
+ <hbox space-expand="false" space-extend="false">
+ <button space-expand="true" space-extend="true" label-text="install">
+ <label>Install package</label>
+ <action>$showprogress epkg autoinstall $office</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="uninstall">
+ <label>Uninstall package</label>
+ <action>$showprogress epkg autoremove $office</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="home">
+ <label>Back home</label>
+ <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
+ <action signal="button-release-event">EXIT:ok</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="exit">
+ <label>Exit</label>
+ <action>EXIT:ok</action>
+ </button>
+ </hbox>
+</frame>
+</vbox>
+</window>'
diff --git a/ui/systemui.sh b/ui/systemui.sh
new file mode 100755
index 0000000..9a3e95e
--- /dev/null
+++ b/ui/systemui.sh
@@ -0,0 +1,36 @@
+#!/usr/bin/env bash
+
+# create system user interface
+export local systemui='
+<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600">
+<vbox>
+<frame System>
+ <hbox space-expand="true" space-extend="true">
+ <table hscrollbar-policy="1" vscrollbar-policy="1" exported-column="1">
+ <variable>system</variable>
+ <label>Application Category|Application Name|Application Description</label>
+ <item>sys-boot|unetbootin-static|Universal Netboot Installer creates Live USB systems for various OS distributions</item>
+ </table>
+ </hbox>
+ <hbox space-expand="false" space-extend="false">
+ <button space-expand="true" space-extend="true" label-text="install">
+ <label>Install package</label>
+ <action>$showprogress epkg autoinstall $system</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="uninstall">
+ <label>Uninstall package</label>
+ <action>$showprogress epkg autoremove $system</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="home">
+ <label>Back home</label>
+ <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action>
+ <action signal="button-release-event">EXIT:ok</action>
+ </button>
+ <button space-expand="true" space-extend="true" label-text="exit">
+ <label>Exit</label>
+ <action>EXIT:ok</action>
+ </button>
+ </hbox>
+</frame>
+</vbox>
+</window>'