install

installer
Log | Files | Refs | README | LICENSE | git clone https://git.ne02ptzero.me/git/install

commit 13c800930981a99c9a2041e06e86e07f587d18d4
parent 985c1835e5ef824a83fe7cd5f1b582554861af4a
Author: Ne02ptzero <louis@ne02ptzero.me>
Date:   Mon, 24 Oct 2016 18:08:46 +0200

Work(Screens): Begin to work on a better code structure

Diffstat:
Mmain.py | 1+
Mscreens/config/config.py | 13+++++++++++--
2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/main.py b/main.py @@ -1,3 +1,4 @@ +#!/usr/bin/python ################################### LICENSE #################################### # Copyright 2016 Louis Solofrizzo # # # diff --git a/screens/config/config.py b/screens/config/config.py @@ -15,7 +15,7 @@ ################################################################################ ## -# main.py +# config.py # Created: 21/10/2016 # By: Louis Solofrizzo <louis@morphux.org> ## @@ -35,7 +35,16 @@ class Config: self.config = { "id": 1, "title": "Config", - "type": "inputs" + "type": "inputs", + "inputs": [ + { + "name": "hostname", + "title": "SET YOUR HOSTNAME", + "default": "morphux", + "config": "system.hostname", + "type": "text" + }, + ] } return self.config