Bladeren bron

Second commit, ajout de l'interface de base

master
heuzef 6 jaren geleden
bovenliggende
commit
f67e1e6353
9 gewijzigde bestanden met toevoegingen van 10206 en 0 verwijderingen
  1. BIN
      logo/allo-gg-logo.png
  2. +453
    -0
      logo/allo-gg.svg
  3. BIN
      logo/minotaur.ttf
  4. +15
    -0
      scripts/open.sh
  5. +28
    -0
      ui/actions.php
  6. +9641
    -0
      ui/bootstrap.css
  7. +7
    -0
      ui/bootstrap.js
  8. +58
    -0
      ui/index.php
  9. +4
    -0
      ui/jquery.js

BIN
logo/allo-gg-logo.png Bestand weergeven

Voor Na
Breedte: 471  |  Hoogte: 241  |  Grootte: 30 KiB

+ 453
- 0
logo/allo-gg.svg Bestand weergeven

@@ -0,0 +1,453 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
id="svg2985"
sodipodi:docname="allo-gg.svg"
xml:space="preserve"
viewBox="0 0 1000 1000"
version="1.1"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
inkscape:export-filename="/home/heuzef/Bureau/allo-gg-logo.png"
inkscape:export-xdpi="31.890188"
inkscape:export-ydpi="31.890188">
<defs
id="defs2989"><linearGradient
inkscape:collect="always"
id="linearGradient5239"><stop
style="stop-color:#232323;stop-opacity:1;"
offset="0"
id="stop5235" /><stop
style="stop-color:#232323;stop-opacity:0;"
offset="1"
id="stop5237" /></linearGradient>
<linearGradient
id="linearGradient3011"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(533.98,0,0,-533.98,133.69,437.88)">
<stop
id="stop3013"
style="stop-color:#9a7c6a"
offset="0" />
<stop
id="stop3015"
style="stop-color:#57443a"
offset="1" />
</linearGradient>
<clipPath
id="clipPath3023"
clipPathUnits="userSpaceOnUse">
<path
id="path3025"
d="m0 800h800v-800h-800v800z" />
</clipPath>
<linearGradient
id="linearGradient3043"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(260.32,0,0,-260.32,133.84,514.94)">
<stop
id="stop3045"
style="stop-color:#9a7c6a"
offset="0" />
<stop
id="stop3047"
style="stop-color:#57443a"
offset="1" />
</linearGradient>
<clipPath
id="clipPath3055"
clipPathUnits="userSpaceOnUse">
<path
id="path3057"
d="m0 800h800v-800h-800v800z" />
</clipPath>
<linearGradient
id="linearGradient3075"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(310.87,0,0,-310.87,338.25,574.85)">
<stop
id="stop3077"
style="stop-color:#9a7c6a"
offset="0" />
<stop
id="stop3079"
style="stop-color:#57443a"
offset="1" />
</linearGradient>
<clipPath
id="clipPath3087"
clipPathUnits="userSpaceOnUse">
<path
id="path3089"
d="m0 800h800v-800h-800v800z" />
</clipPath>
<linearGradient
gradientTransform="translate(-1752.9528,-219.35547)"
id="SVGID_5_-117"
gradientUnits="userSpaceOnUse"
x1="519.19232"
y1="618.7749"
x2="758.25372"
y2="618.7749"><stop
offset="0"
style="stop-color:#e3e3e3"
id="stop4386" /><stop
offset="0.0584"
style="stop-color:#e4e4e4"
id="stop4388" /><stop
offset="0.0584"
style="stop-color:#e7e7e7"
id="stop4390" /><stop
offset="0.0584"
style="stop-color:#f2f2f2"
id="stop4392" /><stop
offset="0.1067"
style="stop-color:#fbfbfb"
id="stop4394" /><stop
offset="0.1215"
style="stop-color:#f6f6f6"
id="stop4396" /><stop
offset="0.1464"
style="stop-color:#eaeaea"
id="stop4398" /><stop
offset="0.1784"
style="stop-color:#d5d5d5"
id="stop4400" /><stop
offset="0.2158"
style="stop-color:#b8b8b8"
id="stop4402" /><stop
offset="0.2472"
style="stop-color:#9e9e9e"
id="stop4404" /><stop
offset="0.2977"
style="stop-color:#a0a0a0"
id="stop4406" /><stop
offset="0.328"
style="stop-color:#a6a6a6"
id="stop4408" /><stop
offset="0.3531"
style="stop-color:#b2b2b2"
id="stop4410" /><stop
offset="0.3752"
style="stop-color:#c2c2c2"
id="stop4412" /><stop
offset="0.3953"
style="stop-color:#d6d6d6"
id="stop4414" /><stop
offset="0.3989"
style="stop-color:#dbdbdb"
id="stop4416" /><stop
offset="0.4355"
style="stop-color:#d3d3d3"
id="stop4418" /><stop
offset="0.4971"
style="stop-color:#bdbdbd"
id="stop4420" /><stop
offset="0.5757"
style="stop-color:#999999"
id="stop4422" /><stop
offset="0.6461"
style="stop-color:#747474"
id="stop4424" /><stop
offset="0.6958"
style="stop-color:#777777"
id="stop4426" /><stop
offset="0.7416"
style="stop-color:#7a7a7a"
id="stop4428" /><stop
offset="0.7446"
style="stop-color:#777777"
id="stop4430" /><stop
offset="0.7682"
style="stop-color:#646464"
id="stop4432" /><stop
offset="0.7925"
style="stop-color:#545454"
id="stop4434" /><stop
offset="0.8172"
style="stop-color:#494949"
id="stop4436" /><stop
offset="0.8429"
style="stop-color:#424242"
id="stop4438" /><stop
offset="0.8708"
style="stop-color:#404040"
id="stop4440" /><stop
offset="0.8714"
style="stop-color:#424242"
id="stop4442" /><stop
offset="0.8839"
style="stop-color:#5d5d5d"
id="stop4444" /><stop
offset="0.8967"
style="stop-color:#737373"
id="stop4446" /><stop
offset="0.9099"
style="stop-color:#838383"
id="stop4448" /><stop
offset="0.9234"
style="stop-color:#8c8c8c"
id="stop4450" /><stop
offset="0.9382"
style="stop-color:#8f8f8f"
id="stop4452" /><stop
offset="0.9413"
style="stop-color:#969696"
id="stop4454" /><stop
offset="0.9523"
style="stop-color:#acacac"
id="stop4456" /><stop
offset="0.9636"
style="stop-color:#bdbdbd"
id="stop4458" /><stop
offset="0.9751"
style="stop-color:#cacaca"
id="stop4460" /><stop
offset="0.987"
style="stop-color:#d1d1d1"
id="stop4462" /><stop
offset="1"
style="stop-color:#d3d3d3"
id="stop4464" /></linearGradient><clipPath
id="clipPath4401"
clipPathUnits="userSpaceOnUse"><path
inkscape:connector-curvature="0"
style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 50.610073,26.41861 c 0.495096,0 0.987206,0.18806 1.366574,0.56744 l 108.767933,108.7632 c 0.75873,0.75873 0.75873,1.97914 0,2.73788 l -9.27757,9.27757 c -0.75874,0.75873 -1.97914,0.75873 -2.73788,0 L 39.961199,39.0015 c -0.758732,-0.75874 -0.758732,-1.97915 0,-2.73788 l 9.277574,-9.27757 c 0.379364,-0.37937 0.876206,-0.56744 1.3713,-0.56744 z"
id="path4403" /></clipPath><filter
height="1.0720019"
y="-0.036000936"
width="1.0719981"
x="-0.035999064"
id="filter4409"
style="color-interpolation-filters:sRGB"
inkscape:collect="always"><feGaussianBlur
id="feGaussianBlur4411"
stdDeviation="1.8287746"
inkscape:collect="always" /></filter><linearGradient
inkscape:collect="always"
xlink:href="#SVGID_5_-117"
id="linearGradient1515"
x1="25.708683"
y1="-520.48785"
x2="-12.87579"
y2="-2160.9482"
gradientUnits="userSpaceOnUse" /><linearGradient
inkscape:collect="always"
xlink:href="#linearGradient5239"
id="linearGradient5241"
x1="15.746024"
y1="644.17885"
x2="1865.3409"
y2="644.17885"
gradientUnits="userSpaceOnUse" /><linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3075"
id="linearGradient5293"
gradientUnits="userSpaceOnUse"
x1="-3599.7063"
y1="-1916.9219"
x2="-4074.6702"
y2="-1987.6505" /></defs>
<sodipodi:namedview
id="namedview2987"
bordercolor="#666666"
inkscape:pageshadow="2"
guidetolerance="10"
pagecolor="#ffffff"
gridtolerance="10"
inkscape:window-maximized="1"
inkscape:zoom="0.37618081"
objecttolerance="10"
borderopacity="1"
inkscape:current-layer="g2993"
inkscape:cx="463.96503"
inkscape:cy="181.18998"
inkscape:window-y="27"
inkscape:window-x="1366"
inkscape:window-width="1920"
showgrid="false"
inkscape:pageopacity="0"
inkscape:window-height="1016" />
<g
id="g2993"
inkscape:label="Allo-GG"
inkscape:groupmode="layer"
transform="matrix(1.25 0 0 -1.25 0 1e3)">
<g
id="g3139"
transform="translate(190.75,267.52)">
</g><g
id="g3143"
transform="translate(190.75,267.52)">
</g>
<g
id="layer1"
transform="matrix(0.8,0,0,-0.8,360.76327,185.91741)"><g
transform="matrix(0.72973,0,0,0.72973,344.49,-241.23)"
id="g2634" /></g><g
id="g1327"
transform="matrix(0.12355524,-0.0920013,-0.0920013,-0.12355524,306.40964,67.503492)"
style="fill:#c9b0a0;fill-opacity:1"
inkscape:export-xdpi="30.031879"
inkscape:export-ydpi="30.031879">
<g
id="g1353"
style="fill:#8d949e;fill-opacity:1;stroke:#232323;stroke-width:12.8564539;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
transform="matrix(-0.23312559,0.97244663,0.97244663,0.23312559,-2894.7753,-2906.8929)"><g
id="g1387"
style="fill:#8d949e;fill-opacity:1;stroke:#232323;stroke-opacity:1"><g
style="fill:#8d949e;fill-opacity:1;stroke:#232323;stroke-width:12.8564539;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="g1313">
<path
style="fill:#8d949e;fill-opacity:1;stroke:#232323;stroke-width:12.8564539;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path1311"
d="m 1742.0912,585.2868 c -29.9087,0 -59.8146,-11.4094 -82.6335,-34.2283 -192.2029,-192.2029 -447.5186,-298.0547 -718.9142,-298.0547 -271.3956,0 -526.71,105.8518 -718.9143,298.0547 -45.6377,45.6378 -119.6293,45.6378 -165.2671,0 -45.6378,-45.6378 -45.6377,-119.6293 0,-165.2671 C 175.7746,266.379 314.9888,173.9024 470.136,110.9308 619.9693,50.1161 778.2378,19.2801 940.5434,19.2801 c 162.3056,0 320.574,30.836 470.4089,91.6507 155.1472,62.9716 294.36,155.4482 413.7725,274.8607 45.6377,45.6377 45.6377,119.6307 0,165.2671 -22.8189,22.8188 -52.7248,34.2282 -82.6336,34.2282 z"
inkscape:connector-curvature="0" />
</g><g
style="fill:#8d949e;fill-opacity:1;stroke:#232323;stroke-width:12.8564539;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="g1317">
<path
style="fill:#8d949e;fill-opacity:1;stroke:#232323;stroke-width:12.8564539;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path1315"
d="m 1501.6265,935.4893 c -29.9116,0.003 -59.8118,-11.4066 -82.6335,-34.2283 -127.9203,-127.9203 -297.8379,-198.3698 -478.4488,-198.3698 -180.6123,0 -350.5298,70.4495 -478.4502,198.3698 -45.6378,45.6378 -119.6293,45.6378 -165.2671,0 -45.6377,-45.6363 -45.6377,-119.6293 0,-165.267 172.0645,-172.0659 400.674,-266.8264 643.7173,-266.8264 243.0418,0 471.6528,94.7605 643.7159,266.8264 45.6377,45.6377 45.6377,119.6307 0,165.267 -22.8161,22.816 -52.7306,34.2255 -82.6336,34.2283 z"
inkscape:connector-curvature="0" />
</g><g
style="fill:#8d949e;fill-opacity:1;stroke:#232323;stroke-width:12.8564539;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="g1321">
<path
style="fill:#8d949e;fill-opacity:1;stroke:#232323;stroke-width:12.8564539;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path1319"
d="m 1181.0082,1269.0776 c -29.9087,0 -59.8147,-11.4094 -82.6335,-34.2283 -87.0272,-87.0231 -228.6309,-87.0273 -315.6625,0 -45.6377,45.6377 -119.6293,45.6377 -165.267,0 -45.6378,-45.6378 -45.6378,-119.6294 0,-165.2671 86.3553,-86.3553 201.1002,-133.9132 323.0976,-133.9132 122.0002,0 236.7451,47.5579 323.099,133.9132 45.6377,45.6377 45.6377,119.6293 0,165.2671 -22.8189,22.8189 -52.7248,34.2283 -82.6336,34.2283 z"
inkscape:connector-curvature="0" />
</g></g></g>
<g
id="g1503"
transform="matrix(2.5779366,-1.9195748,1.9195748,2.5779366,-1895.2944,-1671.39)"
style="fill:#c9b0a0;fill-opacity:1;stroke:#242424;stroke-width:5;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"><path
sodipodi:nodetypes="ccssscssccccssccccccccsssss"
style="fill:#c9b0a0;fill-opacity:1;fill-rule:nonzero;stroke:#242424;stroke-width:5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 70.569619,13.37233 -52.648559,0.0757 c -1.341265,0.002 -2.421058,1.07979 -2.421058,2.42105 v 52.25136 c 0,1.34126 1.079792,2.42105 2.421058,2.42105 h 19.524511 v 18.93343 c 0,1.34127 1.079792,2.42106 2.421058,2.42106 h 19.76094 v 22.88657 l 13.093574,13.0983 h 21.113329 v 52.75259 c 0,1.34127 1.079792,2.42106 2.421058,2.42106 h 21.32139 c -7.942,17.44291 -12.07984,36.37665 -12.13839,55.54243 7.5e-4,74.57511 60.45562,135.02999 135.03073,135.03074 74.57511,-7.5e-4 135.02999,-60.45563 135.03074,-135.03074 -7.5e-4,-74.57511 -60.45563,-135.02998 -135.03074,-135.03073 -21.86862,0.0328 -43.40209,5.37636 -62.7489,15.57138 L 73.033233,14.45518 c -0.681198,-0.67225 -1.69207,-0.82115 -2.463614,-1.08285 z M 263.3511,215.60161 c 25.07088,0 45.39484,20.32397 45.39484,45.39485 0,25.07088 -20.32396,45.39485 -45.39484,45.39485 -25.07088,0 -45.39484,-20.32397 -45.39484,-45.39485 0,-25.07088 20.32396,-45.39485 45.39484,-45.39485 z"
id="path4144"
inkscape:connector-curvature="0" /><path
d="m 263.3511,215.60161 a 45.394841,45.394841 0 0 1 45.39484,45.39485 45.394841,45.394841 0 0 1 -45.39484,45.39485 45.394841,45.394841 0 0 1 -45.39484,-45.39485 45.394841,45.394841 0 0 1 45.39484,-45.39485 z M 70.569619,13.37233 17.92106,13.44803 c -1.341265,0.002 -2.421058,1.07979 -2.421058,2.42105 v 52.25136 c 0,1.34126 1.079792,2.42105 2.421058,2.42105 h 19.524511 v 18.93343 c 0,1.34127 1.079792,2.42106 2.421058,2.42106 h 19.76094 v 22.88657 l 13.093574,13.0983 h 21.113329 v 52.75259 c 0,1.34127 1.079792,2.42106 2.421058,2.42106 h 21.32139 A 135.03209,135.03209 0 0 0 105.43853,238.59693 135.03209,135.03209 0 0 0 240.46926,373.62767 135.03209,135.03209 0 0 0 375.5,238.59693 135.03209,135.03209 0 0 0 240.46926,103.5662 135.03209,135.03209 0 0 0 177.72036,119.13758 L 73.033233,14.45518 c -0.681198,-0.67225 -1.69207,-0.82115 -2.463614,-1.08285 z"
style="fill:#c9b0a0;fill-opacity:1;fill-rule:nonzero;stroke:#242424;stroke-width:5;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4363"
inkscape:connector-curvature="0" /><path
clip-path="url(#clipPath4401)"
inkscape:connector-curvature="0"
style="fill:#c9b0a0;fill-opacity:1;fill-rule:nonzero;stroke:#242424;stroke-width:5;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;filter:url(#filter4409)"
d="m 54.610073,32.41861 c 0.495096,0 0.987206,0.18806 1.366574,0.56744 l 108.767933,108.7632 c 0.75873,0.75873 0.75873,1.97914 0,2.73788 l -9.27757,9.27757 c -0.75874,0.75873 -1.97914,0.75873 -2.73788,0 L 43.961199,45.0015 c -0.758732,-0.75874 -0.758732,-1.97915 0,-2.73788 l 9.277574,-9.27757 c 0.379364,-0.37937 0.876206,-0.56744 1.3713,-0.56744 z"
id="path4146" /></g><g
aria-label="Allo-GG"
transform="rotate(-36.671987)"
style="font-style:normal;font-weight:normal;font-size:128.56452942px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#c9b0a0;fill-opacity:1;stroke:#242424;stroke-width:16.07056618;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="text1507"><path
d="m -920.01907,-1335.1407 h -282.84203 l -138.8497,-294.4128 v 0 l -143.9922,294.4128 h -282.842 l 426.8342,-899.9518 z"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:1285.64538574px;font-family:Minotaur;-inkscape-font-specification:Minotaur;fill:#c9b0a0;fill-opacity:1;stroke:#242424;stroke-width:16.07056618;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path5220"
inkscape:connector-curvature="0" /><path
d="m -678.03647,-2010.1046 v 482.117 h 191.56116 l -21.85597,192.8469 h -363.83765 v -674.9639 z"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:1285.64538574px;font-family:Minotaur;-inkscape-font-specification:Minotaur;fill:#c9b0a0;fill-opacity:1;stroke:#242424;stroke-width:16.07056618;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path5222"
inkscape:connector-curvature="0" /><path
d="m -246.13999,-2010.1046 v 482.117 h 191.561163 l -21.855972,192.8469 H -440.27244 v -674.9639 z"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:1285.64538574px;font-family:Minotaur;-inkscape-font-specification:Minotaur;fill:#c9b0a0;fill-opacity:1;stroke:#242424;stroke-width:16.07056618;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path5224"
inkscape:connector-curvature="0" /><path
d="m 1123.3937,-1908.5386 v 242.987 H 735.12881 v -242.987 z"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:1285.64538574px;font-family:Minotaur;-inkscape-font-specification:Minotaur;fill:#c9b0a0;fill-opacity:1;stroke:#242424;stroke-width:16.07056618;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path5228"
inkscape:connector-curvature="0" /><path
d="m 1781.8853,-2214.5222 q 52.7115,15.4278 98.9947,43.712 46.2832,28.2842 87.4239,66.8535 l -178.7047,177.4191 -5.1426,-5.1426 q -17.9991,-15.4278 -38.5694,-26.9986 -2.5713,-2.5712 -3.8569,-2.5712 -1.2857,0 -3.8569,-2.5713 -38.5694,-20.5704 -87.4239,-21.856 -48.8546,-1.2857 -89.9952,17.999 -53.9971,23.1416 -87.4239,73.2818 -32.1411,50.1402 -32.1411,109.2799 -1.2857,48.8545 20.5703,91.2808 23.1416,42.4263 62.9966,71.9961 37.2837,28.2842 84.8526,37.2837 47.5689,7.7139 92.5665,-6.4282 7.7139,-2.5713 15.4277,-5.1426 7.7139,-2.5713 14.1421,-5.1425 23.1416,-11.5709 44.9976,-29.5699 16.7134,-11.5708 28.2842,-28.2842 l -1.2856,-1.2856 h -159.4201 v -248.1296 h 439.6908 l 1.2856,3.8569 q 20.5703,69.4249 15.4278,145.278 -3.857,74.5674 -30.8555,140.1353 -15.4278,41.1407 -41.1407,78.4244 -24.4273,37.2837 -56.5684,69.4248 -30.8555,32.1412 -68.1392,57.8541 -37.2837,25.7129 -77.1387,42.4263 -38.5694,16.7134 -82.2813,25.7129 -43.712,8.9995 -88.7096,10.2852 -44.9975,1.2856 -89.9951,-5.1426 -43.712,-7.7139 -82.2813,-23.1416 -47.5689,-16.7134 -91.2809,-46.2833 -43.7119,-29.5698 -79.71,-66.8535 -35.998,-38.5694 -62.9966,-83.567 -26.9985,-44.9976 -41.1406,-92.5665 -23.1417,-68.1392 -20.5704,-145.2779 3.857,-77.1387 29.5699,-142.7066 23.1416,-62.9966 64.2822,-115.7081 42.4263,-53.9971 98.9947,-93.8521 61.711,-42.4263 132.4215,-64.2823 70.7105,-21.856 150.4205,-19.2847 l 17.9991,1.2857 q 25.7129,5.1426 50.1401,8.9995 25.7129,2.5713 50.1402,8.9995 z"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:1285.64538574px;font-family:Minotaur;-inkscape-font-specification:Minotaur;fill:#c9b0a0;fill-opacity:1;stroke:#242424;stroke-width:16.07056618;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path5230"
inkscape:connector-curvature="0" /><path
d="m 2726.031,-2214.5222 q 52.7115,15.4278 98.9947,43.712 46.2833,28.2842 87.4239,66.8535 l -178.7047,177.4191 -5.1426,-5.1426 q -17.999,-15.4278 -38.5693,-26.9986 -2.5713,-2.5712 -3.857,-2.5712 -1.2856,0 -3.8569,-2.5713 -38.5694,-20.5704 -87.4239,-21.856 -48.8545,-1.2857 -89.9952,17.999 -53.9971,23.1416 -87.4238,73.2818 -32.1412,50.1402 -32.1412,109.2799 -1.2856,48.8545 20.5703,91.2808 23.1417,42.4263 62.9967,71.9961 37.2837,28.2842 84.8526,37.2837 47.5688,7.7139 92.5664,-6.4282 7.7139,-2.5713 15.4278,-5.1426 7.7138,-2.5713 14.1421,-5.1425 23.1416,-11.5709 44.9976,-29.5699 16.7134,-11.5708 28.2842,-28.2842 l -1.2857,-1.2856 h -159.42 v -248.1296 h 439.6907 l 1.2857,3.8569 q 20.5703,69.4249 15.4277,145.278 -3.8569,74.5674 -30.8555,140.1353 -15.4277,41.1407 -41.1406,78.4244 -24.4273,37.2837 -56.5684,69.4248 -30.8555,32.1412 -68.1392,57.8541 -37.2838,25.7129 -77.1388,42.4263 -38.5693,16.7134 -82.2813,25.7129 -43.7119,8.9995 -88.7095,10.2852 -44.9976,1.2856 -89.9952,-5.1426 -43.7119,-7.7139 -82.2813,-23.1416 -47.5689,-16.7134 -91.2808,-46.2833 -43.7119,-29.5698 -79.71,-66.8535 -35.9981,-38.5694 -62.9966,-83.567 -26.9986,-44.9976 -41.1407,-92.5665 -23.1416,-68.1392 -20.5703,-145.2779 3.8569,-77.1387 29.5698,-142.7066 23.1416,-62.9966 64.2823,-115.7081 42.4263,-53.9971 98.9947,-93.8521 61.711,-42.4263 132.4215,-64.2823 70.7105,-21.856 150.4205,-19.2847 l 17.999,1.2857 q 25.7129,5.1426 50.1402,8.9995 25.7129,2.5713 50.1401,8.9995 z"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:1285.64538574px;font-family:Minotaur;-inkscape-font-specification:Minotaur;fill:#c9b0a0;fill-opacity:1;stroke:#242424;stroke-width:16.07056618;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path5232"
inkscape:connector-curvature="0" /></g></g></g>
<metadata
id="metadata145"><rdf:RDF><cc:Work><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><cc:license
rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" /><dc:publisher><cc:Agent
rdf:about="http://openclipart.org/"><dc:title>Openclipart</dc:title></cc:Agent></dc:publisher><dc:title /><dc:date>2012-07-04T01:12:19</dc:date><dc:description>A remix of http://openclipart.org/detail/94759</dc:description><dc:source>https://openclipart.org/detail/171026/desk-phone-by-meticulous-171026</dc:source><dc:creator><cc:Agent><dc:title>meticulous</dc:title></cc:Agent></dc:creator><dc:subject><rdf:Bag><rdf:li>Intercom</rdf:li><rdf:li>deskphone</rdf:li><rdf:li>handset</rdf:li><rdf:li>hardphone</rdf:li><rdf:li>kocom</rdf:li><rdf:li>meticulous</rdf:li><rdf:li>phone</rdf:li><rdf:li>telephone</rdf:li><rdf:li>video</rdf:li></rdf:Bag></dc:subject></cc:Work><cc:License
rdf:about="http://creativecommons.org/publicdomain/zero/1.0/"><cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" /><cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" /><cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /></cc:License></rdf:RDF></metadata></svg>

BIN
logo/minotaur.ttf Bestand weergeven


+ 15
- 0
scripts/open.sh Bestand weergeven

@@ -0,0 +1,15 @@
#!/bin/bash
# Allo-GG
# Ouverture de la porte

# Port de sortie 7 sur le Pi Zero
gpio -g mode 4 out

# Port GPIO 4 fermé (port physique 7)
gpio -g write 4 0

# Temporisation de 4 secondes
sleep 4

# Port GPIO 4 ouvert (port physique 7)
gpio -g write 4 1

+ 28
- 0
ui/actions.php Bestand weergeven

@@ -0,0 +1,28 @@
<?php
if ($_POST['action'] == 'OPEN')
{
system("/bin/bash ../scripts/open.sh");
}

elseif ($_POST['action'] == 'MUTE')
{
echo "MUTE";
}

elseif ($_POST['action'] == 'UPDATE')
{
echo "UPDATE";
}

elseif ($_POST['action'] == 'REBOOT')
{
echo "REBOOT";
}

else
{
echo "ERREUR";
}

header('Location: index.php');
?>

+ 9641
- 0
ui/bootstrap.css
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 7
- 0
ui/bootstrap.js
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 58
- 0
ui/index.php Bestand weergeven

@@ -0,0 +1,58 @@
<!DOCTYPE html>
<html lang="fr">

<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>Allo-GG</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="bootstrap.css" media="screen">
</head>

<body>
<div class="container" style="text-align:center;">
<hr/>

<div class="page-header">
<div class="row">
<div class="col-lg-12">
<img src="../logo/allo-gg-logo.png" class="img-fluid" alt="Responsive image">
<br/><br/>
</div>
</div>
</div>

<h2 class="text-primary">Interface de contrôle du module</h2>
<hr/>

<div class="row">
<div class="col-lg-12">
<form action="actions.php" method="post">
<p class="bs-component">
<button type="submit" name="action" class="btn btn-primary btn-lg" id="OPEN">🚪 <strong>OUVERTURE DE LA PORTE</strong> 🔑</button>
</p>
<hr/>
<p class="bs-component">
<button type="submit" name="action" class="btn btn-outline-warning" id="MUTE">🔇 Éteindre la sonette 🔔</button> pour 1 Heure ...
</p>
<hr/>
<p class="bs-component">
<button type="submit" name="action" name="actions" class="btn btn-outline-success" id="UPDATE">🔄 Mettre à jour le module 🔍</button>
</p>
<hr/>
<p class="bs-component">
<button type="submit" name="action" class="btn btn-outline-danger" id="REBOOT">⚡️ Redémarrer le module 🔌</button>
</p>
</form>
</div>
<hr/>
</div>

</div>

<script src="jquery.js"></script>
<script src="bootstrap.js"></script>

</body>
</html>

+ 4
- 0
ui/jquery.js
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


Laden…
Annuleren
Opslaan