[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:45:45 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=532111b
The following commit has been merged in the master branch:
commit 532111bd06b5622b538267a8ec4aa8bc4b082c19
Author: Robin Mills <robin at clanmills.com>
Date: Wed Sep 16 15:59:11 2015 +0000
#1109 More UI/JavaScript refinement to enable/disable the reset button.
---
website/buildServer.html | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/website/buildServer.html b/website/buildServer.html
index d3ca19b..68108ab 100644
--- a/website/buildServer.html
+++ b/website/buildServer.html
@@ -123,12 +123,23 @@ a:hover { background-color : cyan ; }
B *= t('native') + t('clang'); // compiler
B *= t('release') + t('debug'); // configuration
- // overall estimate
+ // overall estimate
E *= B;
+ // enable/disable "build"
document.getElementsByName('estimate')[0].innerHTML = Math.round(E).toString();
document.getElementsByName('build' )[0].disabled = E == 0 ;
+ // disable "reset"
+ var disabled = true ;
+ for ( var i = 0 ; disabled && i < inputs.length ; i++ )
+ if ( inputs[i].checked )
+ disabled = inputs[i].name in checked;
+ for ( var i = 0 ; disabled && i < options.length ; i++ )
+ if ( options[i].selected )
+ disabled = options[i].value in selected;
+ document.getElementsByName('reset' )[0].disabled = disabled;
+
return E;
}
@@ -155,7 +166,7 @@ a:hover { background-color : cyan ; }
<form action=""><table padding="12" border="0">
<tr><td colspan=10><hr></td></tr><tr>
- <th>Branch: </th><td><select>
+ <th>Branch: </th><td><select onclick="e()">
<option value="conversions" >Conversions</option>
<option value="jenkins" >Jenkins</option>
<option value="trunk" >Trunk</option>
@@ -163,7 +174,7 @@ a:hover { background-color : cyan ; }
<option value="videorefactoring">Videow-refactoring</option>
</select></td>
<th>Revision: </th>
- <td><select>
+ <td><select onclick="e()">
<option value="head">HEAD</option>
<option value="revision">Revision...</option>
<option value="date">Date...</option>
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list