mirror of https://github.com/BOINC/boinc.git
- admin web: allow setting per-app HR class
svn path=/trunk/boinc/; revision=20086
This commit is contained in:
parent
ac3adff1d7
commit
31ca27bf6b
|
@ -11,12 +11,12 @@ David 4 Jan 2010
|
|||
news.inc
|
||||
|
||||
David 4 Jan 2010
|
||||
- client: RSS feed stuff
|
||||
- client: RSS feed stuff
|
||||
|
||||
client/
|
||||
cs_notice.cpp,h
|
||||
lib/
|
||||
notice.cpp
|
||||
client/
|
||||
cs_notice.cpp,h
|
||||
lib/
|
||||
notice.cpp
|
||||
|
||||
Rom 4 Jan 2010
|
||||
- lib: fixup notice RPCs to make them manager compatible.
|
||||
|
@ -142,8 +142,14 @@ David 6 Jan 2010
|
|||
work_fetch.cpp
|
||||
|
||||
David 6 Jan 2010
|
||||
- client: notice fixes
|
||||
- client: notice fixes
|
||||
|
||||
client/
|
||||
client_state.cpp
|
||||
cs_notice.cpp,h
|
||||
client/
|
||||
client_state.cpp
|
||||
cs_notice.cpp,h
|
||||
|
||||
David 6 Jan 2010
|
||||
- admin web: allow setting per-app HR class
|
||||
|
||||
html/ops/
|
||||
manage_apps.php
|
||||
|
|
|
@ -107,7 +107,7 @@ if( !empty($_POST) ) {
|
|||
|
||||
/* Homogendous redundancy restriction (same platform for all WU's) */
|
||||
$field="homogeneous_redundancy_".$id;
|
||||
$new_v= ($_POST[$field]=='on') ? 1 : 0;
|
||||
$new_v= $_POST[$field];
|
||||
$old_v=$item->homogeneous_redundancy;
|
||||
if( $new_v != $old_v ) {
|
||||
$cmd = "UPDATE app SET homogeneous_redundancy=$new_v WHERE id=$id";
|
||||
|
@ -160,7 +160,7 @@ echo "<TR><TH>ID #</TH>
|
|||
<TH>Creation<br>Time</TH>
|
||||
<TH>minimum<br>version</TH>
|
||||
<TH>weight</TH>
|
||||
<TH>Homogeneous<br>Redundancy</TH>
|
||||
<TH>homogeneous<br>redundancy<br>class (0=none)</TH>
|
||||
<TH>deprecated?</TH>
|
||||
<TH>DELETE?<sup>*</sup>
|
||||
</TH>
|
||||
|
@ -203,10 +203,10 @@ for($j=1;$j<=$Nrow;$j++){
|
|||
|
||||
|
||||
$field="homogeneous_redundancy_".$id;
|
||||
$v='';
|
||||
if( $item->homogeneous_redundancy ) $v=' CHECKED ';
|
||||
$v = $item->homogeneous_redundancy;
|
||||
echo " <TD align='center'>
|
||||
<input name='$field' type='checkbox' $v></TD>\n";
|
||||
<input name='$field' value='$v'></TD>
|
||||
";
|
||||
|
||||
$field="deprecated_".$id;
|
||||
$v='';
|
||||
|
|
Loading…
Reference in New Issue