-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.php
executable file
·131 lines (124 loc) · 7.23 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?php
require_once './bootstrap.php';
//echo "hi!";
#require_once 'FirePHPCore/fb.php';
// TRUE = disable all output buffering,
// and automatically flush()
// immediately after every print or echo
ob_implicit_flush(TRUE);
$title = "my collection";
$artifactIdsString = "10.1371/journal.pcbi.1000361
20334632
2BAK
GSE2109
10.5061/dryad.1295
http://www.carlboettiger.info/research/lab-notebook
http://www.slideshare.net/phylogenomics/eisenall-hands";
include('./header.php');
?>
<div id="about">
<div class="wrapper">
<p id="tagline">Uncover the invisible impact of research.</p>
<div id="instr">
<p class="howto">Create a collection of research objects you want to track. We'll provide you a report of the total impact of this collection.<br />You can peruse <a href="./collection/MqAnvI">a sample report</a> or check out the most <a id="link-to-recently-shared" href="#twitterfeed">recently shared reports.</a></p>
</div>
</div>
</div><!-- END about -->
<!-- START input -->
<div id="input">
<div class="wrapper">
<div id="importers" class="inputcol">
<h2 class="heading"><span>Collect research objects</span></h2>
<div id="manual-add">
<h3 class="entry-method">Paste object IDs,</h3>
<fieldset id="paste-ids">
<div class="toggler_contents">
<p class="prompt" >Add one DOI, PubMed ID, URL, or other <a target="_blank" href="./about/#whichartifacts">supported identifier</a> per line:</p>
<textarea rows="11" cols="40" id="manual_input" class="artifactList" ><?php echo $artifactIdsString; ?></textarea>
<button class="import-button" id="manual">Add to collection</button>
</div>
</fieldset>
</div>
<div id="pullers">
<h3 clas="entry-method">...or pull object IDs from existing collections.</h3>
<ul>
<li>
<a class="toggler" id="mendeley_profile_toggler" >Mendeley profiles</a><br/>
<div class="toggler_contents" id="mendeley_profile_toggler_contents">
<p class="prompt">http://www.mendeley.com/profiles/</p>
<input id="mendeley_profile_input" name="profileId" type="text" size="20" value="heather-piwowar"/>
<button class="import-button" id="mendeley_profile">Import</button>
</div>
</li>
<li>
<a class="toggler" id="mendeley_group_toggler" >Mendeley groups</a><br/>
<div class="toggler_contents" id="mendeley_group_toggler_contents">
<p class="prompt">http://www.mendeley.com/group/</p>
<input id="mendeley_group_input" name="groupId" type="text" size="20" value="530031"/>
<button class="import-button" id="mendeley_group">Import</button>
</div>
</li>
<li>
<a class="toggler" id="slideshare_toggler" >Slideshare accounts</a><br/>
<div class="toggler_contents" id="slideshare_toggler_contents">
<p class="prompt">http://www.slideshare.net/</p>
<input id="slideshare_profile_input" name="slideshareName" type="text" size="20" value="cavlec"/>
<button class="import-button" id="slideshare_profile">Import</button>
</div>
</li>
<li>
<a class="toggler" id="dryad_toggler" >Dryad dataset authors</a><br/>
<div class="toggler_contents" id="dryad_toggler_contents">
<p class="prompt" title="Fill in the dc:contributor.author value in <em>Show Full Metadata</em> to retrieve a list of datasets">Dryad author name</p>
<input id="dryad_profile_input" name="dryadName" type="text" size="20" value="Otto, Sarah P."/>
<button class="import-button" id="dryad_profile">Import</button>
</div>
</li>
<li>
<a class="toggler" id="pubmed_toggler" >PubMed grants</a><br/>
<div class="toggler_contents" id="pubmed_toggler_contents">
<p class="prompt" title="Fill in a grant number to retrieve publications from PubMed">Grant number</p>
<input id="pubmed_grant_input" name="grantId" type="text" size="20" value="U54-CA121852"/>
<button class="import-button" id="pubmed_grant">Import</button>
</div>
</li>
<li>
<a class="toggler" id="github_users_toggler" >GitHub users</a><br/>
<div class="toggler_contents" id="github_users_toggler_contents">
<p class="prompt">https://github.com/</p>
<input id="github_users_input" name="username" type="text" size="20" value="egonw"/>
<button class="import-button" id="github_users">Import</button>
</div>
</li>
<li>
<a class="toggler" id="github_orgs_toggler">GitHub organizations</a><br/>
<div class="toggler_contents" id="github_orgs_toggler_contents">
<p class="prompt">https://github.com/</p>
<input id="github_orgs_input" name="orgname" type="text" size="20" value="bioperl"/>
<button class="import-button" id="github_orgs">Import</button>
</div>
</li>
</ul>
<div class="something-missing"><p>Something missing on import?<br/> See a list of <a href="./about/#limitations">current limitations.</a> </p></div>
</div>
</div>
<div id="edit-collection" class="inputcol">
<h2 class="heading"><span>...and review your collection:</span></h2>
<p id="artcounter"><span class="count">0</span> objects in this collection <a href="#" id="clear-artifacts">clear</a></p>
<ul id="collection-list"></ul>
</div>
<div id="create-collection" class="inputcol">
<h2 class="heading"><span>Create report</span></h2>
<form name="id_form" action="./fetch/" id="id-form">
<h3 id="name-collection"><label for="name">Name your collection:</label></h3>
<input name="name" id="name" title="Add a meaningful title to this collection" value="<?php echo $title; ?>" />
<button name="run" type="submit" id="go-button" class="go-button">get my metrics!</button>
<input name="list" id="artifacts-list" type="hidden" value="<?php echo $artifactIdsString; ?>" />
</form>
</div>
</div>
</div>
</div><!-- END input -->
<!-- begin footer--><?php include('./footer.php') ?><!--end footer-->
</body>
</html>