Question: Please help me, (btw my English is not very good). I want to list all records that have been created for a gen\_server, for example, if a had the following code:

```
-module(mod).
-record(person, {name, phone}).
start_link(Param1, Param2) -> 
    gen_server:start_link(?MODULE, [Param1, Param2], []).

init([Param1, Param2]) ->
   {ok, #person{name=Param1,phone=Param2}}.

```

I can called:

```
mod:start_link(Maria,22222).
mod:start_link(Jose,9348).
mod:start_link(lol,232).

```

After that i want to see all the records that i have created and put it on a list. How can i do this?

Answer: 
In my opinion toggling the pagination is a helper but not the final solution. I found a bootstrap plugin that does exactly what I expect pagination to do at smaller screen sizes - it shrinks the number of paginated li chunks to match the screen width like this:

![wide screen size](https://i.stack.imgur.com/S2jdH.png)
![medium screen size](https://i.stack.imgur.com/OJFMu.png)
![small screen size](https://i.stack.imgur.com/hTCT3.png)

[rPage - responsive bootstrap3 pagination plugin](http://auxiliary.github.io/rpage/)
You can use `class="hidden-xs"`:

### Normal

```
< 1 2 3 4 [5] 6 7 8 9 10 >

```

### Small

```
< 4 [5] 6 >

```

### Example in php

```
if($number != $page) { echo ' class="hidden-xs" '; }

```