Re: [fossil-users] Modifying button bar
On Aug 31, 2015, at 11:46 AM, Scott Doctorwrote: > > how can I customize the buttons on the button bar at the top of the page Admin -> Skins -> Header. That gets you a text editor containing the current HTML + TH1 code combination that generates the header portion of each page Fossil serves. The footer and CSS files also play into it. If you want to dig deeper into it, the stock skins are in the skins subidrectory of the Fossil code repo. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Modifying button bar
Hmm. I guess that will work. but would be nice to have a simple GUI-ish type editor where I just have a list in order of appearance that is the name of the button and its link, instead of basically hacking code, thereby isolating language syntax from the user. I see it working as such. User wants to add (or delete) a button. Clicks ADD BUTTON button. Prompt for name of button, prompt for link or select from tree (I think tree is better). the appropriate code is then inserted into the HTML where the user never sees the underlying code. Scott Doctor sc...@scottdoctor.com -- On 8/31/2015 10:51 AM, Warren Young wrote: On Aug 31, 2015, at 11:46 AM, Scott Doctorwrote: how can I customize the buttons on the button bar at the top of the page Admin -> Skins -> Header. That gets you a text editor containing the current HTML + TH1 code combination that generates the header portion of each page Fossil serves. The footer and CSS files also play into it. If you want to dig deeper into it, the stock skins are in the skins subidrectory of the Fossil code repo. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Modifying button bar
On 8/31/15, Scott Doctorwrote: > > Hmm. I guess that will work. but would be nice to have a simple GUI-ish type > editor where I just have a list in order of appearance that is the name of > the button and its link, instead of basically hacking code, thereby > isolating language syntax from the user. > The default headers use condition code to test whether or not various menu items are displayed and to change their names based on the users permissions and login status. That would be difficult to do with a GUI. So our options are to reduce the capabilities in order to accommodate a GUI, or keep the current setup. -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Modifying button bar
On Mon, Aug 31, 2015 at 1:51 PM, Warren Youngwrote: > On Aug 31, 2015, at 11:46 AM, Scott Doctor wrote: > > > > how can I customize the buttons on the button bar at the top of the page > > Admin -> Skins -> Header. Or just: Admin -> Header (At least with the out-of-the-box Fossil, the 2 are equivalent.) ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users