Skip to content

Instantly share code, notes, and snippets.

@styson
Created July 15, 2010 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save styson/72e37b4e7469adaad9b5 to your computer and use it in GitHub Desktop.
Save styson/72e37b4e7469adaad9b5 to your computer and use it in GitHub Desktop.
<% @ language="JavaScript" %>
<%
///////////////////////////////////////////////////////////////////////////////
// Product : Dovetail Admin
//
// Series : Dovetail Software Web Series(tm)
//
// Name : workgroups.asp
//
// Description : Manage Workgroups Page
//
// Author : Dovetail Software Software, Inc.
// 4807 Spicewood Springs Rd., Building 4, Suite 200
// Austin, TX 78759
// (512) 610-5400
// EMAIL: support@dovetailsoftware.com
// www.dovetailsoftware.com
//
// Platforms : This version supports Clarify 4.5 and later
//
// Copyright (C) 2010 Dovetail Software Software, Inc.
// All Rights Reserved.
///////////////////////////////////////////////////////////////////////////////
%>
<!--#include file="../include/inc_page_init.asp"-->
<!--#include file="../include/inc_utility.asp"-->
<html>
<head>
<title>Manage Workgroups</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="../stylesheets/webagent.css" type="text/css">
<style>
#workgroup_name { margin:0 1em 0 4em;width:200px; }
#workgroups { margin:.5em 0;width:700px;height:200px; }
#workgroupGrid { width:700px;height:430px; }
h5 { margin:0 0 .2em 0;font-size:1em; }
h5.inline { display:inline; }
a { text-decoration:underline; }
</style>
<script language="javascript">
function List() {
$("#workgroups").attr("src", "grid_workgroup.asp?action=" + $("#action").val() + "&name=" + $("#workgroup_name").val());
$("#workgroup_objid").val(0);
FillWorkgroup();
}
function FillWorkgroup() {
$("#workgroupGrid").attr("src", "workgroup.asp?objid=" + $("#workgroup_objid").val());
}
$(function(){
$(".enterKey").keypress(function(e) { if(e.keyCode == 13) List(); });
$("#workgroup_name").focus();
});
</script>
</head>
<!--#include FILE="../include/HeaderInc.htm"-->
<h3>Manage Workgroups</h3>
<h5>List workgroups whose:</h5>
<h5 class="inline">Name starts with:</h5>
<input type="text" id="workgroup_name" class="enterKey" />
<a id="list" href="" onclick="List();return false;">List</a>
<iframe id="workgroups" src="../include/blank.htm"></iframe>
<h5>Workgroup:</h5>
<iframe id="workgroupGrid" src="workgroup.asp?objid=0"></iframe>
<input type="hidden" id="workgroup_objid" value="" />
<a id="SelRow" href="" onclick="FillWorkgroup();return false;"></a>
</div>
<!--#include FILE="../nav/nav.htm"-->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment