From cf9bee07dbf11c4133cce89d324fd6768688af28 Mon Sep 17 00:00:00 2001 From: Oliver Giles Date: Sun, 20 Sep 2015 19:57:05 +0200 Subject: [PATCH] add favicon, nav logo --- CMakeLists.txt | 3 ++- src/resources.cpp | 3 +++ src/resources/favicon-152.png | Bin 0 -> 7867 bytes src/resources/favicon.ico | Bin 0 -> 5430 bytes src/resources/icon.png | Bin 0 -> 1095 bytes src/resources/index.html | 17 ++++++++++------- src/resources/js/app.js | 3 --- 7 files changed, 15 insertions(+), 11 deletions(-) create mode 100644 src/resources/favicon-152.png create mode 100644 src/resources/favicon.ico create mode 100644 src/resources/icon.png diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f44b34..a41cef9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,7 +57,8 @@ add_custom_command(OUTPUT laminar.capnp.c++ laminar.capnp.h # Zip and compile statically served resources generate_compressed_bins(${CMAKE_SOURCE_DIR}/src/resources index.html js/app.js - tpl/home.html tpl/job.html tpl/run.html tpl/log.html tpl/browse.html) + tpl/home.html tpl/job.html tpl/run.html tpl/log.html tpl/browse.html + favicon.ico favicon-152.png icon.png) # Download 3rd-party frontend JS libs... file(DOWNLOAD https://ajax.googleapis.com/ajax/libs/angularjs/1.3.14/angular.min.js js/angular.min.js EXPECTED_MD5 b1137641dbb512a60e83d673f7e2d98f) diff --git a/src/resources.cpp b/src/resources.cpp index 54d91b2..bf452e0 100644 --- a/src/resources.cpp +++ b/src/resources.cpp @@ -28,6 +28,9 @@ Resources::Resources() { // TODO: Content-type INIT_RESOURCE("/", index_html); + INIT_RESOURCE("/favicon.ico", favicon_ico); + INIT_RESOURCE("/favicon-152.png", favicon_152_png); + INIT_RESOURCE("/icon.png", icon_png); INIT_RESOURCE("/js/app.js", js_app_js); INIT_RESOURCE("/js/Chart.HorizontalBar.js", js_Chart_HorizontalBar_js); INIT_RESOURCE("/js/ansi_up.js", js_ansi_up_js); diff --git a/src/resources/favicon-152.png b/src/resources/favicon-152.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Ke*y zx3;jgy@j=VY8YPya65ofam{nFHYDit%UJlUZLC~YqxKc|Tuox{bqxA4fR7c|f27y_ z0`jw_Lci+(i&hi!cL4MSK)%0tEkuslfVfHI!>S`mvHW90Cvp{ Z`G0Jv=|W5V9Krwq002ovPDHLkV1oCInTr4b literal 0 HcmV?d00001 diff --git a/src/resources/favicon.ico b/src/resources/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..587053f2a2a1e768e361528317338d2ee97d9fa5 GIT binary patch literal 5430 zcmeHLX-rgC6n<1|Yx+Z*H0>W7X{&~^jNq`yChi-e2n@@x4xwR}D2qQ)OYW)%F<^d=|o&3)&b@7{CIc1Mzo zr1zx0eIdpa3M$J_fnwAS^ z$}ZJbr8S+3)Y*Ci&PVao>GZ8(hcyQ@%R}+nt)_KZ((;@`vX~`pwV-v`t|Fradx~mW8yf( zjvs>{d)o>?!Xb57sH(T$5pvM`XF@@zRpaYv0uT`JlNGk1jRi*0Fk=-oEu>%}SkzVcHDi-Y(0% zb}Y+0aAI=_t{YAV}b>|fx! z-cqSlJ@nQ8I=-l3!#+>)_4;Q;Tr{?2q~YMYBC5TWxO4mver`ODn+NOgUBwpE4C z6R~u<2JurSA<))#e6`z_qXIX2PT1G*TksMq^f=c9@I?MD4R;rrZ2oGjafJu7mt zK4~7+rBKYC?25plwt4zuypB)f`q zRlcEE9r07o@GzG2r3I<6iu$**#j-d9jswmGhfCIA@5(&tt5T3ZGX|*veux=28a_%z zWJmf8o%6P|xE?iTr07|6v5_LicIGa{{-S)*OV$;w#LnC$VxE0;p`QwoqesBg!h%ci zTMrL&)B5Qnh9Obqf$WI(-mN?{9lMw3h?wIi|7PFg-j4Z*|EISGey+gHWKdS9lLOcX z*$4OxI1V@$?O2wD?MoMSfvY6Q)jv#@VT)tMFY1ec>E9)CSzU%5=7QWMl4M zOVg6Em3(0{J&PC2#qt?Z!uQx$L!IpXx(a_d-OhZKmJiqmxc}z9cNOJgws#5j|BTIj zJlmf8TJqJlKnKOAU4_qjycA|Sx_^i>;P}donl8?vC}Ebs*2P4MvzhNTm3{AAS7NiS z$!1>-pgh#ZeK*wtI_F@qhUF9wdC^*7lhgoT%KNUE=Hi&$)%dJWZ9Qb4mg0*2E7ji@ znVMjMn>8&2>2!}_zvny=;%GOfJMdK&7D|n?gRlYHIfd51IY|!m6L%S|dD>CKpQ!BZ zdv^yu>kP27t|kmoU$`c*Kk~jgHu*k8ccc35!e+gmmX-r4ww`b-@I8*tn`nh_Ug9{&v=v$rs4iodhwq zpS9I(!hR<=E0vX*Db@GKoEHP^Y#1A!3e%kK-utWiz0A!$s5U-TSz3T<)Khm86XRFE zzl-=(yd7 SbP}~Zr&iMcjHt~8FUG$T8vh{x literal 0 HcmV?d00001 diff --git a/src/resources/icon.png b/src/resources/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..576a01beaed959252c61c7b7fb57576159020bd6 GIT binary patch literal 1095 zcmV-N1i1T&P)HP3yiL4>P-Y zi6Hv2n_fCFr}xQnk!O|MrKFtdWOed*WlKkoIJycu<`p!jYG zVQ&Zl!5zT^-2M3Q@R5Nn2Rd;3W6y-pcQm*o1c!$J4-R+l+jix^16v9-K7Q=lVD^%G z2Jw)fJWVrus8=BE$t&%DJGfsJg2T+f%!n~Uqyqpb%kutQnAo~P`^Ts6au3J6wkaUw z*`?6#gLj;`ZA%m~2`^U*2hR#gQm9g@(<#vRmrnxtwpE30-T&xebGyggk{TfeI%K#U zYM41heX{jXoB4C=V0_Is@3zbhW_I_)#B_gaKts1YJZviWnI)U5hJ_6(nH$^;X4>DO z?Gvp5^|3ywW>mveHhB(oRr>@3RfVfewgp70cHGR89UC%K0VcZ~YL=#JJ3vE24<1z2 zJ*o;bg`1(uQnDAfl{c+r5ng zsoEjYlnXPhL%mk_Dnpi`(|<(-COp~r#;77UXkJ7sOS+mS%;DtWu~$ZON*f9To;NgNOm*o0|=_$WP3b1q!LMRG(h~mKBmp9TqS% zm!BRh-HbQC{UIWF_wsB{5=9soO<)Aljvde^synvNV9VbQ-iy9 zK07$LV~mJ=WqIYy(z$aVE-jyb=jq1}|9r{5=foIkVIkV(FI!tR{s!p+y_v~P_yGU_ N002ovPDHLkV1oSx@0kDq literal 0 HcmV?d00001 diff --git a/src/resources/index.html b/src/resources/index.html index f92f161..8384288 100644 --- a/src/resources/index.html +++ b/src/resources/index.html @@ -5,6 +5,7 @@ + Laminar @@ -16,9 +17,11 @@