Great performance boost.
Also:
* Input field to copy @username
Once we can post, this may be handy
* Search is also an iframe (containing an iframe per user)
So you can keep composing a twist while searching for usernames
* Should be responsive for cellulars (I can only resize browser
to check. Got no phone. Anyway, the floating "Fork me" footer
now has a link to navigation (local users), and that's about all
the essential navigation. You can scroll a bit down from there
for search results, or all the way up for the content.
* Make sure Dillo etc. that don't see bootstrap font icon
can still have text links to everything
Enjoy
'is_user':True,# i.e. we want to display "bio" and not mentions/DMs/profile buttons
'is_sponsored':True,# message template needs to know not to show "permalink"
'title':"Welcome to Swizzler",
'local_users':twister.local_user_menu('')['users'],# '' means: "Nobody" is active
'info':twister.get_info(),
@ -184,9 +192,8 @@ Start mining today, and all this (AND moral satisfaction) can be yours.""")
@@ -184,9 +192,8 @@ Start mining today, and all this (AND moral satisfaction) can be yours.""")
},
'messages':messages,
'any_messages':notnotmessages,
#the filter avoids some utf etc. that ttf can't handle (TODO: fix or replace format_twist)
<divclass="alert alert-info"><atarget="_blank"href="https://github.com/swizzler/swizzler#readme"><strong>Fork</strong></a> this. Swizzler is <atarget="_blank"href="http://www.gnu.org/licenses/agpl-3.0.html"><strong>AGPLV3</strong></a>.</span>
<aclass="btn btn-primary btn-sm"title="Scroll to navigation"href="#localusers"><spanclass="glyphicon glyphicon-th-list"></span></a>
<aclass="badge"target="_blank"title="Fork it like you mean it"href="https://github.com/swizzler/swizzler#readme"><spanclass="glyphicon glyphicon-wrench"></a>
<ahref="{{site_root}}/home/{{username}}/mentions"title="mentions of @{{username}}"><spanclass="glyphicon glyphicon-bell"></span></a> {{fullname}}
<aclass="label label-primary"href="{{site_root}}/home/{{username}}/mentions"title="mentions of @{{username}}"><spanclass="glyphicon glyphicon-bell"></span>
<ahref="{{site_root}}/home/{{username}}/mentions"title="mentions of @{{username}}"><spanclass="glyphicon glyphicon-bell"></span></a>
<aclass="label label-primary"href="{{site_root}}/home/{{username}}/mentions"title="mentions of @{{username}}"><spanclass="glyphicon glyphicon-bell"></span>Mentions</a>