-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.php
147 lines (116 loc) · 6.19 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?php
include('header.php');
?>
<!--HOMEPAGE content (top)-->
<div id="feature-heading" class="feature-heading home-view">
<div class="inner-area">
<div class="ramp-intro">
<div class="ramp-intro-text">
The RAMP (Remixing Archival Metadata Project) editor is a web-based tool that allows users to:<br /> (1) generate enhanced authority records<br />
(2)publish the content of those records as Wikipedia pages</p>
</div>
</div>
</div>
<div class="project-title">
<div class="inner-area">
<h1><span class="titleup">R</span>emixing <span class="titleup">A</span>rchival <span class="titleup">M</span>etadata Project</h1>
</div>
</div>
</div><!--end HOMEPAGE content (top)-->
<!--APP content-->
<div class="app-content">
<div class="recordtitle-bkg">
<div class="recordtitle">
<div class="inner-area"><h2 id="record_entityName_header"></h2></div>
</div>
</div>
<div class="decoration-bar">
<div class="pure-g">
<div class="pure-u-1-4 decor1"></div>
<div class="pure-u-1-4 decor2"></div>
<div class="pure-u-1-4 decor3"></div>
<div class="pure-u-1-4 decor4"></div>
</div>
</div>
<div class="inner-area">
<div class="select-panel">
<div class="pure-g">
<div class="pure-u-2-3">
<div class="content_box" id="intro_box">
<?php
use RAMP\Util\RecordList;
use RAMP\Util\Database;
$db = Database::getInstance();
$rl = new RecordList($db);
$rl->getDropdown();
?>
</div>
<div class="import_now home-view">Can't find a record? <a href="ead_convert.php">Import it now!</a></div>
</div>
<div class="pure-u-1-3">
<div class="all_items-btn-container home-view">
<div id="view_all_items" class="pure-button viewall_button action-button"><i class="fa fa-list-ul"></i> <a href="all-items.php">All Items</a></div>
</div>
</div>
</div>
</div>
<div class="controls-panel">
<div class="pure-g">
<div class="pure-u-1 pure-u-md-2-3">
<?php include('includes/module_controls.php'); ?>
<p id="controls_panel_instructions">- Click on a process to continue -</p>
</div>
<div class="pure-u-1 pure-u-md-1-3"> </div>
</div>
</div>
<div class="actions-area">
<div class="pure-g">
<div class="pure-u-1 pure-u-lg-2-3" id="form_viewport_area">
<div id="flash_message"></div>
<div id="form_viewport">
<div id="loading_image"></div>
<?php include('includes/worldcat/worldcat.php'); ?>
<?php include('includes/viaf/viaf.php') ?>
<?php include('includes/wiki/wiki.php') ?>
<?php include('includes/wiki/wiki_dialogs.php') ?>
</div>
<?php include('includes/editor.php') ?>
</div>
<div class="pure-u-1 pure-u-lg-1-3" id="help_viewport_area">
<div id="help_viewport">
<?php include 'includes/worldcat/help.php'; ?>
<?php include 'includes/viaf/help.php'; ?>
<?php include 'includes/wiki/help.php'; ?>
</div>
</div>
</div>
</div>
</div>
</div><!--end APP content-->
<!--HOMEPAGE content (bottom)-->
<div class="homepage-content home-view">
<div class="inner-area">
<div class="homepage-content-text">
<a name="ramp-more"></a><h3>How Does RAMP Work?</h3>
<p>The RAMP editor extracts biographical and historical data from <a href="https://www.loc.gov/ead/" target="_blank">EAD</a> Finding Aids to create new authority records for persons, corporate bodies, and families associated with archival and special collections. Users can enhance those records with additional data from sources like <a href="http://viaf.org/" target="_blank">VIAF</a> and <a href="http://www.oclc.org/research/themes/data-science/identities.html" target="_blank">WorldCat Identities</a> and RAMP will transform them into wiki markup suitable for publication to the English Wikipedia. New content can then be edited and added to an existing Wikipedia page or be used to start a new one from within the RAMP editor.</p>
</div>
</div>
</div><!--end HOMEPAGE content (bottom)-->
<script src="script/external/ace/ace.js" type="text/javascript" charset="utf-8"></script>
<script>
var editor = ace.edit("editor");
editor.getSession().setMode("ace/mode/xml");
</script>
<!-- End Ace Editor -->
<!-- Select2: the jQuery Plugin for Autocomplete -->
<script type="text/javascript">
$('select').select2({
placeholder: "Select a name",
containerCssClass: 'tpx-select2-container select2-grey',
dropdownCssClass: 'tpx-select2-drop select2-blue'
});
</script>
<!-- End Select 2 -->
<?php
include('footer.php');
?>