Tags:
component1Add my vote for this tag forms1Add my vote for this tag rating1Add my vote for this tag twiki_application1Add my vote for this tag twiki_form_field1Add my vote for this tag create new tag
view all tags

Percent Complete Plugin

Percent complete screenshot
Percent complete selector, for use in TWiki forms and TWiki applications

Introduction

This TWiki plugin package adds a percent complete selector to TWiki forms and TWiki applications. The percentage can be set by clicking on the indicator bar, or by picking a value from the pick list. Percent values are in range 0% to 100%, and rounded to nearest 10% if needed.

Use Percent Selector in TWikiForms

This package adds a percent type to TWikiForms:

Type Description Size Value
percent screenshot-small Percent complete indicator and pick list. The percentage can be set by clicking on the percent complete indicator bar, or by picking a value from the pick list. N/A Initial (default) percentage value

Example form definition:

Name: Type: Size Values: Tooltip message:
Progress percent     Select percent complete

Use Percent Selector in HTML Forms

You can also use the percent complete selector directly in your HTML forms, without having to write any code. Just include this in the topic text:

<form action="...">
%PERCENTCOMPLETE{ name="Progress" value="60" }%
<form>
This will show an HTML selector named "Progress" and a percent complete indicator bar tied to it.

Parameter Description Default Example
name Name of selector (required) name="Progress"
value Initial value, range 0 to 100. "0" value="70"

Test: (this only works if the PercentCompletePlugin is installed and enabled)

Installation Instructions

  • For an automated installation, run the configure script and follow "Find More Extensions" in the in the Extensions section.

  • Or, follow these manual installation steps:
    • Download the ZIP file from the extension home on twiki.org (see below).
    • Unzip PercentCompletePlugin.zip in your twiki installation directory.
    • Set the ownership of the extracted directories and files to the webserver user.
    • Install the dependencies (if any).

  • Plugin configuration and testing:
    • Run the configure script and enable the plugin in the Plugins section.
    • Configure additional plugin settings in the Extensions section if needed.
    • Test if the installation was successful using the examples provided.

Plugin Info

  • Set SHORTDESCRIPTION = Percent complete selector, for use in TWiki forms and TWiki applications

Author: TWiki:Main.PeterThoeny, TWiki.org
Copyright: © 2012-2015 TWiki:Main.PeterThoeny;
© 2012-2015 TWiki:TWiki.TWikiContributor
License: GPL (GNU General Public License)
Dependencies:
NameVersionDescription
TWiki::Plugins::JQueryPlugin>=1.0Required; pre-installed in TWiki-5; download from TWiki:Plugins/JQueryPlugin
Version: 2015-05-29
Change History:  
2015-05-29: TWikibug:Item7604: Switch from GPL v2 to v3
2014-12-11: TWikibug:Item7577: TWiki form field type with configure attributes
2012-12-05: TWikibug:Item7020: Add VarPERCENTCOMPLETE variable doc topic with category
2012-08-10: TWikibug:Item6907: Initial version of PercentCompletePlugin
Home: http://TWiki.org/cgi-bin/view/Plugins/PercentCompletePlugin
Feedback: http://TWiki.org/cgi-bin/view/Plugins/PercentCompletePluginDev
Appraisal: http://TWiki.org/cgi-bin/view/Plugins/PercentCompletePluginAppraisal

Related Topics: VarPERCENTCOMPLETE, TWikiPreferences, TWikiForms, TWikiPlugins

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatmd5 PercentCompletePlugin.md5 r6 r5 r4 r3 r2 manage 0.2 K 2015-05-29 - 19:56 PeterThoeny  
Compressed Zip archivetgz PercentCompletePlugin.tgz r6 r5 r4 r3 r2 manage 32.0 K 2015-05-29 - 19:56 PeterThoeny  
Compressed Zip archivezip PercentCompletePlugin.zip r6 r5 r4 r3 r2 manage 50.5 K 2015-05-29 - 19:56 PeterThoeny  
Unknown file formatext PercentCompletePlugin_installer r3 r2 r1 manage 4.9 K 2015-05-29 - 19:56 PeterThoeny  
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2018-07-17 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.