Jelajahi Sumber

resolve bug

lusa 5 tahun lalu
induk
melakukan
46a452109d

TEMPAT SAMPAH
app/goahead-5.1.0/build/linux-arm-static/bin/goahead


TEMPAT SAMPAH
app/goahead-5.1.0/build/linux-arm-static/bin/goahead-test


TEMPAT SAMPAH
app/goahead-5.1.0/build/linux-arm-static/bin/goahead.gdb


TEMPAT SAMPAH
app/goahead-5.1.0/build/linux-arm-static/bin/gopass


TEMPAT SAMPAH
app/goahead-5.1.0/build/linux-arm-static/bin/libgo.a


+ 0 - 4
app/goahead-5.1.0/src/goahead.c

@@ -47,10 +47,6 @@ static LRESULT CALLBACK websWindProc(HWND hwnd, UINT msg, UINT wp, LPARAM lp);
 static void sigHandler(int signo);
 #endif
 
-// static void buy(Webs *wp);
-// static void actionTest(Webs *wp);
-// static void personInfoAction(Webs *wp);
-
 
 /*********************************** Code *************************************/
 

+ 1 - 5
app/goahead-5.1.0/src/web/index.html

@@ -1,5 +1 @@
-<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>bmcui</title><link href=/static/css/dashbord.css rel=prefetch><link href=/static/css/fan.css rel=prefetch><link href=/static/css/index.css rel=prefetch><link href=/static/css/login.css rel=prefetch><link href=/static/css/sensor_history.css rel=prefetch><link href=/static/css/set_proctrol.css rel=prefetch><link href=/static/js/dashbord.js rel=prefetch><link href=/static/js/fan.js rel=prefetch><link href=/static/js/index.js rel=prefetch><link href=/static/js/login.js rel=prefetch><link href=/static/js/sensor_history.js rel=prefetch><link href=/static/js/set_proctrol.js rel=prefetch><link href=/static/css/app.css rel=preload as=style><link href=/static/css/chunk-vendors.css rel=preload as=style><link href=/static/js/app.js rel=preload as=script><link href=/static/js/chunk-vendors.js rel=preload as=script><link href=/static/css/chunk-vendors.css rel=stylesheet><link href=/static/css/app.css rel=stylesheet></head><body>
-	<div id=app></div><script src=/static/js/chunk-vendors.js></script><script src=/static/js/app.js></script>
-	<p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p>
-</body>
-	</html>
+<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>bmcui</title><link href=/static/css/dashbord.css rel=prefetch><link href=/static/css/fan.css rel=prefetch><link href=/static/css/index.css rel=prefetch><link href=/static/css/index~login.css rel=prefetch><link href=/static/css/login.css rel=prefetch><link href=/static/css/sensor_history.css rel=prefetch><link href=/static/css/set_proctrol.css rel=prefetch><link href=/static/css/system_logs.css rel=prefetch><link href=/static/js/BSODScreen.js rel=prefetch><link href=/static/js/dashbord.js rel=prefetch><link href=/static/js/event_logs.js rel=prefetch><link href=/static/js/fan.js rel=prefetch><link href=/static/js/index.js rel=prefetch><link href=/static/js/index~login.js rel=prefetch><link href=/static/js/login.js rel=prefetch><link href=/static/js/sensor_history.js rel=prefetch><link href=/static/js/set_proctrol.js rel=prefetch><link href=/static/js/system_logs.js rel=prefetch><link href=/static/css/app.css rel=preload as=style><link href=/static/css/chunk-vendors.css rel=preload as=style><link href=/static/js/app.js rel=preload as=script><link href=/static/js/chunk-vendors.js rel=preload as=script><link href=/static/css/chunk-vendors.css rel=stylesheet><link href=/static/css/app.css rel=stylesheet></head><body><div id=app></div><script src=/static/js/chunk-vendors.js></script><script src=/static/js/app.js></script></body></html>

File diff ditekan karena terlalu besar
+ 0 - 0
app/goahead-5.1.0/src/web/static/css/app.css


+ 1 - 1
app/goahead-5.1.0/src/web/static/css/index.css

@@ -1 +1 @@
-.head-contener[data-v-78ddf56d]{width:1180px;height:125px;margin:0 auto}.logo-box[data-v-78ddf56d]{float:left;width:184px;height:23px}.logo-line[data-v-78ddf56d]{float:left;height:54px;width:1px;background:#77adff;margin-left:12px}.logo-text[data-v-78ddf56d]{float:left;margin-left:12px;font-size:14px}.logo-title[data-v-78ddf56d]{font-size:28px;color:#fff;font-weight:700;line-height:41px}.logo-subtitle[data-v-78ddf56d]{color:#77adff;font-size:12px}.logo-table[data-v-78ddf56d]{position:relative;padding-top:37px}.userDetails[data-v-78ddf56d]{font-size:12px;color:#fff;height:48px;line-height:48px;padding-left:20px;padding-right:20px;background:rgba(24,116,255,.1);border-bottom-left-radius:3px;border-bottom-right-radius:3px;position:absolute;right:0;top:0;color:#77adff}.userDetails img[data-v-78ddf56d]{width:12px;position:relative;margin-right:3px;margin-left:3px;height:12px}.userDetails a[data-v-78ddf56d]{padding-left:15px;text-decoration:none;color:#77adff}.menu-contente[data-v-5a04aeaa]{width:1180px;margin-left:auto;margin-right:auto}.dashbord-contanier[data-v-703f21cd]{margin:10 auto}.content[data-v-703f21cd]{width:1200px;margin:10px auto;height:800px;overflow-y:scroll;overflow-x:hidden}
+.menu-contente[data-v-208c7acc]{width:1180px;margin-left:auto;margin-right:auto}.dashbord-contanier[data-v-5402bb14]{margin:10 auto}.content[data-v-5402bb14]{width:1200px;margin:10px auto;height:800px;overflow-y:scroll;overflow-x:hidden}

+ 1 - 0
app/goahead-5.1.0/src/web/static/css/index~login.css

@@ -0,0 +1 @@
+.head-contener[data-v-78ddf56d]{width:1180px;height:125px;margin:0 auto}.logo-box[data-v-78ddf56d]{float:left;width:184px;height:23px}.logo-line[data-v-78ddf56d]{float:left;height:54px;width:1px;background:#77adff;margin-left:12px}.logo-text[data-v-78ddf56d]{float:left;margin-left:12px;font-size:14px}.logo-title[data-v-78ddf56d]{font-size:28px;color:#fff;font-weight:700;line-height:41px}.logo-subtitle[data-v-78ddf56d]{color:#77adff;font-size:12px}.logo-table[data-v-78ddf56d]{position:relative;padding-top:37px}.userDetails[data-v-78ddf56d]{font-size:12px;color:#fff;height:48px;line-height:48px;padding-left:20px;padding-right:20px;background:rgba(24,116,255,.1);border-bottom-left-radius:3px;border-bottom-right-radius:3px;position:absolute;right:0;top:0;color:#77adff}.userDetails img[data-v-78ddf56d]{width:12px;position:relative;margin-right:3px;margin-left:3px;height:12px}.userDetails a[data-v-78ddf56d]{padding-left:15px;text-decoration:none;color:#77adff}

+ 1 - 1
app/goahead-5.1.0/src/web/static/css/login.css

@@ -1 +1 @@
-.head-contener[data-v-78ddf56d]{width:1180px;height:125px;margin:0 auto}.logo-box[data-v-78ddf56d]{float:left;width:184px;height:23px}.logo-line[data-v-78ddf56d]{float:left;height:54px;width:1px;background:#77adff;margin-left:12px}.logo-text[data-v-78ddf56d]{float:left;margin-left:12px;font-size:14px}.logo-title[data-v-78ddf56d]{font-size:28px;color:#fff;font-weight:700;line-height:41px}.logo-subtitle[data-v-78ddf56d]{color:#77adff;font-size:12px}.logo-table[data-v-78ddf56d]{position:relative;padding-top:37px}.userDetails[data-v-78ddf56d]{font-size:12px;color:#fff;height:48px;line-height:48px;padding-left:20px;padding-right:20px;background:rgba(24,116,255,.1);border-bottom-left-radius:3px;border-bottom-right-radius:3px;position:absolute;right:0;top:0;color:#77adff}.userDetails img[data-v-78ddf56d]{width:12px;position:relative;margin-right:3px;margin-left:3px;height:12px}.userDetails a[data-v-78ddf56d]{padding-left:15px;text-decoration:none;color:#77adff}.login-context[data-v-229cad1c]{height:250px;width:450px;margin:0 auto;margin-top:180px;padding:30px;border-radius:7px}.tips-attion[data-v-229cad1c]{margin-top:30px;color:#fff}.tips-attion h3[data-v-229cad1c]{font-size:14px}.tips-attion h2[data-v-229cad1c]{font-size:15px}.tips-attion ul li[data-v-229cad1c]{height:28px;font-size:13px}.tips-attion ul li img[data-v-229cad1c]{padding-left:4px;position:relative;width:20px}.login-context[data-v-229cad1c] .ivu-form-item-label{color:#fff}
+.login-context[data-v-e932024c]{height:250px;width:450px;margin:0 auto;margin-top:180px;padding:30px;border-radius:7px}.tips-attion[data-v-e932024c]{margin-top:30px;color:#fff}.tips-attion h3[data-v-e932024c]{font-size:14px}.tips-attion h2[data-v-e932024c]{font-size:15px}.tips-attion ul li[data-v-e932024c]{height:28px;font-size:13px}.tips-attion ul li img[data-v-e932024c]{padding-left:4px;position:relative;width:20px}.login-context[data-v-e932024c] .ivu-form-item-label{color:#fff}

+ 1 - 0
app/goahead-5.1.0/src/web/static/css/system_logs.css

@@ -0,0 +1 @@
+.system-audit-logs[data-v-fc085afe]{margin-top:10px}.filter-by-label[data-v-fc085afe]{width:80px;height:32px;line-height:32px;color:#fff}

+ 1 - 0
app/goahead-5.1.0/src/web/static/js/BSODScreen.js

@@ -0,0 +1 @@
+(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["BSODScreen"],{6968:function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"title-info-content"},[s("h3",[t._v(" "+t._s(t.title)+" ")]),s("p",{staticClass:"title-info"},[t._v(t._s(t.desc))])])},a=[],i={name:"title",data:function(){return{}},props:{title:{type:String,default:""},desc:{type:String,default:""}}},c=i,l=s("2877"),r=Object(l["a"])(c,n,a,!1,null,null,null);e["a"]=r.exports},"9a47":function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"dashboard_box set-pro",staticStyle:{width:"1180px",margin:"auto"}},[s("Title",{attrs:{title:"Blue Screen of Death",desc:"This page displays the snapshot of the blue screen captured if the host system crashed since last reboot."}})],1)},a=[],i=s("6968"),c={name:"BSODScreen",components:{Title:i["a"]},data:function(){return{}}},l=c,r=s("2877"),o=Object(r["a"])(l,n,a,!1,null,"5fe65c87",null);e["default"]=o.exports}}]);

File diff ditekan karena terlalu besar
+ 0 - 0
app/goahead-5.1.0/src/web/static/js/app.js


File diff ditekan karena terlalu besar
+ 0 - 0
app/goahead-5.1.0/src/web/static/js/event_logs.js


File diff ditekan karena terlalu besar
+ 0 - 0
app/goahead-5.1.0/src/web/static/js/index.js


File diff ditekan karena terlalu besar
+ 0 - 0
app/goahead-5.1.0/src/web/static/js/index~login.js


File diff ditekan karena terlalu besar
+ 0 - 0
app/goahead-5.1.0/src/web/static/js/login.js


File diff ditekan karena terlalu besar
+ 0 - 0
app/goahead-5.1.0/src/web/static/js/set_proctrol.js


File diff ditekan karena terlalu besar
+ 0 - 0
app/goahead-5.1.0/src/web/static/js/system_logs.js


+ 3 - 3
app/goahead-5.1.0/src/web_interface/src/dashboard.c

@@ -7,7 +7,7 @@
 
 /*获取设备信息*/
 void getDeviceInfo(Webs *wp){
-    logmsg(2, "--------------------ggggggggg----------------");
+    logmsg(2, "--------------------ggggg11gggg----------------");
 
     uint16_t    wRet = LIBIPMI_E_SUCCESS;
     GetDevIDRes_T   DeviceID;
@@ -103,12 +103,12 @@ void getDeviceInfo(Webs *wp){
 
     printf("first json:\n%s\n", pStr);
     logmsg(2, "-----------------------jso1n----------------------%s", pStr);
-
+    logmsg(2, "--------------------ccccccccccsscc----------------");
     websSetStatus(wp, 200);
     websWriteHeaders(wp, -1, 0);
     websWriteEndHeaders(wp); 
     //websWrite(wp, "[");
-    websWrite(wp, " {\"name\":\"jimbo\"}");
+    websWrite(wp, pStr);
     //websWrite(wp, "]");
     //websFlush(wp, 0);
     websDone(wp);

+ 7 - 1
gd32450i-eval.initramfs

@@ -131,6 +131,7 @@ file /etc/goahead/self.key ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/
 file /etc/goahead/auth.txt ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/auth.txt 755 0 0
 file /etc/goahead/route.txt ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/route.txt 755 0 0
 
+
 file /var/www/goahead/favicon.ico ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/favicon.ico 755 0 0
 file /var/www/goahead/index.html ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/index.html 755 0 0
 file /var/www/goahead/static/css/app.css ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/css/app.css 755 0 0
@@ -138,9 +139,11 @@ file /var/www/goahead/static/css/chunk-vendors.css ${INSTALL_ROOT}/projects/${SA
 file /var/www/goahead/static/css/dashbord.css ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/css/dashbord.css 755 0 0
 file /var/www/goahead/static/css/fan.css ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/css/fan.css 755 0 0
 file /var/www/goahead/static/css/index.css ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/css/index.css 755 0 0
+file /var/www/goahead/static/css/index~login.css ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/css/index~login.css 755 0 0
 file /var/www/goahead/static/css/login.css ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/css/login.css 755 0 0
 file /var/www/goahead/static/css/sensor_history.css ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/css/sensor_history.css 755 0 0
 file /var/www/goahead/static/css/set_proctrol.css ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/css/set_proctrol.css 755 0 0
+file /var/www/goahead/static/css/system_logs.css ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/css/system_logs.css 755 0 0
 file /var/www/goahead/static/fonts/ionicons.143146fa.woff2 ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/fonts/ionicons.143146fa.woff2 755 0 0
 file /var/www/goahead/static/fonts/ionicons.99ac3308.woff ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/fonts/ionicons.99ac3308.woff 755 0 0
 file /var/www/goahead/static/fonts/ionicons.d535a25a.ttf ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/fonts/ionicons.d535a25a.ttf 755 0 0
@@ -148,14 +151,17 @@ file /var/www/goahead/static/img/bg1.9f8ed6c0.png ${INSTALL_ROOT}/projects/${SAM
 file /var/www/goahead/static/img/ionicons.a2c4a261.svg ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/img/ionicons.a2c4a261.svg 755 0 0
 file /var/www/goahead/static/img/logo.762a400a.png ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/img/logo.762a400a.png 755 0 0
 file /var/www/goahead/static/js/app.js ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/js/app.js 755 0 0
+file /var/www/goahead/static/js/BSODScreen.js ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/js/BSODScreen.js 755 0 0
 file /var/www/goahead/static/js/chunk-vendors.js ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/js/chunk-vendors.js 755 0 0
 file /var/www/goahead/static/js/dashbord.js ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/js/dashbord.js 755 0 0
+file /var/www/goahead/static/js/event_logs.js ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/js/event_logs.js 755 0 0
 file /var/www/goahead/static/js/fan.js ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/js/fan.js 755 0 0
 file /var/www/goahead/static/js/index.js ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/js/index.js 755 0 0
+file /var/www/goahead/static/js/index~login.js ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/js/index~login.js 755 0 0
 file /var/www/goahead/static/js/login.js ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/js/login.js 755 0 0
 file /var/www/goahead/static/js/sensor_history.js ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/js/sensor_history.js 755 0 0
 file /var/www/goahead/static/js/set_proctrol.js ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/js/set_proctrol.js 755 0 0
-
+file /var/www/goahead/static/js/system_logs.js ${INSTALL_ROOT}/projects/${SAMPLE}/app/goahead-5.1.0/src/web/static/js/system_logs.js 755 0 0
 
 
 

TEMPAT SAMPAH
gd32450i-eval.uImage


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini