This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
user_guide:md_on_lede_luci [2016/11/21 22:37] – created admin | user_guide:md_on_lede_luci [2016/11/21 23:58] (current) – [Include the MESHdesk application] admin | ||
---|---|---|---|
Line 129: | Line 129: | ||
</ | </ | ||
* Now we completed all the files needed for our LuCI application. | * Now we completed all the files needed for our LuCI application. | ||
- | * Next we need to inform | + | * Next we need to inform |
* For this we issue the following command: | * For this we issue the following command: | ||
<code bash> | <code bash> | ||
Line 137: | Line 137: | ||
* Now we can install the application | * Now we can install the application | ||
<code bash> | <code bash> | ||
- | ~/ledelsource/ | + | ~/lede/source/ |
</ | </ | ||
* Run the **make menuconfig** pattern and go to **LuCI -> Applications** and select **luci-app-meshdesk**. | * Run the **make menuconfig** pattern and go to **LuCI -> Applications** and select **luci-app-meshdesk**. | ||
* At this stage you also might want to check that the **mode** of the MESHdesk firmware is set to **off** as specified in the initial instructions on the different **mode** options. | * At this stage you also might want to check that the **mode** of the MESHdesk firmware is set to **off** as specified in the initial instructions on the different **mode** options. | ||
- | * | + | * This will ensure you can reach the device on the LEDE default IP Address 0f 192.168.1.1 on the LAN port. |
+ | * Save this changes and do another **make** to confirm it compiles right. | ||
+ | * Next we will cover the changing and modifying of the theme. | ||
+ | ==== Modify the LuCI theme ==== | ||
+ | * LuCI comes by default with the **Bootstrap** theme. | ||
+ | * Themes are like fashion, and music, what is hot today is old news in a year or two. | ||
+ | * The current cool theme is **Material** and LuCI has a Material theme available for us to use. | ||
+ | * Again like the LuCI applications we have to first install the theme and then select it. | ||
+ | <code bash> | ||
+ | ~/ | ||
+ | </ | ||
+ | * Run **make menuconfig** and go to **Luci -> Collections**. | ||
+ | * Deselect **luci**. This will allow you to go back one step and de-select the **luci-theme-bootstrap** and select **luci-theme-material** under **Themes**. | ||
+ | * Save the configuration and do another **make** to confirm it compiles right. | ||
+ | * You might want to do some of your own branding on the header and the footer of the theme. | ||
+ | * For the header edit the following file: **~/ | ||
+ | * Look for this bit: | ||
+ | <code html> | ||
+ | <a class=" | ||
+ | </ | ||
+ | * You might want to change it to this: | ||
+ | <code html> | ||
+ | <a class=" | ||
+ | </ | ||
+ | * For the footer edit the following file: **~/ | ||
+ | * Look for this bit: | ||
+ | < | ||
+ | <footer class=" | ||
+ | <a href=" | ||
+ | <a href=" | ||
+ | <% if #categories > 1 then %> | ||
+ | <ul class=" | ||
+ | <% for i, r in ipairs(categories) do %> | ||
+ | <li<% if request[1] == r then %> class=" | ||
+ | <% end %> | ||
+ | </ul> | ||
+ | <% end %> | ||
+ | </ | ||
+ | </ | ||
+ | * You might want to change it to this: | ||
+ | <code html> | ||
+ | <footer class=" | ||
+ | | ||
+ | </ | ||
+ | </ | ||
+ | * After these changes you can do the **make** routine to confirm it compiles. | ||
+ | * Once the compile if finish you can flash it and give it a spin. The Meshdesk application is refered to as **Cloud Controller** under the **System** menu. | ||
+ | {{ : | ||