Disabled the internship header edit button because I cannot figure out what I was intending to do with it; Moved the page editor's save button to the upper right corner of the page (may want to move it over the bottom right corner of the screen instead?); Changed the position of the logout icon slightly and gave it a tool tip.

This commit is contained in:
Wynne Crisman
2019-01-06 10:43:33 -08:00
parent 3fc374eda3
commit 0593c2421a
10 changed files with 22 additions and 19 deletions

View File

@@ -1,7 +1,7 @@
<template name="InternshipEditor">
<div id="internshipEditor">
<div class="internshipNavigation">
<div class="addInternship"><input type="text" name="newInternshipName" class="newInternshipName form-control"/><i class="fa fa-plus-circle createInternship noselect clickable" aria-hidden="true"></i></div><span class="editPageText noselect clickable"><i class="fa fa-pencil" aria-hidden="true"></i><br/>Header</span>
<div class="addInternship"><input type="text" name="newInternshipName" class="newInternshipName form-control"/><i class="fa fa-plus-circle createInternship noselect clickable" aria-hidden="true"></i></div><!--<span class="editPageText noselect clickable"><i class="fa fa-pencil" aria-hidden="true"></i><br/>Header</span>-->
<ul class="internshipList">
{{#each internships}}

View File

@@ -37,7 +37,7 @@ Template.InternshipEditor.events({
Session.set(PREFIX + "selectedInternship", Meteor.collections.Internship.findOne($li.data('id')));
},
'click .editPageText': function(event,template) {
//
},
"keyup input[name='newInternshipName']" : function(event, template) {
if(event.keyCode === 13) {

View File

@@ -6,8 +6,7 @@
</div>
{{/if}}
<h1>{{editorName}} Editor</h1>
<div><button id="save">Save</button><h1>{{editorName}} Editor</h1></div>
<div class="editor"></div>
<button id="save">Save</button>
</div>
</template>

View File

@@ -1,6 +1,14 @@
#boardEditor
#pageEditor
display: block
.ck.ck-editor__editable_inline
border-color: rgba(0,0,0,.2)
.ck.ck-editor__editable_inline.ck-focused
border-color: rgba(0,0,0,1)
border-color: rgba(0,0,0,1)
h1
display: inline-block
button#save
float: right
padding: 6px 10px
font-size: 16px
font-weight: 800
cursor: pointer

View File

@@ -5,7 +5,7 @@
<a href="javascript:" class="fa fa-bars leftSidebarMenuButton generalMenuButton" aria-hidden="true"></a>
<div class="leftSidebar">
<div class="logoArea">
<i class="fa fa-sign-out fa-2x signOut" aria-hidden="true"></i>
<i class="fa fa-sign-out fa-2x signOut" aria-hidden="true" title="Log Out"></i>
<div class="logo"><img src="/images/logo_v1.png" height="60px"/></div>
</div>
<div class="menuArea generalMenu">

View File

@@ -103,7 +103,7 @@
.signOut
position: absolute
left: 10px
top: 10px
top: 70px
color: white
cursor: pointer
.signOut:hover