Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 158
HTML
<script type="text/javascript">
	AJS.toInit(function(){
        
           AJS.$('h1#title-text').before('<div id="hero-banner"><div id="heading-text"><span class="bold-text">Midlands3Cities</span> Virtual PostGraduate Platform<p class="cities-heading">Nottingham <span class="lg-dots">&#183;</span> Leicester <span class="lg-dots">&#183;</span> Birmingham</span></div></div>');
            ;
        AJS.$('h1#title-text').hide(); 
        AJS.$('.page-metadata ul li').hide(); 
        AJS.$('.search-macro.search-macro-medium').appendTo('#hero-banner');
        AJS.$('.search-macro.search-macro-medium input').attr('placeholder', 'Search for anything...');
        AJS.$('#hero-banner button').append(' &nbsp;Search');
        AJS.$('#news-wrap img').each(function() {
            $(this).attr('src', 'https://s9.postimg.org/swa4nuo6n/news.png');
        })
    });
 
 
AJS.toInit(function(){

	
		//if a user is logged in
		if (!(AJS.params.remoteUser == '')){
			
			
			var name = AJS.$('.name').text();
			var firstName = name.split(" ");
			var firstName = (firstName[0]);
			AJS.$('#wrap-left-content p.intro').html('Welcome back. What do you want to do next?');
			//hide the login button 
			AJS.$('.log-btn').hide(); 
			AJS.$('#wrap-left-content p.intro').after('<div id="box-nav" class="box-nav"> <div class="box"> <a class="box-content" href="https://vpp.midlands3cities.ac.uk/display/HELP/My+Supervision+Space"> <img class="box-icon" src="https://s10.postimg.org/7vjea4l2h/logo_un.png"/> <h3>View Supervision Space</h3> </a> </div><div class="box"> <a class="box-content" href="https://vpp.midlands3cities.ac.uk/display/HELP/My+Profile"> <img class="box-icon" src="https://s9.postimg.org/8z8phu0nj/edit_user_2.png" alt=""> <h3>Edit my profile</h3></a></div><div class="box"> <a class="box-content" href="https://vpp.midlands3cities.ac.uk/display/SR/Student+Resourcespages/viewpage.action?pageId=4428192"> <img class="box-icon" src="https://s10.postimg.org/6d9owfjjd/bino_2.png"/> <h3>Student resources<<h3>View forms and guidance</h3> </a> </div></div>')
			//insert 3 buttons
		}

	
	});


</script>
 

Livesearch

HTML
<div id="wrap-left-content">
<p class="intro"> 
    The VPP (Virtual Postgraduate Platform) is a collaborative platform for the AHRC and M3C funded Midlands3Cities Doctoral Training Partnership. It is a single online space for Midlands3Cities Doctoral Researchers, Supervisors, Site Directors and Administrators. 
</p> 

</div>
<div style="clear:both; display: block"></div>
HTML
<div id="article-section">
    
    <div id="blog-section" style="clear:both;">
        <h2>News and Events</h2>
        <hr>
       
       
    </div>
</div> 
<div id="news-wrap">


Blog Posts
max4
contentexcerpts
labelsnews
Button
TextMore news
Urlhttps://vpp.midlands3cities.ac.uk/pages/viewpage.action?pageId=17475469
 

HTML
</div><!-- NEWS WRAP END --> 
 
<div id="article-section">
  
    <div id="news-section" style="clear:both;">
        <h2>Latest student blog posts</h2>
        <hr>
        
   

Blog Posts
max4
spaces@all
contentexcerpts
labels-news

 

HTML
 </div>
</div>
HTML
<div id="right-sidebar-content">
 
<a id="btn-current" class="log-btn" href="https://vpp.midlands3cities.ac.uk/Shibboleth.sso/Login?target=http%3A%2F%2Fvpp.midlands3cities.ac.uk%2Fpages%2Fviewpage.action%3FspaceKey%3DIntroduction%26title%3DWelcome%2Bto%2Bthe%2BVirtual%2BPostgraduate%2BPlatform&os_destination=%2Fdisplay%2FIntroduction%2FWelcome%2Bto%2Bthe%2BVirtual%2BPostgraduate%2BPlatform">
STUDENT LOGIN
<span class="arrow-circle"></span>
    </a>
 
<a class="btn-placements" style="margin-bottom:30px;" id="btn-current" href="https://vpp.midlands3cities.ac.uk/display/Introduction/Placements">
PLACEMENT  <br class="breakButton" style="display:none"> OPPORTUNITIES
<span class="arrow-circle"></span>
    </a>
 
    <div class="arrow-right">
       <a href="https://vpp.midlands3cities.ac.uk/display/Introduction/Student+Profiles">
           <div class="right-sidebar-one right-link">
            <h3>Student profiles</h3>
            <p>View profiles of our current students</p>
              <span class="link-arrow"></span>
        </div>
        </a>
        
    </div> 
    
    <div class="arrow-right">
        <a href="https://vpp.midlands3cities.ac.uk/display/Introduction/Partners">
        <div class="right-sidebar-one right-link">
            <h3>Partners</h3>
            <p>View profiles of our current partners</p>
            <span class="link-arrow"></span>
        </div> 
        </a>
        
    </div>
	
 </div> 


 

 
<a class="twitter-timeline" data-height="1200" data-theme="light" data-link-color="#2B7BB9" href="https://twitter.com/Midlands3Cities">Tweets by Midlands3Cities</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>