Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
VIPSLogic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS
VIPSLogic
Commits
0d7a91b8
Commit
0d7a91b8
authored
4 years ago
by
Tor-Einar Skog
Browse files
Options
Downloads
Patches
Plain Diff
First commit
parent
0d89e076
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/webapp/templates/modules/barkbeetle/barkbeetleTimeseriesCalculation.ftl
+75
-0
75 additions, 0 deletions
...es/modules/barkbeetle/barkbeetleTimeseriesCalculation.ftl
with
75 additions
and
0 deletions
src/main/webapp/templates/modules/barkbeetle/barkbeetleTimeseriesCalculation.ftl
0 → 100644
+
75
−
0
View file @
0d7a91b8
<#--
Copyright (c) 2020 NIBIO <http://www.nibio.no/>.
This file is part of VIPSLogic.
VIPSLogic is free software: you can redistribute it and/or modify
it under the terms of the NIBIO Open Source License as published by
NIBIO, either version 1 of the License, or (at your option) any
later version.
VIPSLogic is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
NIBIO Open Source License for more details.
You should have received a copy of the NIBIO Open Source License
along with VIPSLogic. If not, see <http://www.nibio.no/licenses/>.
--><#
include
"../../master.ftl">
<#
macro
page_head>
<title>Barkbilleovervåking: Beregn fylkesvise fangsttall for sesongen $
{
season
}
</title>
</#
macro
>
<#
macro
page_contents>
<#
if
messageKey?has_content && messageKey=="storeOK">
<div class="alert alert-success">Fangsttall for sesongen $
{
season
}
ble lagret og publisert</div>
</#if>
<h1>Barkbilleovervåking</h1>
<
h2
>
Beregn
fylkesvise fangsttall for sesongen $
{
season
}
</h2>
<
div
class="form-inline">
<div class="form-group">
Velg sesong <select class="form-control" onchange="window.location.href='/barkbeetle?season=' + this.options[this.selectedIndex].value;">
<#list firstAvailableSeason..lastAvailableSeason as availableSeason>
<option value="$
{
availableSeason
}
" <#if availableSeason==season>selected</#if>>$
{
availableSeason
}
</option>
</#list>
</select>
<div class="alert alert-warning"><i class="fa fa-arrow-up"></i> <span style="font-weight: bold; font-style: italic;">Pass på at du har valgt rett sesong!</span></div>
</div>
</
div
>
<
div
class="row">
<div class="col-md-12">
Si noe fornuftig her
</div>
</
div
>
<
div
class="singleBlockContainer">
<div class="row">
<table class="table table-striped">
</table>
</div>
</
div
>
</#
macro
>
<#
macro
custom_js>
<script type="text/javascript" src="/js/constants.js"></script>
<script type="text/javascript" src="/js/3rdparty/ol.js"></script>
<script type="text/javascript" src="/js/modules/barkbeetle/seasonTrapsiteListMap.js"></script>
<
script
type="text/javascript">
$(
document
)
.ready
(
function
()
{
//
C
heck
for
I
nternet
E
xplorer
var
ua
=
window
.navigator.userAgent
;
//
console
.info
(
ua
)
;
if
(
ua
.indexOf
(
"MSIE "
)
>=
0
||
navigator
.userAgent.match
(
/
T
rident
.
*
rv
\
:
11
\./
))
{
alert
(
"Hei! Det ser ut som du bruker Internet Explorer. Vi anbefaler Firefox, Edge eller Chrome når du er på denne nettsiden."
)
;
return
;
}
}
);
</
script
>
</#
macro
>
<#
macro
custom_css>
<style type="text/css">
</style>
</#
macro
>
<@
page_html
/>
\ No newline at end of file
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