]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/static/index.html
Click on a user or their avatar to go to their profile from the forum view
[citadel.git] / webcit-ng / static / index.html
index ad7ee4e596712e0aef7744f94d10c3c172ff36d4..4100bb8c02ba0a958b45c059299dfda15e1c3283 100644 (file)
@@ -49,7 +49,7 @@ LOADING
                        <span id="current_user">Not logged in.</span><br>
                        <a href="#" class="w3-bar-item w3-button"><i class="fa fa-envelope" onclick="javascript:gotoroom('_MAIL_');"></i></a>
                        <a href="#" class="w3-bar-item w3-button"><i class="fa fa-user"></i></a>
-                       <a href="#" class="w3-bar-item w3-button"><i class="fa fa-cog"></i></a>
+                       <a href="#" class="w3-bar-item w3-button"><i class="fa fa-cog" onclick="javascript:user_profile(current_user);"></i></a>
                </div>
        </div>
        <hr>
@@ -82,6 +82,7 @@ Loading...
 <script type="text/javascript" src="js/views.js"></script>
 <script type="text/javascript" src="js/view_forum.js"></script>
 <script type="text/javascript" src="js/roomlist.js"></script>
+<script type="text/javascript" src="js/user_profile.js"></script>
 <script>
 
 // Get the Sidebar