Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
osticket
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
docker
osticket
Commits
6ffc14d8
Commit
6ffc14d8
authored
10 years ago
by
Jared Hancock
Browse files
Options
Downloads
Patches
Plain Diff
Fixup layout of advanced search dialog
parent
d5428413
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/class.forms.php
+0
-2
0 additions, 2 deletions
include/class.forms.php
include/staff/tickets.inc.php
+17
-11
17 additions, 11 deletions
include/staff/tickets.inc.php
scp/css/scp.css
+23
-8
23 additions, 8 deletions
scp/css/scp.css
with
40 additions
and
21 deletions
include/class.forms.php
+
0
−
2
View file @
6ffc14d8
...
...
@@ -1277,7 +1277,6 @@ class ChoicesWidget extends Widget {
$values
=
$have_def
?
array
(
$def_key
=>
$choices
[
$def_key
])
:
array
();
?>
<span
style=
"display:inline-block"
>
<select
name=
"
<?php
echo
$this
->
name
;
?>
[]"
id=
"
<?php
echo
$this
->
name
;
?>
"
data-prompt=
"
<?php
echo
$prompt
;
?>
"
...
...
@@ -1295,7 +1294,6 @@ class ChoicesWidget extends Widget {
?>
>
<?php
echo
$name
;
?>
</option>
<?php
}
?>
</select>
</span>
<?php
if
(
$config
[
'multiselect'
])
{
?>
...
...
This diff is collapsed.
Click to expand it.
include/staff/tickets.inc.php
+
17
−
11
View file @
6ffc14d8
...
...
@@ -564,13 +564,13 @@ if ($results) {
<div
class=
"dialog"
style=
"display:none;"
id=
"advanced-search"
>
<h3>
<?php
echo
__
(
'Advanced Ticket Search'
);
?>
</h3>
<a
class=
"close"
href=
""
><i
class=
"icon-remove-circle"
></i></a>
<hr/>
<form
action=
"tickets.php"
method=
"post"
id=
"search"
name=
"search"
>
<input
type=
"hidden"
name=
"a"
value=
"search"
>
<fieldset
class=
"query"
>
<label
for=
"query"
>
<?php
echo
__
(
'Keyword'
);
?>
:
</label>
<input
type=
"input"
id=
"query"
name=
"query"
size=
"20"
>
<em>
<?php
echo
__
(
'Optional'
);
?>
</em>
<input
type=
"input"
id=
"query"
name=
"query"
size=
"20"
placeholder=
"
<?php
echo
__
(
'Keywords'
)
.
' — '
.
__
(
'Optional'
);
?>
"
>
</fieldset>
<fieldset>
<fieldset
class=
"span6"
>
<label
for=
"status"
>
<?php
echo
__
(
'Status'
);
?>
:
</label>
<select
id=
"status"
name=
"status"
>
<option
value=
""
>
—
<?php
echo
__
(
'Any Status'
);
?>
—
</option>
...
...
@@ -583,6 +583,8 @@ if ($results) {
<option
value=
"overdue"
>
<?php
echo
__
(
'Overdue'
);
?>
</option>
<option
value=
"closed"
>
<?php
echo
__
(
'Closed'
);
?>
</option>
</select>
</fieldset>
<fieldset
class=
"span6"
>
<label
for=
"deptId"
>
<?php
echo
__
(
'Dept'
);
?>
:
</label>
<select
id=
"deptId"
name=
"deptId"
>
<option
value=
""
>
—
<?php
echo
__
(
'All Departments'
);
?>
—
</option>
...
...
@@ -596,7 +598,7 @@ if ($results) {
?>
</select>
</fieldset>
<fieldset
class=
"owner"
>
<fieldset
class=
"owner
span6
"
>
<label
for=
"assignee"
>
<?php
echo
__
(
'Assigned To'
);
?>
:
</label>
<select
id=
"assignee"
name=
"assignee"
>
<option
value=
""
>
—
<?php
echo
__
(
'Anyone'
);
?>
—
</option>
...
...
@@ -622,6 +624,8 @@ if ($results) {
}
?>
</select>
</fieldset>
<fieldset
class=
"owner span6"
>
<label
for=
"staffId"
>
<?php
echo
__
(
'Closed By'
);
?>
:
</label>
<select
id=
"staffId"
name=
"staffId"
>
<option
value=
"0"
>
—
<?php
echo
__
(
'Anyone'
);
?>
—
</option>
...
...
@@ -634,7 +638,7 @@ if ($results) {
?>
</select>
</fieldset>
<fieldset>
<fieldset
class=
"span6"
>
<label
for=
"topicId"
>
<?php
echo
__
(
'Help Topic'
);
?>
:
</label>
<select
id=
"topicId"
name=
"topicId"
>
<option
value=
""
selected
>
—
<?php
echo
__
(
'All Help Topics'
);
?>
—
</option>
...
...
@@ -649,24 +653,26 @@ if ($results) {
<fieldset
class=
"date_range"
>
<label>
<?php
echo
__
(
'Date Range'
);
?>
:
</label>
<input
class=
"dp"
type=
"input"
size=
"20"
name=
"startDate"
>
<span>
<?php
echo
__
(
'TO'
);
?>
</span>
<span
class=
"between"
>
<?php
echo
__
(
'TO'
);
?>
</span>
<input
class=
"dp"
type=
"input"
size=
"20"
name=
"endDate"
>
</fieldset>
<fieldset>
<?php
foreach
(
TicketForm
::
getInstance
()
->
getFields
()
as
$f
)
{
if
(
in_array
(
$f
->
get
(
'type'
),
array
(
'text'
,
'memo'
,
'phone'
,
'thread'
)))
continue
;
elseif
(
!
$f
->
hasData
())
continue
;
?>
<
label>
<?php
echo
$f
->
getLabel
();
?>
:
</label
>
<div
style=
"display:inline-block;width: 12.5em;"
>
<?php
?>
<
fieldset
class=
"span6"
>
<label>
<?php
echo
$f
->
getLabel
();
?>
:
</label><div
>
<?php
$f
->
render
(
'search'
);
?>
</div>
</fieldset>
<?php
}
?>
<
/fieldset
>
<
hr/
>
<p>
<span
class=
"buttons"
>
<span
class=
"buttons
pull-right
"
>
<input
type=
"submit"
value=
"
<?php
echo
__
(
'Search'
);
?>
"
>
</span>
<span
class=
"buttons pull-left"
>
<input
type=
"reset"
value=
"
<?php
echo
__
(
'Reset'
);
?>
"
>
<input
type=
"button"
value=
"
<?php
echo
__
(
'Cancel'
);
?>
"
class=
"close"
>
</span>
...
...
This diff is collapsed.
Click to expand it.
scp/css/scp.css
+
23
−
8
View file @
6ffc14d8
...
...
@@ -1429,12 +1429,7 @@ time {
background
:
#fff
;
}
.dialog
fieldset
select
{
width
:
170px
;
display
:
inline-block
;
}
.dialog
fieldset
span
{
.dialog
fieldset
span
.between
{
width
:
50px
;
display
:
inline-block
;
text-align
:
center
;
...
...
@@ -1452,12 +1447,32 @@ time {
cursor
:
crosshair
;
}
#advanced-search
fieldset
.span6
{
display
:
inline-block
;
width
:
49%
;
margin-bottom
:
5px
;
}
#advanced-search
fieldset
label
{
display
:
block
;
}
#advanced-search
fieldset
.span6
select
,
#advanced-search
fieldset
.span6
input
{
max-width
:
100%
;
min-width
:
75%
;
}
#advanced-search
.query
input
{
width
:
350px
;
width
:
100%
;
padding
:
4px
;
margin-bottom
:
10px
;
}
#advanced-search
.date_range
{
margin-bottom
:
5px
;
}
#advanced-search
.date_range
input
{
width
:
175px
;
width
:
227px
;
width
:
calc
(
49%
-
73px
);
}
#advanced-search
.date_range
i
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment