diff --git a/server/staticfiles/rest/css/bootstrap-tweaks.css b/server/staticfiles/rest/css/bootstrap-tweaks.css index 5c1c611..d560cc0 100644 --- a/server/staticfiles/rest/css/bootstrap-tweaks.css +++ b/server/staticfiles/rest/css/bootstrap-tweaks.css @@ -17,6 +17,25 @@ a single block in the template. height: 120px; } +.list_clips { + table-layout: fixed; + width: 100%; +} + +.list_clips #clip_encrypted { + white-space: pre; + overflow: hidden; + text-overflow: ellipsis; +} + +.list_clips #clip_cleartext { + overflow: auto; + text-overflow: ellipsis; +} + + + + #generic-content-form textarea { font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace; font-size: 80%; diff --git a/server/templates/rest_framework/list.html b/server/templates/rest_framework/list.html index 892f82a..3eeae4c 100644 --- a/server/templates/rest_framework/list.html +++ b/server/templates/rest_framework/list.html @@ -25,18 +25,17 @@ The cleartext is not transmitted and only available to you locally in the browser.


- - - - - - + +
+ - - - - + + + {% for clip in clips %} @@ -46,8 +45,9 @@ {% endfor %} -
Date createdDeviceClip (Encrypted)Clip (Cleartext)Date created + Device + Clip (Encrypted) + Clip (Cleartext)
{{ clip.created_at }}

+ +