Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customize output #98

Open
acoul opened this issue Dec 7, 2019 · 4 comments
Open

Customize output #98

acoul opened this issue Dec 7, 2019 · 4 comments
Labels
enhancement good first issue Issue is easy to fix, allowing someone willing to contribute to do it

Comments

@acoul
Copy link

acoul commented Dec 7, 2019

Greetings,

is there a way to customize the output display of the routers? Preferably I would like to have the output as a full regular text displayed in-between current header & footer, instead of a scrollable window. also my custom vtysh at some cases outputs some html code that it doesn't get displayed in the output window.

@gmazoyer
Copy link
Owner

gmazoyer commented Dec 8, 2019

There is no way to output the result in a command outside the current div container. Though, the actual scrollable container is added here so it could be customized (e.g. with a configuration option) to not be included and just output the result as is.

@gmazoyer gmazoyer added enhancement good first issue Issue is easy to fix, allowing someone willing to contribute to do it labels Dec 8, 2019
@acoul
Copy link
Author

acoul commented Dec 8, 2019

I managed to get the full output in the div container by removing the class="pre-scrollable" code here. it may be nice to have this as an option. Is there a way to fully maximize the div container? and lastly, how about the html code from my custom vtysh wrapper that gets filtered in the div container output window?

@gmazoyer
Copy link
Owner

I guess the HTML gets ignored because you are between <pre></pre> tags. You can try removing those to see if the HTML code gets interpreted. As for the size of the <div> container, you can probably use your own CSS code to make it look like what you want.

@jonathaanbastin
Copy link

It would be cool to output to a formatted table with row colours. I would imagin colum hearders maybe difficult to implaments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement good first issue Issue is easy to fix, allowing someone willing to contribute to do it
Projects
None yet
Development

No branches or pull requests

3 participants