- (void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath {
ServerDescriptionView *serverDescriptionView = [[ServerDescriptionView alloc] initWithNibName:@"ServerDescriptionView" bundle:nil];
serverDescriptionView.profile = profile.agencyPolicyName;
ServerActiveServerView *serverActiveServerView = [[ServerActiveServerView alloc] initWithNibName:@"ServerActiveServerView" bundle:nil];
serverActiveServerView.profile = profile.agencyPolicyName;
switch (indexPath.section) {
case 1:
switch (indexPath.row) {
case 0:
// Description
[[self navigationController] pushViewController:serverDescriptionView animated:YES];
[serverDescriptionView release];
break;
case 1:
// Active Server
[[self navigationController] pushViewController:serverActiveServerView animated:YES];
[serverActiveServerView release];
break;
}
break;
case 2:
switch (indexPath.row) {
case 0:
// Server Power
break;
case 1:
// Unbind from the Template
break;
case 2:
// Reset UUID
break;
}
}
}