Orbit/app/views/desktop/settings/connections.html.erb

46 lines
2.4 KiB
Plaintext
Raw Permalink Normal View History

2013-03-06 11:04:33 +00:00
<div id="connection_setting" class="overview vp" content-layout="simple">
<a href="" onclick="window.open('<%= @url %>','login_window','height=250,width=400,titlebar=0,statusbar=0,location=0');return false;">Connect FaceBook</a>
<a href="/facebook/get_friends" ajax-remote="get" >Get Friends</a>
<a href="/facebook/disconnect" ajax-remote="get" >Disconnect from facebook</a>
<!-- <ul class="s_form w2 hp" id="facebook_connection">
2012-05-01 10:05:17 +00:00
<li><span class="c_status">No Connection</span></li>
2012-11-08 09:01:59 +00:00
<li><img src="/assets/connection/facebook.png" alt="" class="c_icon"><h1 class="c_name">Facebook</h1></li>
2012-05-01 10:05:17 +00:00
<li><label for="">Account</label><input type="text"></li>
<li><label for="">Password</label><input type="password"></li>
<li>
<div class="s_action">
2012-05-03 06:40:54 +00:00
<a href="facebook" class="setting_btn thmc1 thmtxt hp" onclick="return false;" for="new">Connect</a>
<a href="facebook" class="setting_btn thmc1 thmtxt hp" onclick="return false;" for="delete" style="display:none;">Remove</a>
2012-05-01 10:05:17 +00:00
</div>
</li>
</ul>
2012-05-03 06:40:54 +00:00
<ul class="s_form w2 hp" id="twitter_connection">
<li><span class="c_status">No Connection</span></li>
2012-11-08 09:01:59 +00:00
<li><img src="/assets/connection/twitter.png" alt="" class="c_icon"><h1 class="c_name">Twitter</h1></li>
2012-05-01 10:05:17 +00:00
<li><label for="">Account</label><input type="text"></li>
<li><label for="">Password</label><input type="password"></li>
<li>
<div class="s_action">
2012-05-03 06:40:54 +00:00
<a href="twitter" class="setting_btn thmc1 thmtxt hp" onclick="return false;" for="new">Connect</a>
<a href="twitter" class="setting_btn thmc1 thmtxt hp" onclick="return false;" for="delete" style="display:none;">Remove</a>
2012-05-01 10:05:17 +00:00
</div>
</li>
</ul>
2012-05-03 06:40:54 +00:00
<ul class="s_form w2 hp" id="gmail_connection">
<li><span class="c_status">No Connection</span></li>
2012-11-08 09:01:59 +00:00
<li><img src="/assets/connection/gmail.png" alt="" class="c_icon"><h1 class="c_name">Gmail</h1></li>
2012-05-10 02:54:43 +00:00
<li><label for="">Account</label><input type="text"></li>
<li><label for="">Password</label><input type="password"></li>
2012-05-01 10:05:17 +00:00
<li>
<div class="s_action">
2012-05-03 06:40:54 +00:00
<a href="gmail" class="setting_btn thmc1 thmtxt hp" onclick="return false;" for="new">Connect</a>
<a href="gmail" class="setting_btn thmc1 thmtxt hp" onclick="return false;" for="delete" style="display:none;">Remove</a>
2012-05-01 10:05:17 +00:00
</div>
</li>
</ul> -->
</div>
<!-- <div style="z-index:999;position:relative;"><button onclick="o.tempFunc()">Twitter</button> -->
2013-03-06 11:04:33 +00:00