Sponsored Content
The Lounge What is on Your Mind? UserCP and Other Private User Area Revisions (Phase 0) Post 303022583 by Neo on Monday 3rd of September 2018 06:32:53 AM
Old 09-03-2018
UserCP and Other Private User Area Revisions (Phase 0)

Hey,

Having made a lot of progress on the "public facing" part of UNIX.COM, I may start working on remodeling the UserCP and other private areas.

Today, I made some small changes; but nothing major in the UserCP area.

However, I have not yet decided what to do with the UserCP:
  1. Keep the current table format and just clean up.
  2. Convert the tables to divs and reorganize and add flex box.
  3. Completely revamp the entire UserCP area.

I'm considering:

Convert the tables to divs and reorganize and add flex box.

But that's a lot of work; and I don't want to do it if I then think I will completely revamp to something different.

Today, I added some quick and dirty simply jQuery to the USERCP_SHELL template (to fix some bugs and quirks) as follows:


Code:
$(window).ready(function() {
  $(".neo-threadbit-thread-info").css({ "background-color": "white" });
  $(".fa-comment").css({ padding: "0px 10px 10px 0px" });
  $(".neo-threadbit-thread-icon")
    .css({ "background-color": "white", padding: "0px", margin: "0px" })
    .text("");
  $(".neo-table-divs-border").css({
    margin: "15px 0px 0px 0px",
    padding: "10px 20px 10px 20px"
  });
  $(".tborder")
    .addClass("neo-usercp-table")
    .removeClass("tborder");
  $(".neo-usercp-table").css({
    "border-width": "2px 1px 1px 1px",
    "border-style": "solid",
    "border-color": "rgba(126, 133, 192, 0.8)"
  });
  $("fieldset").css({
    "border-width": "1px 1px 1px 1px",
    "border-style": "solid",
    "border-color": "rgba(126, 133, 192, 0.8)"
  });
  $("#neo-usercp-html").css({
    width: "90%",
    margin: "0px 0px 0px 20px",
    overflow: "auto"
  });
});

Wrapping the HTML output of a number of UserCP HTML code in many UserCP PHP scripts with the id="neo-usercp-html" attribute and making some small changes here and there, just to clean up.
 

8 More Discussions You Might Find Interesting

1. AIX

checking the version revisions of a java file inside the ear using KSHELL in AIX.

consider on day1, in PVCS repository we have java files like a.java,b.java with version revision 1.0, through ANT build script we have compiled and created an ear,named c.ear in AIX build server.we have transfered this ear from build server to portal server through FTP using KSHELL. consider... (0 Replies)
Discussion started by: kareemaashik
0 Replies

2. Solaris

init phase

Hello, Can somebody explain me the relationship between /sbin and /etc directories ? what is the relationship between them and what are the roles of files such as rcd.1 etc? (1 Reply)
Discussion started by: saudsos
1 Replies

3. UNIX and Linux Applications

Copy numerous private Samba-shares as one user. (Syntax question)

Hello Forum, I was overwhelmed by how fast and correct the responses to my first question in this forum was, and I hope I expreience this again today. The reason is that I have to copy a fileserver (Ubuntu 8.04 32 with Samba) to another server via Internet within tomorrow. I have no problem... (0 Replies)
Discussion started by: primaxx
0 Replies

4. Programming

Want to develop Input Area for user to Update Content

Hello, What would it take to create a system that would enable someone to visit a particular management page that would allow this person to provide content and Have this content then come into view on the home page of a website? The content might just be text that someone would... (1 Reply)
Discussion started by: AimyThomas
1 Replies

5. War Stories

Postbit Changes (Phase II Upgrade)

Next in the pipeline, thinking I will work on postbit (the core of the posts) and try to get Bootstrap and badges working in postbit and not break the quick editors in the post. Note, I had to turn off the scrollbars in postbit for now because when I turn them on, it breaks the quick editor in... (11 Replies)
Discussion started by: Neo
11 Replies

6. Shell Programming and Scripting

XML Phase with awk

Hi Guys, Input XML File :- <managedObject class="RMOD_R" distName="MRBTS-101/X/R-7"> <list name="activeCellsList"> <p>15</p> <p>201</p> </list> <p name="aldManagementProtocol">True</p> <p name="serialNumber">845</p> </managedObject> Output :- ... (5 Replies)
Discussion started by: pareshkp
5 Replies

7. UNIX for Advanced & Expert Users

Ssh public/private key user login problem

I have a user account configuration with ssh public/private key that works on multiple servers centos and rhel. One server (Server F) that is not working in centos 6.8. When i ssh into server f I get prompted for a password. I have verified the config and it all is good. I put sshd into debug... (8 Replies)
Discussion started by: bash_in_my_head
8 Replies

8. What is on Your Mind?

New UserCP Update Profile Image Page (UserCP Screeching Frog 0.7485)

Update! UserCP Screeching Frog 0.7485 Created a new page for uploaded a profile picture (profile pictures are different than avatar pictures). https://www.unix.com/usercp/#/settings/other https://www.unix.com/members/1-albums225-picture1158.png ... (0 Replies)
Discussion started by: Neo
0 Replies
Gtk2::ProgressBar(3)					User Contributed Perl Documentation				      Gtk2::ProgressBar(3)

NAME
Gtk2::ProgressBar HIERARCHY
Glib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Widget +----Glib::Object::_Unregistered::GtkProgress +----Gtk2::ProgressBar INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface Gtk2::Buildable METHODS
widget = Gtk2::ProgressBar->new ellipsizemode = $pbar->get_ellipsize Since: gtk+ 2.6 $pbar->set_ellipsize ($mode) o $mode (Pango::EllipsizeMode) Since: gtk+ 2.6 double = $pbar->get_fraction $pbar->set_fraction ($fraction) o $fraction (double) progressbarorientation = $pbar->get_orientation $pbar->set_orientation ($orientation) o $orientation (Gtk2::ProgressBarOrientation) $pbar->pulse double = $pbar->get_pulse_step $pbar->set_pulse_step ($fraction) o $fraction (double) string or undef = $pbar->get_text $pbar->set_text ($text) o $text (string or undef) PROPERTIES
'activity-blocks' (Glib::UInt : readable / writable / private) The number of blocks which can fit in the progress bar area in activity mode (Deprecated) 'activity-step' (Glib::UInt : readable / writable / private) The increment used for each iteration in activity mode (Deprecated) 'adjustment' (Gtk2::Adjustment : readable / writable / private) The GtkAdjustment connected to the progress bar (Deprecated) 'bar-style' (Gtk2::ProgressBarStyle : readable / writable / private) Specifies the visual style of the bar in percentage mode (Deprecated) 'discrete-blocks' (Glib::UInt : readable / writable / private) The number of discrete blocks in a progress bar (when shown in the discrete style) 'ellipsize' (Pango::EllipsizeMode : readable / writable / private) The preferred place to ellipsize the string, if the progress bar does not have enough room to display the entire string, if at all. 'fraction' (double : readable / writable / private) The fraction of total work that has been completed 'orientation' (Gtk2::ProgressBarOrientation : readable / writable / private) Orientation and growth direction of the progress bar 'pulse-step' (double : readable / writable / private) The fraction of total progress to move the bouncing block when pulsed 'text' (string : readable / writable / private) Text to be displayed in the progress bar ENUMS AND FLAGS
enum Gtk2::ProgressBarOrientation o 'left-to-right' / 'GTK_PROGRESS_LEFT_TO_RIGHT' o 'right-to-left' / 'GTK_PROGRESS_RIGHT_TO_LEFT' o 'bottom-to-top' / 'GTK_PROGRESS_BOTTOM_TO_TOP' o 'top-to-bottom' / 'GTK_PROGRESS_TOP_TO_BOTTOM' enum Gtk2::ProgressBarStyle o 'continuous' / 'GTK_PROGRESS_CONTINUOUS' o 'discrete' / 'GTK_PROGRESS_DISCRETE' enum Pango::EllipsizeMode o 'none' / 'PANGO_ELLIPSIZE_NONE' o 'start' / 'PANGO_ELLIPSIZE_START' o 'middle' / 'PANGO_ELLIPSIZE_MIDDLE' o 'end' / 'PANGO_ELLIPSIZE_END' SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Glib::Object::_Unregistered::GtkProgress COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.12.1 2010-07-05 Gtk2::ProgressBar(3)
All times are GMT -4. The time now is 11:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy