示例#1
0
	def index(self):
		repo_list = get_repo_list()
		return render_template("svnrepos.html", repo_list=repo_list)
		
示例#2
0
 def edit_get(self, config_dict):
     return render_template("iniconfig_edit.html", conf=config_dict)
示例#3
0
	def index(self, **kwargs):
		sw_version = get_version()
		return render_template("index.html", sw_version = sw_version, current_time = datetime.now().strftime("%A, %d. %B %Y %I:%M%p"), os_info = ', '.join(platform.uname()[:4]), notify_color= subprocess.check_output(["tail", "-n", "1", "indicator_light"]))
示例#4
0
	def index(self):
		log_files = get_logs_list()
		return render_template("logs.html", log_files=log_files)
示例#5
0
 def index(self):
     return render_template("iniconfig.html", ini_config=IniConfig(current=True))
示例#6
0
	def index(self, **kwargs):
		sw_version = get_version()
		return render_template("index.html", sw_version = sw_version, current_time = datetime.datetime.now(), os_info = ', '.join(platform.uname()[:4]))
示例#7
0
 def edit_get(self, config_dict):
     return render_template("iniconfig_edit.html", conf=config_dict)
示例#8
0
 def index(self):
     return render_template("iniconfig.html",
                            ini_config=IniConfig(current=True))
示例#9
0
 def index(self, **kwargs):
     sw_version = get_version()
     return render_template("index.html",
                            sw_version=sw_version,
                            current_time=datetime.datetime.now(),
                            os_info=', '.join(platform.uname()[:4]))
示例#10
0
 def index(self):
     log_files = get_logs_list()
     return render_template("logs.html", log_files=log_files)