[Stacomir-commits] r429 - in www: . images
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Jun 26 00:06:31 CEST 2017
Author: timothee_besse
Date: 2017-06-26 00:06:30 +0200 (Mon, 26 Jun 2017)
New Revision: 429
Added:
www/images/icon.png
www/images/video.png
www/index2.php
www/rssclass.php
www/styles.css
Log:
alt
Added: www/images/icon.png
===================================================================
(Binary files differ)
Property changes on: www/images/icon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: www/images/video.png
===================================================================
(Binary files differ)
Property changes on: www/images/video.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: www/index2.php
===================================================================
--- www/index2.php (rev 0)
+++ www/index2.php 2017-06-25 22:06:30 UTC (rev 429)
@@ -0,0 +1,151 @@
+<!doctype html>
+<!--
+ Material Design Lite
+ Copyright 2015 Google Inc. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ https://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License
+-->
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="description" content="A front-end template that helps you build fast, modern mobile web apps.">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
+ <title>StacomiR package homepage</title>
+
+ <link rel="shortcut icon" href="images/favicon.png">
+
+ <!-- SEO: If your mobile URL is different from the desktop URL, add a canonical link to the desktop page https://developers.google.com/webmasters/smartphone-sites/feature-phones -->
+ <!--
+ <link rel="canonical" href="http://www.example.com/">
+ -->
+
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en">
+ <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
+ <link rel="stylesheet" href="$$hosted_libs_prefix$$/$$version$$/material.cyan-light_blue.min.css">
+ <link rel="stylesheet" href="styles.css">
+
+ <!-- Style Material Design -->
+ <link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.6/material.indigo-pink.min.css">
+ <script src="https://storage.googleapis.com/code.getmdl.io/1.0.6/material.min.js"></script>
+ <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
+ <style>
+ #view-source {
+ position: fixed;
+ display: block;
+ right: 0;
+ bottom: 0;
+ margin-right: 40px;
+ margin-bottom: 40px;
+ z-index: 900;
+ }
+ </style>
+ </head>
+ <body>
+ <div class="demo-layout mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
+ <header class="demo-header mdl-layout__header mdl-color--grey-100 mdl-color-text--grey-600">
+ <div class="mdl-layout__header-row">
+ <span class="mdl-layout-title">StacomiR Project</span>
+ <div class="mdl-layout-spacer"></div>
+ <button class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon" id="hdrbtn">
+ <i class="material-icons">more_vert</i>
+ </button>
+ <ul class="mdl-menu mdl-js-menu mdl-js-ripple-effect mdl-menu--bottom-right" for="hdrbtn">
+ <li class="mdl-menu__item">About</li>
+ <li class="mdl-menu__item">Contact</li>
+ </ul>
+ </div>
+ </header>
+ <div class="demo-drawer mdl-layout__drawer mdl-color--blue-grey-900 mdl-color-text--blue-grey-50">
+ <header class="demo-drawer-header">
+ <img src="images/icon.png" class="demo-avatar">
+ <div class="demo-avatar-dropdown">
+ <span>stacomiR</span>
+ <div class="mdl-layout-spacer"></div>
+ <button id="accbtn" class="mdl-button mdl-js-button mdl-js-ripple-effect mdl-button--icon">
+ <i class="material-icons" role="presentation">arrow_drop_down</i>
+ <span class="visuallyhidden">Packages CRAN</span>
+ </button>
+ <ul class="mdl-menu mdl-menu--bottom-right mdl-js-menu mdl-js-ripple-effect" for="accbtn">
+ <li class="mdl-menu__item"><a href="https://cran.r-project.org/package=stacomirtools">stacomirtools</a></li>
+ </ul>
+ </div>
+ </header>
+ <nav class="demo-navigation mdl-navigation mdl-color--blue-grey-800">
+ <a class="mdl-navigation__link" href="https://r-forge.r-project.org/projects/stacomir/"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">home</i>R-forge page</a>
+ <a class="mdl-navigation__link" href="https://r-forge.r-project.org/scm/?group_id=1019"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">inbox</i>SCM</a>
+ <a class="mdl-navigation__link" href="https://r-forge.r-project.org/forum/?group_id=1019"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">forum</i>Forums</a>
+ <a class="mdl-navigation__link" href=""><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">flag</i>Updates</a>
+ <a class="mdl-navigation__link" href="https://r-forge.r-project.org/project/memberlist.php?group_id=1019"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">people</i>Members</a>
+ <div class="mdl-layout-spacer"></div>
+ <a class="mdl-navigation__link" href="https://r-forge.r-project.org/forum/forum.php?forum_id=3265&group_id=1019"><i class="mdl-color-text--blue-grey-400 material-icons" role="presentation">help_outline</i><span class="visuallyhidden">Help forum</span></a>
+ </nav>
+ </div>
+ <main class="mdl-layout__content mdl-color--grey-100">
+ <div class="mdl-grid demo-content">
+ <div class=" mdl-color--white mdl-shadow--2dp mdl-cell mdl-cell--12-col mdl-grid">
+ <div class="mdl-card__supporting-text mdl-color-text--grey-600">
+ <?php if ($handle=fopen('http://'.$domain.'/export/projtitl.php?group_name='.$group_name,'r')){
+ $contents = '';
+ while (!feof($handle)) {
+ $contents .= fread($handle, 8192);
+ }
+ fclose($handle);
+ echo $contents; } ?>
+ </div>
+ </div>
+ <div class="mdl-shadow--2dp mdl-color--white mdl-cell mdl-cell--8-col">
+ <div class="mdl-card__supporting-text mdl-color-text--grey-600">
+ <p>Migratory fishes move upstream or downsteam in the rivers. Monitoring stations, often located on fishways installed on dams, provide counts of migrants, and those are usefull to stock management.</p>
+ <p>The objective of the STACOMI project is to provide a database along with data treatment and a tool to import or type down fishes number. The stacomiR package offers standardized treatments for migration monitoring stations</p>
+
+ <ul>
+ <li>Migration overview for one or several species, and stages.</li>
+ <li>Migration analysed with environmental conditions</li>
+ <li>Weight / number conversion for glass eel</li>
+ <li>Silver eel migration analysis, along with maturation analysis</li>
+ <li>Size-age conversion for salmon</li>
+ <li>Analysis of fish characteristics (size, weight, sex…)</li>
+ <li>Crossed analysis of quantitative and/or qualitative characteristics and migration</li>
+ <li>Seasonality analysis, comparison of the annual migration with historical values</li>
+ <li>Fishway and counting device operation</li>
+ </ul>
+
+ <p>To work with stacomi, you’ll need a database, and an installation of the program and java interface. Please contact the authors if you are interested in the project.<p>
+
+ <p>Cédric Briand EPTB Vilaine <a href="mailto:cedric.briand at eptb-vilaine.fr">cedric.briand at eptb-vilaine.fr</a><br/>
+ Timothée Besse LOGRAMI <a href="mailto:timothee.besse at logrami.fr">timothee.besse at logrami.fr</a><br/>
+ Marion Legrand LOGRAMI <a href="mailto:marion.legrand at logrami.fr">marion.legrand at logrami.fr</a></p>
+ <img src="images/stacomi.png" style="max-width: 100%;">
+ </div>
+ </div>
+ <div class="demo-cards mdl-cell mdl-cell--4-col mdl-cell--8-col-tablet mdl-grid mdl-grid--no-spacing">
+ <div class="demo-updates mdl-card mdl-shadow--2dp mdl-cell mdl-cell--4-col mdl-cell--4-col-tablet mdl-cell--12-col-desktop">
+ <?PHP
+ include('rssclass.php');
+ $feedlist = new rss('http://www.migrateurs-loire.fr/feed/');
+ echo $feedlist->display(9,"TRAC RSS");
+ ?>
+ <div class="mdl-card__actions mdl-card--border">
+ <a href="#" class="mdl-button mdl-js-button mdl-js-ripple-effect">Open TRAC</a>
+ </div>
+ </div>
+
+ </div>
+ </div>
+ </main>
+ </div>
+ <script src="$$hosted_libs_prefix$$/$$version$$/material.min.js"></script>
+ </body>
+ </html>
+
\ No newline at end of file
Added: www/rssclass.php
===================================================================
--- www/rssclass.php (rev 0)
+++ www/rssclass.php 2017-06-25 22:06:30 UTC (rev 429)
@@ -0,0 +1,48 @@
+<?php
+ class rss {
+ var $feed;
+
+ function rss($feed)
+ { $this->feed = $feed; }
+
+ function parse()
+ {
+ $rss = simplexml_load_file($this->feed);
+
+ $rss_split = array();
+ foreach ($rss->channel->item as $item) {
+ $title = (string) $item->title; // Title
+ $link = (string) $item->link; // Url Link
+ $description = (string) $item->description; //Description
+ $rss_split[] = '<li class="mdl-list__item">
+ <span class="mdl-list__item-primary-content"><a href="'.$link.'" target="_blank" title="" >
+ '.$title.'
+ </a></span>
+ </li>
+ ';
+ }
+ return $rss_split;
+ }
+ function display($numrows,$head)
+ {
+ $rss_split = $this->parse();
+
+ $i = 0;
+ $rss_data = '
+ <div class="mdl-card__title mdl-card--expand mdl-color--teal-300">
+ <h2 class="mdl-card__title-text">'.$head.'</h2>
+ </div>
+ <div class="mdl-card__supporting-text mdl-color-text--grey-600">
+ <ul class="demo-list-item mdl-list">';
+ while ( $i < $numrows )
+ {
+ $rss_data .= $rss_split[$i];
+ $i++;
+ }
+ $trim = str_replace('', '',$this->feed);
+ $user = str_replace('&lang=en-us&format=rss_200','',$trim);
+ $rss_data.='</ul></div>';
+ return $rss_data;
+ }
+ }
+?>
\ No newline at end of file
Added: www/styles.css
===================================================================
--- www/styles.css (rev 0)
+++ www/styles.css 2017-06-25 22:06:30 UTC (rev 429)
@@ -0,0 +1,175 @@
+/**
+ * Copyright 2015 Google Inc. All Rights Reserved.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+html, body {
+ font-family: 'Roboto', 'Helvetica', sans-serif;
+}
+.demo-avatar {
+ width: 48px;
+ height: 48px;
+ border-radius: 24px;
+}
+.demo-layout .mdl-layout__header .mdl-layout__drawer-button {
+ color: rgba(0, 0, 0, 0.54);
+}
+.mdl-layout__drawer .avatar {
+ margin-bottom: 16px;
+}
+.demo-drawer {
+ border: none;
+}
+/* iOS Safari specific workaround */
+.demo-drawer .mdl-menu__container {
+ z-index: -1;
+}
+.demo-drawer .demo-navigation {
+ z-index: -2;
+}
+/* END iOS Safari specific workaround */
+.demo-drawer .mdl-menu .mdl-menu__item {
+ display: flex;
+ align-items: center;
+}
+.demo-drawer-header {
+ box-sizing: border-box;
+ display: flex;
+ flex-direction: column;
+ justify-content: flex-end;
+ padding: 16px;
+ height: 151px;
+}
+.demo-avatar-dropdown {
+ display: flex;
+ position: relative;
+ flex-direction: row;
+ align-items: center;
+ width: 100%;
+}
+
+.demo-navigation {
+ flex-grow: 1;
+}
+.demo-layout .demo-navigation .mdl-navigation__link {
+ display: flex !important;
+ flex-direction: row;
+ align-items: center;
+ color: rgba(255, 255, 255, 0.56);
+ font-weight: 500;
+}
+.demo-layout .demo-navigation .mdl-navigation__link:hover {
+ background-color: #00BCD4;
+ color: #37474F;
+}
+.demo-navigation .mdl-navigation__link .material-icons {
+ font-size: 24px;
+ color: rgba(255, 255, 255, 0.56);
+ margin-right: 32px;
+}
+
+.demo-content {
+ max-width: 1080px;
+}
+
+.demo-charts {
+ align-items: center;
+}
+.demo-chart:nth-child(1) {
+ color: #ACEC00;
+}
+.demo-chart:nth-child(2) {
+ color: #00BBD6;
+}
+.demo-chart:nth-child(3) {
+ color: #BA65C9;
+}
+.demo-chart:nth-child(4) {
+ color: #EF3C79;
+}
+.demo-graphs {
+ padding: 16px 32px;
+ display: flex;
+ flex-direction: column;
+ align-items: stretch;
+}
+/* TODO: Find a proper solution to have the graphs
+ * not float around outside their container in IE10/11.
+ * Using a browserhacks.com solution for now.
+ */
+_:-ms-input-placeholder, :root .demo-graphs {
+ min-height: 664px;
+}
+_:-ms-input-placeholder, :root .demo-graph {
+ max-height: 300px;
+}
+/* TODO end */
+.demo-graph:nth-child(1) {
+ color: #00b9d8;
+}
+.demo-graph:nth-child(2) {
+ color: #d9006e;
+}
+
+.demo-cards {
+ align-items: flex-start;
+ align-content: flex-start;
+}
+.demo-cards .demo-separator {
+ height: 32px;
+}
+.demo-cards .mdl-card__title.mdl-card__title {
+ color: white;
+ font-size: 24px;
+ font-weight: 400;
+}
+.demo-cards ul {
+ padding: 0;
+}
+.demo-cards h3 {
+ font-size: 1em;
+}
+.demo-updates .mdl-card__title {
+ min-height: 200px;
+ background-image: url('images/video.png') center / cover;
+ background-position: 90% 100%;
+ background-repeat: no-repeat;
+}
+.demo-cards .mdl-card__actions a {
+ color: #00BCD4;
+ text-decoration: none;
+}
+
+.demo-options h3 {
+ margin: 0;
+}
+.demo-options .mdl-checkbox__box-outline {
+ border-color: rgba(255, 255, 255, 0.89);
+}
+.demo-options ul {
+ margin: 0;
+ list-style-type: none;
+}
+.demo-options li {
+ margin: 4px 0;
+}
+.demo-options .material-icons {
+ color: rgba(255, 255, 255, 0.89);
+}
+.demo-options .mdl-card__actions {
+ height: 64px;
+ display: flex;
+ box-sizing: border-box;
+ align-items: center;
+}
More information about the Stacomir-commits
mailing list