Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduling-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SMASCH
scheduling-system
Commits
331213d9
Commit
331213d9
authored
4 years ago
by
Carlos Vega
Browse files
Options
Downloads
Patches
Plain Diff
addewd comments
parent
ea962911
No related branches found
No related tags found
1 merge request
!250
Virus visit column changes
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
smash/web/static/js/smash.js
+2
-0
2 additions, 0 deletions
smash/web/static/js/smash.js
with
2 additions
and
0 deletions
smash/web/static/js/smash.js
+
2
−
0
View file @
331213d9
...
...
@@ -307,11 +307,13 @@ function createTable(params) {
$
(
this
).
html
(
'
<select style="width:100px" ><option value selected="selected">---</option><option value="true">YES</option><option value="false">NO</option><option value="null">N/A</option><option value="inconclusive">Inconclusive</option></select>
'
);
});
//make columns of virus test date wider
$
(
tableElement
).
find
(
'
tfoot div[name="virus_test_date"]
'
).
each
(
function
()
{
$
(
this
).
css
(
'
width
'
,
'
100px
'
);
$
(
this
).
text
(
''
);
});
//replace the hyphen with non breaking space hyphen to ensure the column names are more readable
$
(
tableElement
).
find
(
'
th:contains("RT-PCR")
'
).
each
(
function
(){
non_breaking_hyphen
=
$
.
parseHTML
(
'
‑
'
);
var
text
=
$
(
this
).
text
().
replace
(
'
-
'
,
$
(
non_breaking_hyphen
).
text
());
...
...
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