Added projects, updated names
This commit is contained in:
11
Python Projects/gtk/Linux HTML Application/resources/cgi-bin/quit.cgi
Executable file
11
Python Projects/gtk/Linux HTML Application/resources/cgi-bin/quit.cgi
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
main()
|
||||
{
|
||||
readarray -t pids < pids
|
||||
programGuiID=${pids[0]}
|
||||
serverID=${pids[1]}
|
||||
|
||||
kill $programGuiID $serverID ;
|
||||
}
|
||||
main
|
@@ -0,0 +1,19 @@
|
||||
<!doctype html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="settings/css.css" type="text/css">
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id=bg><img src="settings/background.jpg"/></div>
|
||||
|
||||
<p><font size="6" color="#FFF">Hello World!</font></p>
|
||||
|
||||
<form action="cgi-bin/quit.cgi">
|
||||
<input type="submit" value="Quit" ></input>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<requires lib="gtk+" version="2.24"/>
|
||||
<object class="GtkWindow" id="Main">
|
||||
<property name="default_width">900</property>
|
||||
<property name="default_height">600</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="window_position">center</property>
|
||||
<property name="icon">settings/icon.png</property>
|
||||
<property name="deletable">False</property>
|
||||
<signal name="destroy" handler="on_Main_destroy" swapped="no"/>
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow" id="scrolledwindow">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<child>
|
||||
<placeholder/>
|
||||
</child>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="position">2</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</interface>
|
Binary file not shown.
After Width: | Height: | Size: 177 KiB |
@@ -0,0 +1,18 @@
|
||||
#bg {
|
||||
position: fixed;
|
||||
top: 0%;
|
||||
left: 0%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
}
|
||||
#bg img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 154 B |
Reference in New Issue
Block a user