Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#4399 CSS not applied to ajaxterm.

All
closed-fixed
nobody
None
5
2014-04-11
2014-04-10
Walter Brock
No

I noticed that the CSS is not being applied to ajaxterm for the text login module. On my system I did a work around changing the #term css statement at the bottom of ajaxterm.css to this:

#term {
    float: left;
    margin: 0px;
    padding: 4px;
    display: block;
    font-family: monospace;
    white-space: pre;
    background-color: black;
    border-top: 1px solid white;
    color: #eee;
}

I also changed the the iframe size to width=820 height=600 in index.cgi. But I consider this change more personal preference.

Discussion

  • Jamie Cameron
    Jamie Cameron
    2014-04-10

    So are you trying to change the CSS used by Webmin?

    The ajaxterm module is kind of a special case, as it was developed by a third-party and has its own UI and CSS requirements.

     
  • Walter Brock
    Walter Brock
    2014-04-11

    Hi, Yes, I edited /opt/webmin-1.680/ajaxterm/ajaxterm/ajaxterm.css and that fixed it.

     
  • Jamie Cameron
    Jamie Cameron
    2014-04-11

    Ok. What change were you trying to make specifically?

     
  • Walter Brock
    Walter Brock
    2014-04-11

    Without the css, the terminal is displayed using a proportional font with a white background and black font color.

    With the css, the terminal is displayed using a monospace font with a black background and white font color. This is a much more in line with what most people expect from a terminal.

    I'd say the monospace font is the most important difference.

     
  • Jamie Cameron
    Jamie Cameron
    2014-04-11

    • status: open --> closed-fixed
     
  • Jamie Cameron
    Jamie Cameron
    2014-04-11

    Thanks - I will include this fix in the next release.