-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
475 additions
and
383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
@extends ('layouts.snac_layout') | ||
|
||
@section ('content') | ||
@if (session('status')) | ||
<div class="alert alert-success"> | ||
{{ session('status') }} | ||
</div> | ||
@endif | ||
@section('content') | ||
@if (session('status')) | ||
<div class="alert alert-success"> | ||
{{ session('status') }} | ||
</div> | ||
@endif | ||
<h1>Vocabulary</h1> | ||
|
||
<ol class="breadcrumb"> | ||
<li><a href="{{env('APP_URL')}}/concepts/search_page">Concepts Search</a></li> | ||
<li><a href="{{ env('APP_URL') }}/concepts/search_page">Concepts Search</a></li> | ||
<!-- <li>{\{data.response.concepts[0].term}}</li> --> | ||
</ol> | ||
|
||
{{-- @if (false) #(permissions.EditResources) | ||
{{-- @if (false) #(permissions.EditResources) | ||
@endif | ||
@if ($isVocabularyEditor) | ||
@endif --}} | ||
|
||
@auth | ||
@auth | ||
<div class="text-center"> | ||
{{-- <a href="{{ env('SNAC_URL') }}/vocab_administrator/add_concept" class="btn btn-success"> --}} | ||
<a href="{{ env('APP_URL') }}/concepts/create" class="btn btn-success"> | ||
<i class="fa fa-fw fa-plus"></i> Add New Concept | ||
</a> | ||
</div> | ||
|
||
@endauth | ||
@endauth | ||
|
||
|
||
<concept-search></concept-search> | ||
@endsection | ||
<concept-search></concept-search> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
@extends('layouts.app') | ||
|
||
@section('content') | ||
<div class="container"> | ||
<div class="row justify-content-center"> | ||
<div class="col-md-8"> | ||
<div class="card"> | ||
<div class="card-header">{{ __('Dashboard') }}</div> | ||
<div class="container"> | ||
<div class="row justify-content-center"> | ||
<div class="col-md-8"> | ||
<div class="card"> | ||
<div class="card-header">{{ __('Dashboard') }}</div> | ||
|
||
<div class="card-body"> | ||
@if (session('status')) | ||
<div class="alert alert-success" role="alert"> | ||
{{ session('status') }} | ||
</div> | ||
@endif | ||
<div class="card-body"> | ||
@if (session('status')) | ||
<div class="alert alert-success" role="alert"> | ||
{{ session('status') }} | ||
</div> | ||
@endif | ||
|
||
{{ __('You are logged in!') }} | ||
{{ __('You are logged in!') }} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,46 @@ | ||
<script> | ||
function setCookie(name,value,days) { | ||
function setCookie(name, value, days) { | ||
var expires = ""; | ||
if (days) { | ||
var date = new Date(); | ||
date.setTime(date.getTime() + (days*24*60*60*1000)); | ||
date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); | ||
expires = "; expires=" + date.toUTCString(); | ||
} | ||
document.cookie = name + "=" + (value || "") + expires + "; path=/"; | ||
document.cookie = name + "=" + (value || "") + expires + "; path=/"; | ||
} | ||
function getCookie(name) { | ||
var nameEQ = name + "="; | ||
var ca = document.cookie.split(";"); | ||
for(var i=0;i < ca.length;i++) { | ||
for (var i = 0; i < ca.length; i++) { | ||
var c = ca[i]; | ||
while (c.charAt(0)==" ") c = c.substring(1,c.length); | ||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); | ||
while (c.charAt(0) == " ") c = c.substring(1, c.length); | ||
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); | ||
} | ||
return null; | ||
} | ||
function eraseCookie(name) { | ||
document.cookie = name+"=; Max-Age=-99999999;"; | ||
document.cookie = name + "=; Max-Age=-99999999;"; | ||
} | ||
document.addEventListener("DOMContentLoaded", function() { | ||
if (!getCookie("acceptprivacy")) | ||
$("#privacyDisplay").show(); | ||
}); | ||
</script> | ||
<div id="privacyDisplay" style="display: none; min-height: 30px; width: 100%; position: fixed; bottom: 0px; left: 0px; padding: 10px; background: #111111; color: #ffffff; z-index: 99999;"> | ||
<div id="privacyDisplay" | ||
style="display: none; min-height: 30px; width: 100%; position: fixed; bottom: 0px; left: 0px; padding: 10px; background: #111111; color: #ffffff; z-index: 99999;"> | ||
<div class="row"> | ||
<div class="col-md-6"> | ||
We use cookies to understand how you use our site and to improve your experience. By continuing to use our site, you accept our use of cookies, <a href="https://portal.snaccooperative.org/terms_and_privacy">Privacy Policy and Terms of Use</a>. | ||
We use cookies to understand how you use our site and to improve your experience. By continuing to use | ||
our site, you accept our use of cookies, <a | ||
href="https://portal.snaccooperative.org/terms_and_privacy">Privacy Policy and Terms of Use</a>. | ||
</div> | ||
<div class="col-md-6 text-right"> | ||
<button class="btn btn-info" id="privacyAccept" onClick="setCookie('acceptprivacy', 'true', 90); $('#privacyDisplay').remove();">Accept and Continue</button> | ||
<button class="btn btn-info" id="privacyAccept" | ||
onClick="setCookie('acceptprivacy', 'true', 90); $('#privacyDisplay').remove();">Accept and | ||
Continue</button> | ||
</div> | ||
</div> | ||
</div> |
Oops, something went wrong.