These are chat archives for allegro/ralph

22nd
Sep 2015
ajcborges
@ajcborges
Sep 22 2015 00:13
Hello Ralph are you there?
ajcborges
@ajcborges
Sep 22 2015 00:36
@xliiv Hello are you there?
ajcborges
@ajcborges
Sep 22 2015 01:19
Hi.... I need some help with Tipboard.....
✪ vi4m Marcin Kliks
@vi4m
Sep 22 2015 05:55
ok @ajcborges just ask
ajcborges
@ajcborges
Sep 22 2015 05:56

Hi @vi4m

I have been using Tipboard for the past year. Great Tool!. I have new requirements from my manager and I would like your help:

  • Do you have a Template for Tables. I would like to display date in a table format but none of the existing Templates (Tiles) allow me to do it.

  • How can I increase my Dashboard Display from 3 rows x 5 columns to 4 rows x 6 columns?

  • How can I decrease the size of a tile?

I understand that each tile is built by a .ccs , .html and .js file. Do you have any documentation for the JS.

✪ vi4m Marcin Kliks
@vi4m
Sep 22 2015 06:00
do you know html / css programming?
ajcborges
@ajcborges
Sep 22 2015 06:01
@vi4m my main issue is with JS
I can create the html & css files, but the JS is where I have no experience
I tried to follow previous JS file to create my own.... but it did not work
✪ vi4m Marcin Kliks
@vi4m
Sep 22 2015 06:07
you can customize number of columns and rows through the configuration file (.yml)
ajcborges
@ajcborges
Sep 22 2015 06:08
can you provide an example? highly appreciated
✪ vi4m Marcin Kliks
@vi4m
Sep 22 2015 06:08
yeah, @xor-xor could provide such
ajcborges
@ajcborges
Sep 22 2015 06:09
thanks
✪ vi4m Marcin Kliks
@vi4m
Sep 22 2015 06:09
just ask him
ajcborges
@ajcborges
Sep 22 2015 06:10
@xor-xor can you provide me an example on how can I customize number of columns and rows through the configuration file (.yml) thanks in advanced
@vi4m so in order to decrease the size of a tile, I just need to play with a css files. do you know which one?
@vi4m is any other documentation besides http://tipboard.readthedocs.org/en/latest/installation.html which I can read?
✪ vi4m Marcin Kliks
@vi4m
Sep 22 2015 06:12
@ajcborges afaik tipboard manages layout automatically, so if you add another entries(rowXofY) - layout should accomodate automatically
row1of4 row2of4 row3of4 row4of4 and columns the same way
ajcborges
@ajcborges
Sep 22 2015 06:14
@vi4m ok.... thanks
ajcborges
@ajcborges
Sep 22 2015 06:14
@vi4m what about a Tile to display information in a Table format?
ajcborges
@ajcborges
Sep 22 2015 06:19
@vi4m I already read that.
it's tabular view with 2 columns + additional description
ajcborges
@ajcborges
Sep 22 2015 06:21
@vi4m I need to display a table 4 col x 5 row
@vi4m is what my manager requesting.... :(
✪ vi4m Marcin Kliks
@vi4m
Sep 22 2015 06:22
in one tile?
ajcborges
@ajcborges
Sep 22 2015 06:22
@vi4m correct
QUEUE NAME BEGIN NEW PROCESSED
Manual Q. 2 27 0
Domain Q. 7341 0 0
CommTouch Q. 0 176 59
Brand Alert Q. 0 0 257
@vi4m in a table view
✪ vi4m Marcin Kliks
@vi4m
Sep 22 2015 06:24
you have 2 options: creating own tile for it (@xor-xor could help you a little bit with that)
but formatting the content to look like semi-table view
filling with spaces/tabs wihout touching html/css
you said that you had some problems with js
what was it ?
ajcborges
@ajcborges
Sep 22 2015 06:27
so I manage to create the html file and the css file, but correct me if i'm wrong it needs a js file in order to update the tile.
updateTile[YourTileName]
ajcborges
@ajcborges
Sep 22 2015 06:32
I see you have created a function to update the tile : ie. updateTileJustValue
✪ vi4m Marcin Kliks
@vi4m
Sep 22 2015 06:35
yes
ajcborges
@ajcborges
Sep 22 2015 06:36
<div class="tile" id="{{ tile_id }}">
<div class="tile-header">
<h3>{{ title }}</h3>
</div>
<div class="tile-content">
<div class="CSSTableGenerator" >
<table class="fwi_shift">
<thead>
<th>QUEUE NAME</th>
<th>BEGIN</th>
<th>NEW</th>
<th>PROCESSED</th>
</thead>
<tbody class="fwi_shift_body">
<!-- table rows added via js -->
<tr><td colspan="99">Loading...</td></tr>
</tbody>
</table>
</div>
</div>
</div>
that's is my html file
I looked into those two examples.... I do not know to much about JS. in some cases I was able to read it.... but my problem is to replicated.
✪ vi4m Marcin Kliks
@vi4m
Sep 22 2015 06:40
give me a sec, i will try to write example js code
for this tile
ajcborges
@ajcborges
Sep 22 2015 06:41
thanks. basically I'm trying to create something like fancy_listing but in a table format.
Pierre-Yves Dubreucq
@pydubreucq
Sep 22 2015 21:11
Hi,
In Ralph 2 it was possible to scan a network to discover host
I didn't find this on Ralph 3, is it on roadmap ? Best Regards
✪ vi4m Marcin Kliks
@vi4m
Sep 22 2015 21:14
it's still in development
ajcborges
@ajcborges
Sep 22 2015 23:20
Hi @vi4m do you have any update in regards to the example js code? BTW I'm located at Australia... just to let you guys know if you see a big difference time delay on my replies....