-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcontent-link.html
More file actions
380 lines (305 loc) · 18.7 KB
/
content-link.html
File metadata and controls
380 lines (305 loc) · 18.7 KB
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Hesburgh Libraries · Guides Handbook</title>
<link rel="apple-touch-icon" sizes="57x57" href="favicons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="favicons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="favicons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="favicons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="favicons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="favicons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="favicons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="favicons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="favicons/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="favicons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="favicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicons/favicon-16x16.png">
<link rel="manifest" href="favicons/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="favicons/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.2/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- <link href="http://fonts.googleapis.com/css?family=Roboto:300,400,500&subset=latin,cyrillic" rel="stylesheet" type="text/css"> -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,600,700" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
</head>
<body data-spy="scroll" data-target="#myScrollspy" data-offset="15">
<!-- header ----------------------------->
<div class="brand-bar container-fluid">
<div class="container-fluid">
<div class="row">
<div class="hidden-xs col-sm-6 col-md-6 col-lg-6">
<a href="http://www.nd.edu">University <i>of</i> Notre Dame</a>
</div>
<div class="text-center col-xs-12 hidden-sm hidden-md hidden-lg hidden-xl">
<a href="http://www.nd.edu">University <i>of</i> Notre Dame</a>
</div>
<div class="hidden-xs col-sm-6 col-md-6 col-lg-6 text-right">
<a href="https://provost.nd.edu/">Office <i>of the</i> Provost</a>
</div>
<div class="text-center col-xs-12 hidden-sm hidden-md hidden-lg hidden-xl text-center">
<a class="brand-bar-bottom-padded" href="https://provost.nd.edu/">Office <i>of the</i> Provost</a>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div class="row" id="nd-libguides-header-pattern">
<div class="hidden-xs col-sm-6 col-md-6 col-lg-6">
<h1 id="hesburgh-libraries"><a href="http://library.nd.edu" target="_blank">HESBURGH <span style="color:#F8E999;">LIBRARIES</span></a></h1>
</div>
<div class="hidden-xs col-sm-6 col-md-6 col-lg-6">
<h1 style="opacity:.6;text-align:right;">Guides Handbook</h1>
</div>
<div class="col-xs-12 text-center hidden-sm hidden-md hidden-lg">
<h1><a href="http://library.nd.edu" target="_blank">HESBURGH <span style="color:#F8E999;margin-bottom:10px;">LIBRARIES</span></a></h1>
</div>
<div class="col-xs-12 text-center hidden-sm hidden-md hidden-lg">
<h1 style="opacity:.6;text-align:center;">Guides Handbook</h1>
</div>
</div>
</div>
<!-- header closes ----------------------------->
<!-- Main Content ----------------------------->
<div class="container" id="main-container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 text-right">
<a class="btn btn-default help-button" href="https://nd.libapps.com/libapps/login.php" role="button" target="_blank"><i class="fa fa-lock fa-spacer-right" aria-hidden="true"></i> LibGuides Login</a>
<a class="btn btn-default help-button" href="http://libguides.library.nd.edu/reusable-assets" role="button" target="_blank"><i class="fa fa-list-alt fa-spacer-right" aria-hidden="true"></i>Reusable Assets</a>
</div>
</div>
<div class="page-header">
<div w3-include-html="navmenu.html"></div>
</div>
<!-- page header closes -->
<div id="masthead">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Links</h1>
<p class="lead">System-wide links should be unique and have a succinct description and link directly to their target.</p>
</div>
</div>
</div>
<!--/container-->
</div>
<!--/masthead-->
<div class="container">
<div class="row">
<!--left column-->
<div class="col-md-3 hidden-xs hidden-sm" id="leftCol">
<ul class="nav nav-stacked" id="sidebar">
<li><a href="#sec0">System-wide Link</a></li>
<li><a href="#sec1">Requirements</a></li>
<li><a href="#" class="back-to-top"><i class="fa fa-arrow-circle-o-up"></i> Back to top</a></li>
</ul>
</div>
<!--right column-->
<div class="col-md-9" id="rightCol">
<h2 id="sec0">System-wide Link</h2>
<p>Adding a System-wide Link through the <a role='button' class='btn btn-xs btn-default' target='_blank' href='' target='blank'><i class="fa fa-cog fa-spacer-right" aria-hidden="true"></i>Add / Reorder <i class="fa fa-caret-down" aria-hidden="true"></i></a> dropdown is preferred over adding links inside a Rich Text Box, unless necessary or appropriate (e.g., links inside a table). However, there are <a href="feature-text.html#sec2">pros and cons to both methods</a>.
When adding a System-wide Link, you must provide most of the information, including the target URL and the description.</p>
<div class="example" id="simple-example-book">
<img src="img/link-example.png" alt="example of database" class="img img-responsive">
</div>
<!-- NOTE: This panel code exists on the feature-text.html page also -->
<div class='panel-group push-down' id='accordion' role='tablist' aria-multiselectable='true'>
<div class='panel panel-default'>
<div class='panel-heading' role='tab' id='heading0'>
<h5 class='panel-title'><a role='button' data-toggle='collapse' data-parent='#accordion' href='#collapse1' aria-expanded='true' aria-controls='collapse1'><i class="fa fa-exclamation-triangle fa-spacer-right" aria-hidden="true"></i>System-wide Links - vs - Links in Rich Text Boxes</a></h5></div>
<div id='collapse1' class='panel-collapse collapse' role='tabpanel' aria-labelledby='heading1'>
<div class='panel-body'>
<p>There are 2 distinct ways to add links in guides. The difference is important.</p>
<table class='table table-bordered table-striped'>
<thead>
<tr>
<th style='width: 25%;'>Link Added...</th>
<th style='width: 30%;'>Type of Link</th>
<th style='width: 45%;'>Note</th>
</tr>
</thead>
<tbody>
<tr>
<td>As System Components</td>
<td>
<p><strong>Use for:</strong></p>
<ul style="margin-left: -20px;">
<li><a href="content-book.html">Books</a></li>
<li><a href="content-database.html">Databases</a></li>
<li><a href="content-document.html">Documents (pdfs)</a></li>
<li><a href="content-book.html">Auto-generated lists of guides</a></li>
</ul>
</td>
<td>
<div class='alert alert-success' role='alert'>
<p><i class='glyphicon glyphicon-thumbs-up fa-spacer-right' aria-hidden='true'></i>The LMT regularly uses the System-wide Link-checker to find and repair broken links for system components. </p>
</div>
<div class='alert alert-danger' role='alert'><p><i class="glyphicon glyphicon-thumbs-down fa-spacer-right" aria-hidden="true"></i>System-wide Links such as databases and books take up the entire content box and cannot be put into columns.</p></div>
</td>
</tr>
<tr>
<td>Into Rich Text Boxes</td>
<td>
<p><strong>Use for: </strong></p>
<ul style="margin-left: -20px;">
<li><a href="feature-text.html#sec2">In-text Links</a></li>
<li><a href="feature-button.html">Buttons</a></li>
<li><a href="feature-icon.html">Icons</a></li>
<li><a href="feature-list.html">Lists</a></li>
<li><a href="feature-table.html">Tables</a></li>
</ul>
</td>
<td>
<div class='alert alert-success' role='alert'>
<p><i class='glyphicon glyphicon-thumbs-up fa-spacer-right' aria-hidden='true'></i>Far more link types available than simple System-wide Links.</p>
</div>
<div class='alert alert-danger' role='alert'>
<p><i class='glyphicon glyphicon-thumbs-down fa-spacer-right' aria-hidden='true'></i>No easy way to find broken links within Rich Text boxes. Onus on the guide author to ensure all links work.</p>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- panel group -->
<h2 id="sec1">Requirements</h2>
<p>Follow these steps to ensure the minimum requirements when adding your System-wide Link.</p>
<div class='alert alert-warning' role='alert'>
<p><i class='fa fa-exclamation-triangle fa-spacer-right' aria-hidden='true'></i><strong class='capitalized'>Links vs Databases</strong><br/>Never use a system-wide link to recreate a database entry. You may determine if your intended link
is already a database entry by searching for the name as you add a Database. If the name doesn't exist, you must add the entry as a link.</p>
</div>
<div class="panel panel-default">
<!-- Default panel contents -->
<div class="panel-heading">
<h5 class="panel-title">System-wide Link </h5>
</div>
<div class="panel-body">
<div class="row">
<!-- here -->
<div class="col-sm-5">
<h5>Determine if the Link Exists</h5>
<p><em>Before adding a link, first determine if the link has already been created. Never use a system-wide link to recreate a database entry.</em></p>
<table class='table numbered-steps'>
<thead></thead>
<tbody>
<tr>
<td style='width:45px'>1</td>
<td>Click on the <a role='button' class='btn btn-xs btn-default' target='_blank' href='' target='blank'><i class="fa fa-cog fa-spacer-right" aria-hidden="true"></i>Add / Reorder <i class="fa fa-caret-down" aria-hidden="true"></i></a> dropdown to open the <code>Add Link</code> window.</td>
</tr>
<tr>
<td>2</td>
<td>Select the <code>Reuse Existing Link</code> tab.</td>
</tr>
<tr>
<td>3</td>
<td>Begin typing the name of the link in the auto-complete dropdown. If the link exists, it will appear in the search results.</td>
</tr>
</tbody>
</table>
<h5>Create/Edit a Link</h5>
<p><em>If the link does not exist—and is not already a database—you must create a new link.</em></p>
<table class='table numbered-steps'>
<thead></thead>
<tbody>
<tr>
<td style='width:45px'>4</td>
<td>Type / Edit the <code>Link Name</code>.</td>
</tr>
<tr>
<td>5</td>
<td>Type / Edit the <code>Link URL</code>.</td>
</tr>
<tr>
<td>6</td>
<td>Add / Edit the <code>Description</code>.</td>
</tr>
<tr>
<td>7</td>
<td>Select the <code>Display beneath item title</code> radio button.</td>
</tr>
<tr>
<td>8</td>
<td>Click <strong>Save</strong>.</td>
</tr>
</tbody>
</table>
</div>
<div class="col-sm-7">
<div class='panel panel-default'>
<div class='panel-body' style='background:#FFFFFF'><img class='img img-responsive center-block' src='img/reuse-existing-link.png' alt='screen capture of reusing an existing box' /></div>
<div class='panel-footer' style='font-size: 15px;'>
<p><strong>Steps 1-3</strong></p>
</div>
</div>
<div class='panel panel-default'>
<div class='panel-body' style='background:#FFFFFF'><img class='img img-responsive center-block' src='img/create-new-link.png' alt='screen capture of creating new link' /></div>
<div class='panel-footer' style='font-size: 15px;'>
<p><strong>Steps 4-8</strong></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--/right-->
</div>
<!--/row-->
</div>
<!--/container-->
</div>
<!-- .container -->
<!-- Main Content closes ----------------------------->
<!-- Footer ----------------------------->
<div id="handbook-footer">
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 col-sm-6">
<i class="fa fa-copyright" aria-hidden="true"></i><span id="thisYear"></span> University of Notre Dame
</div>
<div class="col-xs-12 col-sm-6">
<p class="text-right"><a href="https://github.com/randal-sean-harrison/handbook" target="_blank"><i class="fa fa-github fa-spacer-right" aria-hidden="true"></i>randal-sean-harrison/handbook</a></p>
</div>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="js/jquery-3.2.1.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<!-- Include for the Back to top button -->
<script src="js/back-to-top.js"></script>
<!-- Scrollspy / affix js -->
<script src="js/scripts.js"></script>
<!-- html include script -->
<script src="https://www.w3schools.com/lib/w3data.js"></script>
<script>
w3IncludeHTML();
</script>
<!-- clipboard.js include -->
<script src="js/clipboard.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
// Add the active classes to the nav menu
$(".navcontent").addClass("active");
$(".navlink").addClass("active");
});
</script>
<!-- add the active class to the correct tab and submenu element -->
</body>
</html>