OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Simple interface with Angular
« previous next »
  • Print
Pages: [1]

Author Topic: Simple interface with Angular  (Read 4187 times)

iosense

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
    • View Profile
Simple interface with Angular
« on: September 10, 2015, 01:48:02 pm »
Hello,

I would like to simplify the interface a bit for our clients. in fact they do not need so many features and so many settings complicate their use.

I need a little editing interface for easy operation. Apparently, It seems possible with this RestAPI and MVC infrastructure, problem is that there is no detailed information about it. You tell me where to start should be enough even for me now.

I also have experience in javascript frameworks like AngularJS, Backbone, React etc. If I can prepare a simple interface using angular, it will be easier for me.

Also I do not want to change anything hardcode. I keep track of updates and also I want to use the existing interface. just Clients can not access it.

Thank you for your hard work.
Logged

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 866
  • Karma: 171
    • View Profile
Re: Simple interface with Angular
« Reply #1 on: September 10, 2015, 02:45:31 pm »
Hi,

Sinds last week we do have a full sample, for more info:
https://forum.opnsense.org/index.php?topic=1332.0

Logged

iosense

  • Newbie
  • *
  • Posts: 27
  • Karma: 1
    • View Profile
Re: Simple interface with Angular
« Reply #2 on: September 11, 2015, 03:56:24 pm »
Thank you AdSchellevis, I think I got the answer!

My other question is: How to set the development environment in a simple manner for this purpose ?

I just want to set the GUI and want to build it again.

Thank you.

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 15133
  • Karma: 1309
    • View Profile
Re: Simple interface with Angular
« Reply #3 on: September 11, 2015, 05:23:12 pm »
This should help you: http://lastsummer.de/development-workflow-in-opnsense/ :)
Logged

jstrebel

  • Full Member
  • ***
  • Posts: 188
  • Karma: 23
    • View Profile
Re: Simple interface with Angular
« Reply #4 on: September 11, 2015, 08:23:02 pm »
I took the path creating a new group "junior" with a user "miniadmin"  and enabled in this group only the menu items which where needed for a simple setup. You can go even further and create a group "monitor" with an another user. In this group you enable only the relevant menus which are needed for monitoring.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 15133
  • Karma: 1309
    • View Profile
Re: Simple interface with Angular
« Reply #5 on: September 11, 2015, 09:16:15 pm »
That's a smart thing to do. We want to take this futher with the MVC, basically allowing read and/or write access per action (page). That way monitoring becomes even better for pages that are now critical and not available as "monitoring only". Imagine all the settings pages rendering the settings as non-changeable inputs or just text instead of e.g. a drop down box.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Simple interface with Angular
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2