aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-19 19:08:04 -0800
committerfriendica <info@friendica.com>2013-02-19 19:08:04 -0800
commitef360f0a5ce9b422642a395d1cbd62dac8dda973 (patch)
tree23557d394f5e3ad953ae982a1cda260d22184c3f /view
parent24eac8c65614a71ac1ec0ffec8bcf877c1fa0355 (diff)
downloadvolse-hubzilla-ef360f0a5ce9b422642a395d1cbd62dac8dda973.tar.gz
volse-hubzilla-ef360f0a5ce9b422642a395d1cbd62dac8dda973.tar.bz2
volse-hubzilla-ef360f0a5ce9b422642a395d1cbd62dac8dda973.zip
dang - this is almost testable. Still have to figure out the best way to deal with the profile photo. Otherwise if you're really brave you could give it a go and see what happens. The worst that could happen is that it destroys the universe. Not a big deal. More likely you could end up with a bunch of imported things that have to be cleaned up. Less likely but entirely possible is that nothing useful will happen at all and it'll white screen.
Diffstat (limited to 'view')
-rw-r--r--view/css/mod_import.css37
-rw-r--r--view/php/mod_import.php2
-rw-r--r--view/tpl/new_channel.tpl4
-rw-r--r--view/tpl/smarty3/new_channel.tpl4
4 files changed, 43 insertions, 4 deletions
diff --git a/view/css/mod_import.css b/view/css/mod_import.css
new file mode 100644
index 000000000..8b988b324
--- /dev/null
+++ b/view/css/mod_import.css
@@ -0,0 +1,37 @@
+h2 {
+ margin-left: 15%;
+ margin-top: 8%;
+}
+
+#import-channel-form {
+ font-size: 1.4em;
+ margin-left: 15%;
+ margin-top: 5%;
+ width: 50%;
+}
+
+
+
+#import-channel-form .descriptive-paragraph {
+ color: #888;
+ margin-left: 20px;
+ margin-bottom: 25px;
+}
+
+.import-label {
+ float: left;
+ width: 275px;
+}
+
+.import-input {
+ float: left;
+ width: 275px;
+ padding: 5px;
+}
+
+
+.import-field-end {
+ clear: both;
+ margin-bottom: 20px;
+}
+
diff --git a/view/php/mod_import.php b/view/php/mod_import.php
new file mode 100644
index 000000000..1ca2866bc
--- /dev/null
+++ b/view/php/mod_import.php
@@ -0,0 +1,2 @@
+<?php
+$a->page['template'] = 'full';
diff --git a/view/tpl/new_channel.tpl b/view/tpl/new_channel.tpl
index f83bc3a11..0ea764621 100644
--- a/view/tpl/new_channel.tpl
+++ b/view/tpl/new_channel.tpl
@@ -19,8 +19,8 @@
<div id="newchannel-nick-desc" class="descriptive-paragraph">$nick_desc</div>
- <input type="checkbox" name="import" id="newchannel-import" value="1" />
- <label for="newchannel-import" id="label-newchannel-import">$label_import</label>
+ <div id="newchannel-import-link" class="descriptive-paragraph" >$label_import</div>
+
<div id="newchannel-import-end" class="newchannel-field-end"></div>
<input type="submit" name="submit" id="newchannel-submit-button" value="$submit" />
diff --git a/view/tpl/smarty3/new_channel.tpl b/view/tpl/smarty3/new_channel.tpl
index c76eaf04e..a7aa44991 100644
--- a/view/tpl/smarty3/new_channel.tpl
+++ b/view/tpl/smarty3/new_channel.tpl
@@ -24,8 +24,8 @@
<div id="newchannel-nick-desc" class="descriptive-paragraph">{{$nick_desc}}</div>
- <input type="checkbox" name="import" id="newchannel-import" value="1" />
- <label for="newchannel-import" id="label-newchannel-import">{{$label_import}}</label>
+ <div id="newchannel-import-link" class="descriptive-paragraph" >{{$label_import}}</div>
+
<div id="newchannel-import-end" class="newchannel-field-end"></div>
<input type="submit" name="submit" id="newchannel-submit-button" value="{{$submit}}" />