Browse Source

#136 Update javascript / CSS

tags/v2.0.0
Mike Koch 4 years ago
parent
commit
ff355bdf31
3 changed files with 7 additions and 7 deletions
  1. 4
    4
      hesk_javascript.js
  2. 2
    2
      hesk_style.css
  3. 1
    1
      hesk_style_RTL.css

+ 4
- 4
hesk_javascript.js View File

@@ -1,11 +1,11 @@
/*******************************************************************************
* Title: Help Desk Software HESK
* Version: 2.6.0 beta 1 from 30th December 2014
* Version: 2.6.0 from 22nd February 2015
* Author: Klemen Stirn
* Website: http://www.hesk.com
********************************************************************************
* COPYRIGHT AND TRADEMARK NOTICE
* Copyright 2005-2014 Klemen Stirn. All Rights Reserved.
* Copyright 2005-2015 Klemen Stirn. All Rights Reserved.
* HESK is a registered trademark of Klemen Stirn.

* The HESK may be used and modified free of charge by anyone
@@ -323,7 +323,7 @@ function hesk_checkPassword(password)
var numbers = "0123456789";
var lowercase = "abcdefghijklmnopqrstuvwxyz";
var uppercase = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
var punctuation = "!.@$L#*()%~<>{}[]";
var punctuation = "!.@$#*()%~<>{}[]";

var combinations = 0;

@@ -346,7 +346,7 @@ function hesk_checkPassword(password)
var totalCombinations = Math.pow(combinations, password.length);
var timeInSeconds = (totalCombinations / 200) / 2;
var timeInDays = timeInSeconds / 86400
var lifetime = 3650;
var lifetime = 365000;
var percentage = timeInDays / lifetime;

var friendlyPercentage = hesk_cap(Math.round(percentage * 100), 98);

+ 2
- 2
hesk_style.css View File

@@ -485,8 +485,8 @@ div.success {
}

div.notice {
border: 1px solid #fcefa1;
background: #fbf9ee;
border: 1px solid #fcefa1;
background: #fff9de;
color: #363636;
padding: 10px;
vertical-align: middle;

+ 1
- 1
hesk_style_RTL.css View File

@@ -486,7 +486,7 @@ div.success {

div.notice {
border: 1px solid #fcefa1;
background: #fbf9ee;
background: #fff9de;
color: #363636;
padding: 10px;
vertical-align: middle;

Loading…
Cancel
Save