Opened 9 years ago
Closed 8 years ago
#581 closed enhancement (fixed)
Hide long string in "Destination"
Reported by: | Z6 | Owned by: | str4d |
---|---|---|---|
Priority: | trivial | Milestone: | 0.9.3 |
Component: | apps/i2ptunnel | Version: | 0.8.12 |
Keywords: | Cc: | ||
Parent Tickets: | Sensitive: | no |
Description
I make alot of stability, capacity and speed tests with my routers.
Sometimes i keep 6-10 my own "Client Tunnels" in same time.
I dont really want to create local adressbook alias for each destinations, but b32 not recommended.
For this reason I usually put "long" destination.
As result list of client tunnels looks like crap
Its will be great, if you make little fix for full destinations in list.
There is no reason to out 517-symbols string into web interface.
Subtickets
Attachments (1)
Change History (4)
Changed 9 years ago by
Attachment: | Untitled.png added |
---|
comment:1 Changed 9 years ago by
div width increased in 0.8.12-3 but still need to truncate in the code.
comment:2 Changed 8 years ago by
Milestone: | → 0.9.3 |
---|---|
Owner: | set to str4d |
Status: | new → accepted |
comment:3 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Okay, this is now fixed in trunk [fad154fe832ec5c96c572bb04256a928cd0f4848]. If the client destination is over 70 chars (B32s are 60 chars) then the first 45 characters of the destination are displayed, followed by an ellipsis, and the the last 15 characters of the destination. If the truncation length needs further tweaking, the numbers to change are on lines source:/apps/i2ptunnel/jsp/index.jsp#L288 and 289.
Screenshot of client tunnel lists